Function at 0x408d10
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x552bbe
mov eax, dword fs:[0]
push eax
sub esp, 0x150
mov eax, dword [0x5b327c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0xb4]
push eax
call fcn.0041f790
mov ecx, eax
call fcn.0041f760
cmp dword [ebp - 0xb4], 0
mov dword [ebp - 4], 0
jne 0x408dac
mov esi, dword [ebp - 0xb0]
test esi, esi
je 0x408d8c
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x408d8c
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x408d8c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
xor edi, edi
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004626cb
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0xa4]
push eax
call fcn.00454e40
lea eax, [ebp - 0xac]
mov byte [ebp - 4], 1
push eax
call fcn.004542e0
mov eax, dword [ebp - 0xb4]
push 0
mov byte [ebp - 4], 2
push dword [eax + 0x18]
lea eax, [ebp - 0x98]
push eax
call fcn.004fc280
add esp, 0x14
push 4
push str..lnk
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 3
call fcn.0040a600
mov eax, dword [ebp - 0xb4]
push 0
push dword [eax + 0x18]
lea eax, [ebp - 0x9c]
push eax
call fcn.004fc280
add esp, 0xc
push 4
push str..url
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 4
call fcn.0040a600
mov edx, dword [ebp - 0x98]
cmp dword [edx - 4], 1
jle 0x408e4c
push dword [edx - 0xc]
lea ecx, [ebp - 0x98]
call fcn.00410870
mov edx, dword [ebp - 0x98]
sub esp, 0x18
mov ecx, edx
mov esi, esp
xor eax, eax
lea edi, [ecx + 2]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408e70
sub ecx, edi
sar ecx, 1
push ecx
push edx
mov ecx, esi
call fcn.00418f00
lea eax, [ebp - 0x58]
push eax
call fcn.00455170
add esp, 0x1c
mov ecx, dword [ebp - 0xa4]
mov edx, ecx
mov byte [ebp - 4], 5
lea esi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x408ea3
mov eax, dword [ebp - 0x44]
lea edi, [ebp - 0x58]
mov ebx, dword [ebp - 0x58]
sub edx, esi
mov esi, dword [ebp - 0x48]
sar edx, 1
cmp eax, 8
cmovae edi, ebx
cmp esi, edx
jne 0x408ffb
test esi, esi
je 0x408eea
sub edi, ecx
mov ax, word [edi + ecx]
cmp ax, word [ecx]
jne 0x408ffb
add ecx, 2
sub esi, 1
jne 0x408ed2
mov eax, dword [ebp - 0x44]
mov byte [ebp - 4], 4
mov edi, 1
cmp eax, 8
jb 0x408f27
lea ecx, [eax*2 + 2]
mov eax, ebx
cmp ecx, 0x1000
jb 0x408f1d
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409d1d
push ecx
push ebx
call fcn.0046282d
add esp, 8
mov edx, dword [ebp - 0x9c]
xor eax, eax
or ebx, 0xffffffff
mov word [ebp - 0x58], ax
mov dword [ebp - 0x48], 0
add edx, 0xfffffff0
mov dword [ebp - 0x44], 7
mov eax, ebx
mov byte [ebp - 4], 3
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x408f5f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x98]
mov eax, ebx
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x408f80
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xac]
mov eax, ebx
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x408fa1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xa4]
mov eax, ebx
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x408fc2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0xb0]
test esi, esi
je 0x408d8e
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x408d8e
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x408d8e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
jmp 0x408d8e
push dword [ebp - 0x98]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x409163
push dword [ebp - 0x98]
call esi
call fcn.00470ad0
mov ecx, eax
push 0
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x409163
mov ebx, dword [ebp - 0x98]
lea ecx, [ebp - 0x28]
push 0x60
push str.d:jenkins.jenkinsworkspaceweiduangamemicrogamemicrogamebox_srcmicrogameboxinst_helper.cc
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
call fcn.00418e10
push 3
push 0x568ac4
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 6
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.00418e10
mov byte [ebp - 4], 7
call fcn.00470ad0
mov edi, eax
lea ecx, [ebp - 0x15c]
push 0x28e
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00404570
mov esi, eax
push str.InstallHelper::AddDeskIcon_delete_desk_lnk:
push esi
mov byte [ebp - 4], 8
call fcn.004058d0
test ebx, ebx
mov ecx, 0x568a98
cmovne ecx, ebx
push ecx
push esi
call fcn.00403250
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x15c]
call fcn.00407160
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 6
cmp edx, 0x10
jb 0x409113
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x409109
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409d22
push edx
push ecx
call fcn.0046282d
add esp, 8
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov byte [ebp - 4], 5
cmp edx, 0x10
jb 0x40915d
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x409153
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409d27
push edx
push ecx
call fcn.0046282d
add esp, 8
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [ebp - 0x9c]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call ebx
test eax, eax
je 0x4092c7
push dword [ebp - 0x9c]
call esi
call fcn.00470ad0
mov ecx, eax
push 0
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x4092c7
mov ebx, dword [ebp - 0x9c]
lea ecx, [ebp - 0x28]
push 0x60
push str.d:jenkins.jenkinsworkspaceweiduangamemicrogamemicrogamebox_srcmicrogameboxinst_helper.cc
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
call fcn.00418e10
push 3
push 0x568ac4
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 9
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.00418e10
mov byte [ebp - 4], 0xa
call fcn.00470ad0
mov edi, eax
lea ecx, [ebp - 0x15c]
push 0x294
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00404570
mov esi, eax
push str.InstallHelper::AddDeskIcon_delete_desk_lnk:
push esi
mov byte [ebp - 4], 0xb
call fcn.004058d0
test ebx, ebx
mov eax, 0x568a98
cmovne eax, ebx
push eax
push esi
call fcn.00403250
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x15c]
call fcn.00407160
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 9
cmp edx, 0x10
jb 0x409277
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40926d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409d2c
push edx
push ecx
call fcn.0046282d
add esp, 8
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov byte [ebp - 4], 5
cmp edx, 0x10
jb 0x4092c1
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4092b7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409d31
push edx
push ecx
call fcn.0046282d
add esp, 8
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov eax, dword [ebp - 0xb4]
mov eax, dword [eax + 0x54]
sub eax, 0x10
push eax
call fcn.0040ad40
add esp, 4
lea esi, [eax + 0x10]
mov dword [ebp - 0xc4], esi
cmp dword [esi - 0xc], 0
mov byte [ebp - 4], 0xc
jne 0x4093fa
or ebx, 0xffffffff
mov byte [ebp - 4], 5
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x409311
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 4
cmp edx, 8
jb 0x40934f
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x409345
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409d36
push edx
push ecx
call fcn.0046282d
add esp, 8
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov edx, dword [ebp - 0x9c]
mov eax, ebx
add edx, 0xfffffff0
mov byte [ebp - 4], 3
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x409384
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x98]
mov eax, ebx
add edx, 0xfffffff0
mov byte [ebp - 4], 2
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4093a5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xac]
mov eax, ebx
add edx, 0xfffffff0
mov byte [ebp - 4], 1
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4093c6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xa4]
mov eax, ebx
add edx, 0xfffffff0
mov byte [ebp - 4], 0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4093e7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0xb0]
test esi, esi
je 0x408d8c
jmp 0x408d6e
push dword [ebp - 0xa4]
call ebx
test eax, eax
jne 0x409431
or ebx, 0xffffffff
mov byte [ebp - 4], 5
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x409424
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x58]
call fcn.00404f80
jmp 0x409363
lea ecx, [ebp - 0xbd]
call fcn.00406780
push eax
lea ecx, [ebp - 0xbc]
call fcn.00404130
mov eax, dword [ebp - 0xb4]
mov byte [ebp - 4], 0xd
mov eax, dword [eax + 0x30]
sub eax, 0x10
push eax
call fcn.0040ad40
mov ebx, eax
add esp, 4
lea edi, [ebx + 0x10]
mov dword [ebp - 0xb8], edi
push edi
mov byte [ebp - 4], 0xe
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x409832
movaps xmm0, xmmword [0x569b00]
lea ecx, [ebp - 0x1c]
push dword [ebp - 0xb8]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x58]
movups xmmword [ebp - 0x90], xmm0
push eax
movaps xmm0, xmmword [0x569b10]
lea eax, [ebp - 0x90]
movups xmmword [ebp - 0x80], xmm0
push eax
movaps xmm0, xmmword [0x569b20]
movups xmmword [ebp - 0x70], xmm0
mov dword [ebp - 0x5c], 0x100
call fcn.00403a00
mov byte [ebp - 4], 0xf
call fcn.00412080
mov ecx, eax
test ecx, ecx
je 0x409d3b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xb4]
mov byte [ebp - 4], 0x10
push dword [eax + 0x14]
lea eax, [ebp - 0xa8]
push dword [ebp - 0xac]
push str._s_s.ico
push eax
call fcn.004109b0
mov edi, dword [ebp - 0xa8]
add esp, 0x10
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40952f
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x1c]
mov ecx, eax
cmp ecx, dword [ebp - 0x18]
je 0x409570
mov edi, eax
nop dword [eax + eax]
mov eax, dword [edi + 4]
push 0
push eax
push eax
push 1
push 0x191
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov dword [edi], eax
add edi, 8
cmp edi, dword [ebp - 0x18]
jne 0x409540
mov edi, dword [ebp - 0xa8]
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
xor edx, edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0xa0], ecx
mov dword [ebp - 0x2c], ecx
mov byte [ebp - 4], 0x11
mov dword [ebp - 0x94], eax
cmp eax, dword [ebp - 0x18]
je 0x409956
mov edi, ecx
mov esi, eax
nop word [eax + eax]
mov eax, dword [esi]
mov dword [ebp - 0x94], eax
test eax, eax
je 0x4095d0
cmp edi, ecx
je 0x4095ba
mov dword [ecx], eax
add ecx, 4
mov dword [ebp - 0x30], ecx
jmp 0x4095d0
lea eax, [ebp - 0x94]
push eax
push ecx
lea ecx, [ebp - 0x34]
call fcn.00403560
mov edi, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
add esi, 8
cmp esi, dword [ebp - 0x18]
jne 0x4095a0
mov edx, dword [ebp - 0x34]
mov esi, dword [ebp - 0xc4]
mov dword [ebp - 0xa0], edi
mov edi, dword [ebp - 0xa8]
mov dword [ebp - 0x94], edx
cmp edx, ecx
je 0x409956
sub ecx, edx
sar ecx, 2
push edi
push ecx
push edx
call fcn.00457c90
add esp, 0xc
test eax, eax
jne 0x4097c7
mov ecx, dword [ebp - 0x94]
mov byte [ebp - 4], 0x10
test ecx, ecx
je 0x40965b
mov eax, dword [ebp - 0xa0]
sub eax, ecx
sar eax, 2
lea edx, [eax*4]
mov eax, ecx
cmp edx, 0x1000
jb 0x409651
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409d45
push edx
push ecx
call fcn.0046282d
add esp, 8
lea edx, [edi - 0x10]
mov byte [ebp - 4], 0xf
or edi, 0xffffffff
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x409679
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x1c]
mov byte [ebp - 4], 0xe
test ecx, ecx
je 0x4096bb
mov eax, dword [ebp - 0x14]
sub eax, ecx
sar eax, 3
lea edx, [eax*8]
mov eax, ecx
cmp edx, 0x1000
jb 0x4096b1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409d4a
push edx
push ecx
call fcn.0046282d
add esp, 8
mov byte [ebp - 4], 0xd
mov eax, edi
lock xadd dword [ebx + 0xc], eax
dec eax
test eax, eax
jg 0x4096d3
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xbc]
mov eax, edi
mov byte [ebp - 4], 0xc
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4096f4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 5
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x40970f
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x58]
call fcn.00404f80
mov edx, dword [ebp - 0x9c]
mov eax, edi
add edx, 0xfffffff0
mov byte [ebp - 4], 3
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x409738
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x98]
mov eax, edi
add edx, 0xfffffff0
mov byte [ebp - 4], 2
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x409759
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xac]
mov eax, edi
add edx, 0xfffffff0
mov byte [ebp - 4], 1
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40977a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xa4]
mov eax, edi
add edx, 0xfffffff0
mov byte [ebp - 4], 0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40979b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0xb0]
test esi, esi
je 0x408d8c
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x408d8c
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jmp 0x408d83
mov ebx, dword [ebp - 0x1c]
nop word [eax + eax]
mov eax, dword [ebx]
test eax, eax
je 0x4097dd
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
add ebx, 8
cmp ebx, dword [ebp - 0x18]
jne 0x4097d0
mov ecx, dword [ebp - 0x94]
test ecx, ecx
je 0x409804
mov eax, dword [ebp - 0xa0]
sub eax, ecx
sar eax, 2
push eax
push ecx
lea ecx, [ebp - 0x34]
call fcn.00419090
mov byte [ebp - 4], 0xf
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x409820
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xe
call fcn.004051a0
mov edi, dword [ebp - 0xb8]
push 0
push edi
push dword [ebp - 0x98]
push dword [ebp - 0xbc]
push dword [ebp - 0xa4]
push esi
call fcn.0040b120
add esp, 0x18
test eax, eax
jne 0x40991d
call fcn.00470ad0
mov ecx, eax
push 2
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x40991d
push 0x60
push str.d:jenkins.jenkinsworkspaceweiduangamemicrogamemicrogamebox_srcmicrogameboxinst_helper.cc
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
call fcn.00418e10
push 3
push 0x568bb4
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x12
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.00418e10
mov byte [ebp - 4], 0x13
call fcn.00470ad0
mov dword [ebp - 0x94], eax
lea ecx, [ebp - 0x15c]
push 0x2d2
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00404570
mov ebx, eax
push str.InstallHelper::AddDeskIcon_FAILED
push ebx
mov byte [ebp - 4], 0x14
call fcn.004058d0
mov eax, dword [ebp - 0x94]
add esp, 8
mov ecx, eax
mov edx, dword [eax]
push ebx
call dword [edx + 0x1c]
lea ecx, [ebp - 0x15c]
call fcn.00407160
lea ecx, [ebp - 0x40]
call fcn.00404f30
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xe
call fcn.00404f30
push 0
push 0x2a
push 0x1a
push 0xffff
call dword [sym.imp.USER32.dll_PostMessageW]
push 0
push 0
push 0x1000
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
call fcn.00412080
mov ecx, eax
test ecx, ecx
je 0x409d4f
jmp 0x409aa3
mov byte [ebp - 4], 0x10
test edx, edx
je 0x409998
mov eax, dword [ebp - 0xa0]
sub eax, edx
sar eax, 2
lea ecx, [eax*4]
mov eax, edx
cmp ecx, 0x1000
jb 0x40998e
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409d59
push ecx
push edx
call fcn.0046282d
add esp, 8
lea edx, [edi - 0x10]
mov byte [ebp - 4], 0xf
or edi, 0xffffffff
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4099b6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x1c]
mov byte [ebp - 4], 0xe
test ecx, ecx
je 0x4099f8
mov eax, dword [ebp - 0x14]
sub eax, ecx
sar eax, 3
lea edx, [eax*8]
mov eax, ecx
cmp edx, 0x1000
jb 0x4099ee
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409d5e
push edx
push ecx
call fcn.0046282d
add esp, 8
mov byte [ebp - 4], 0xd
mov eax, edi
lock xadd dword [ebx + 0xc], eax
dec eax
test eax, eax
jg 0x409a10
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xbc]
mov eax, edi
mov byte [ebp - 4], 0xc
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x409a31
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 5
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x409a4c
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 4
cmp edx, 8
jb 0x409a8a
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x409a80
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409d63
push edx
push ecx
call fcn.0046282d
add esp, 8
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
jmp 0x409717
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x94], eax
push 0x566bb8
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 0x15
call fcn.0040a850
test al, al
jne 0x409adb
push 0
push 0x566bb8
lea ecx, [ebp - 0x94]
call fcn.004171c0
mov byte [ebp - 4], 0x16
call fcn.00412080
mov ecx, eax
test ecx, ecx
je 0x409d68
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xa0], eax
push 0x566bb8
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0x17
call fcn.0040a850
test al, al
jne 0x409b26
push 0
push 0x566bb8
lea ecx, [ebp - 0xa0]
call fcn.004171c0
mov byte [ebp - 4], 0x18
call fcn.00412080
mov ecx, eax
test ecx, ecx
je 0x409d72
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xa8], eax
push str.add_desk_icon
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 0x19
call fcn.0040a850
test al, al
jne 0x409b71
push 0xd
push str.add_desk_icon
lea ecx, [ebp - 0xa8]
call fcn.004171c0
mov byte [ebp - 4], 0x1a
call fcn.00450870
lea ecx, [ebp - 0x94]
push ecx
lea ecx, [ebp - 0xa0]
mov edx, dword [eax]
push ecx
push 1
lea ecx, [ebp - 0xa8]
push ecx
mov ecx, eax
call dword [edx]
mov edx, dword [ebp - 0xa8]
or ebx, 0xffffffff
mov byte [ebp - 4], 0x18
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x409bbb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xa0]
mov eax, ebx
mov byte [ebp - 4], 0x16
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x409bdc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x94]
mov eax, ebx
mov byte [ebp - 4], 0xe
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x409bfd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 0xb8], 1
add edi, 0xfffffff0
mov byte [ebp - 4], 0xd
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x409c22
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xbc]
mov eax, ebx
mov byte [ebp - 4], 0xc
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x409c43
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 5
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x409c5e
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x58]
call fcn.00404f80
mov edx, dword [ebp - 0x9c]
mov eax, ebx
mov byte [ebp - 4], 3
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x409c87
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x98]
mov eax, ebx
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x409ca8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xac]
mov eax, ebx
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x409cc9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xa4]
mov eax, ebx
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x409cea
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0xb0]
test esi, esi
je 0x409d12
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x409d12
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x409d12
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov edi, dword [ebp - 0xb8]
jmp 0x408d8e
call fcn.00510d59
call fcn.00510d59
call fcn.00510d59
call fcn.00510d59
call fcn.00510d59
call fcn.00510d59
push 0x80004005
call fcn.0040a830
call fcn.00510d59
call fcn.00510d59
push 0x80004005
call fcn.0040a830
call fcn.00510d59
call fcn.00510d59
call fcn.00510d59
push 0x80004005
call fcn.0040a830
push 0x80004005
call fcn.0040a830
int3