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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x534fa4
mov eax, dword fs:[0]
push eax
sub esp, 0x19c
mov eax, dword [0x59024c]
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 - 0x108]
mov dword [ebp - 0xec], 0
push eax
call fcn.004232c0
mov ecx, eax
call fcn.00423290
mov ecx, dword [eax]
mov dword [ebp - 4], 0
call fcn.0040bce0
mov esi, dword [ebp - 0x104]
test al, al
mov dword [ebp - 4], 0xffffffff
sete byte [ebp - 0xed]
or ebx, 0xffffffff
test esi, esi
je 0x40ebd5
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x40ebd5
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x40ebd5
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
cmp byte [ebp - 0xed], 0
je 0x40ebe8
mov eax, 1
jmp 0x40fae0
lea eax, [ebp - 0x100]
push eax
call fcn.004232c0
mov ecx, eax
call fcn.00423290
mov eax, dword [ebp - 0x100]
mov dword [ebp - 4], 1
test eax, eax
je 0x40ede8
mov eax, dword [eax + 0x28]
sub eax, 0x10
push eax
call fcn.004035b0
mov esi, eax
mov dword [ebp - 0xf8], esi
lea edi, [esi + 0x10]
mov dword [ebp - 0x10c], edi
mov eax, dword [ebp - 0x100]
push 0
mov byte [ebp - 4], 2
push dword [eax + 0x18]
lea eax, [ebp - 0xdc]
push eax
call fcn.004d8010
add esp, 0x10
push 4
push str..lnk
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 3
call fcn.00411890
mov eax, dword [ebp - 0x100]
push 0
push dword [eax + 0x18]
lea eax, [ebp - 0xe4]
push eax
call fcn.004d8010
add esp, 0xc
push 4
push str..url
lea ecx, [ebp - 0xe4]
mov byte [ebp - 4], 4
call fcn.00411890
mov edx, dword [ebp - 0xdc]
cmp dword [edx - 4], 1
jle 0x40ecb1
push dword [edx - 0xc]
lea ecx, [ebp - 0xdc]
call fcn.00403620
mov edx, dword [ebp - 0xdc]
sub esp, 0x18
xor ecx, ecx
mov eax, esp
mov dword [ebp - 0xe0], eax
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0xd8], eax
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40ece0
sub ecx, dword [ebp - 0xd8]
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0xe0]
push edx
call fcn.0040c8a0
lea eax, [ebp - 0xd4]
push eax
call fcn.0043c2e0
add esp, 0x1c
mov ecx, edi
mov byte [ebp - 4], 5
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40ed20
sub ecx, edx
lea eax, [ebp - 0xd4]
mov edx, dword [ebp - 0xc4]
sar ecx, 1
cmp dword [ebp - 0xc0], 8
cmovae eax, dword [ebp - 0xd4]
cmp edx, ecx
jne 0x40edf8
mov ecx, edi
test edx, edx
je 0x40ed7b
sub eax, edi
mov dword [ebp - 0xd8], eax
nop
mov ax, word [eax + ecx]
cmp ax, word [ecx]
jne 0x40edf8
mov eax, dword [ebp - 0xd8]
add ecx, 2
sub edx, 1
jne 0x40ed60
lea ecx, [ebp - 0xd4]
mov dword [ebp - 0xec], 1
call fcn.00408cf0
mov edx, dword [ebp - 0xe4]
mov eax, ebx
mov byte [ebp - 4], 3
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40edb1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xdc]
mov eax, ebx
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40edd2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x40ede8
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x100]
call fcn.00408e70
jmp 0x40fada
push dword [ebp - 0xdc]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call esi
test eax, eax
je 0x40f0e3
push dword [ebp - 0xdc]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.00454720
mov ecx, eax
push 0
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x40f0e3
mov eax, dword [ebp - 0xdc]
lea ecx, [ebp - 0xa4]
push 0x60
push str.d:jenkins.jenkinsworkspaceweiduangamemicrogamemicrogamebox_srcmicrogameboxinst_helper.cc
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0xf
mov byte [ebp - 0xa4], 0
call fcn.0040c7b0
push 3
push 0x5491fc
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 6
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], 0
call fcn.0040c7b0
mov byte [ebp - 4], 7
call fcn.00454720
push 1
push 2
lea ecx, [ebp - 0x1a8]
mov dword [ebp - 0xf4], eax
call fcn.00407ad0
push 0xffffffffffffffff
push 0x548e38
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 8
call fcn.0040d1b0
push 0xffffffffffffffff
push 0x548e3c
lea ecx, [ebp - 0xa4]
mov dword [ebp - 0xe0], eax
call fcn.0040d1b0
push 0x64
mov dword [ebp - 0xd8], eax
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.004ee390
mov ecx, dword [ebp - 0xd8]
add esp, 0xc
cmp ecx, 0xffffffff
je 0x40efbf
mov edx, dword [ebp - 0xe0]
lea eax, [ecx - 1]
cmp edx, eax
jae 0x40efbf
lea eax, [edx + 1]
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0xa8], 0xf
mov byte [ebp - 0xbc], 0
cmp eax, dword [ebp - 0xd8]
jb 0x40fafc
sub eax, dword [ebp - 0xd8]
sub ecx, edx
dec ecx
cmp eax, ecx
cmovb ecx, eax
cmp dword [ebp - 0x90], 0x10
lea eax, [ebp - 0xa4]
cmovae eax, dword [ebp - 0xa4]
add eax, dword [ebp - 0xd8]
push ecx
push eax
lea ecx, [ebp - 0xbc]
call fcn.0040c7b0
cmp dword [ebp - 0xa8], 0x10
lea eax, [ebp - 0xbc]
cmovae eax, dword [ebp - 0xbc]
push eax
push 0x240
lea eax, [ebp - 0x74]
push str.__4d___s_
push eax
call fcn.004076b0
add esp, 0x10
lea ecx, [ebp - 0xbc]
call fcn.00408ca0
jmp 0x40efd5
push 0x240
lea eax, [ebp - 0x74]
push str.__4d_
push eax
call fcn.004076b0
add esp, 0xc
cmp dword [ebp - 0x78], 0x10
lea eax, [ebp - 0x8c]
cmovae eax, dword [ebp - 0x8c]
push eax
lea eax, [ebp - 0x1a8]
push eax
call fcn.004095f0
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x1a8]
push eax
call fcn.004095f0
lea eax, [ebp - 0x1a8]
mov byte [ebp - 4], 9
push str.InstallHelper::AddDeskIcon_delete_desk_lnk:
push eax
call fcn.004095f0
mov ecx, dword [ebp - 0xe8]
mov eax, 0x548e28
test ecx, ecx
cmovne eax, ecx
push eax
lea eax, [ebp - 0x1a8]
push eax
call fcn.00407180
mov ecx, dword [ebp - 0xf4]
lea edx, [ebp - 0x1a8]
add esp, 0x20
mov eax, dword [ecx]
push edx
call dword [eax + 0x1c]
lea ecx, [ebp - 0x1a8]
call fcn.00409720
mov edx, dword [ebp - 0x78]
mov byte [ebp - 4], 6
cmp edx, 0x10
jb 0x40f090
mov ecx, dword [ebp - 0x8c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f086
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fb01
push edx
push ecx
call fcn.00448d6e
add esp, 8
mov edx, dword [ebp - 0x90]
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], 0
mov byte [ebp - 4], 5
cmp edx, 0x10
jb 0x40f0e3
mov ecx, dword [ebp - 0xa4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f0d9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fb06
push edx
push ecx
call fcn.00448d6e
add esp, 8
push dword [ebp - 0xe4]
call esi
test eax, eax
je 0x40f3b1
push dword [ebp - 0xe4]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.00454720
mov ecx, eax
push 0
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x40f3b1
mov eax, dword [ebp - 0xe4]
lea ecx, [ebp - 0x8c]
push 0x60
push str.d:jenkins.jenkinsworkspaceweiduangamemicrogamemicrogamebox_srcmicrogameboxinst_helper.cc
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], 0
call fcn.0040c7b0
push 3
push 0x5491fc
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0xf
mov byte [ebp - 0xa4], 0
call fcn.0040c7b0
mov byte [ebp - 4], 0xb
call fcn.00454720
push 1
push 2
lea ecx, [ebp - 0x1a8]
mov dword [ebp - 0xe8], eax
call fcn.00407ad0
push 0xffffffffffffffff
push 0x548e38
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0xc
call fcn.0040d1b0
push 0xffffffffffffffff
push 0x548e3c
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0xd8], eax
call fcn.0040d1b0
push 0x64
mov esi, eax
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.004ee390
add esp, 0xc
cmp esi, 0xffffffff
je 0x40f284
mov ecx, dword [ebp - 0xd8]
lea eax, [esi - 1]
cmp ecx, eax
jae 0x40f284
mov eax, dword [ebp - 0x7c]
lea edx, [ecx + 1]
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0xf
mov byte [ebp - 0xbc], 0
cmp eax, edx
jb 0x40fb0b
sub esi, ecx
sub eax, edx
lea ecx, [esi - 1]
cmp eax, ecx
cmovb ecx, eax
cmp dword [ebp - 0x78], 0x10
lea eax, [ebp - 0x8c]
cmovae eax, dword [ebp - 0x8c]
push ecx
add eax, edx
lea ecx, [ebp - 0xbc]
push eax
call fcn.0040c7b0
cmp dword [ebp - 0xa8], 0x10
lea eax, [ebp - 0xbc]
cmovae eax, dword [ebp - 0xbc]
push eax
push 0x246
lea eax, [ebp - 0x74]
push str.__4d___s_
push eax
call fcn.004076b0
add esp, 0x10
lea ecx, [ebp - 0xbc]
call fcn.00408ca0
jmp 0x40f29a
push 0x246
lea eax, [ebp - 0x74]
push str.__4d_
push eax
call fcn.004076b0
add esp, 0xc
cmp dword [ebp - 0x90], 0x10
lea eax, [ebp - 0xa4]
cmovae eax, dword [ebp - 0xa4]
push eax
lea eax, [ebp - 0x1a8]
push eax
call fcn.004095f0
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x1a8]
push eax
call fcn.004095f0
lea eax, [ebp - 0x1a8]
mov byte [ebp - 4], 0xd
push str.InstallHelper::AddDeskIcon_delete_desk_lnk:
push eax
call fcn.004095f0
mov eax, dword [ebp - 0xe0]
mov ecx, 0x548e28
test eax, eax
cmovne ecx, eax
lea eax, [ebp - 0x1a8]
push ecx
push eax
call fcn.00407180
mov ecx, dword [ebp - 0xe8]
lea edx, [ebp - 0x1a8]
add esp, 0x20
mov eax, dword [ecx]
push edx
call dword [eax + 0x1c]
lea ecx, [ebp - 0x1a8]
call fcn.00409720
mov edx, dword [ebp - 0x90]
mov byte [ebp - 4], 0xa
cmp edx, 0x10
jb 0x40f35b
mov ecx, dword [ebp - 0xa4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f351
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fb10
push edx
push ecx
call fcn.00448d6e
add esp, 8
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0xf
mov byte [ebp - 0xa4], 0
mov byte [ebp - 4], 5
cmp edx, 0x10
jb 0x40f3b1
mov ecx, dword [ebp - 0x8c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f3a7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fb15
push edx
push ecx
call fcn.00448d6e
add esp, 8
mov eax, dword [ebp - 0x100]
mov eax, dword [eax + 0x54]
sub eax, 0x10
push eax
call fcn.004035b0
add esp, 4
lea esi, [eax + 0x10]
mov dword [ebp - 0x110], esi
cmp dword [esi - 0xc], 0
mov byte [ebp - 4], 0xe
jne 0x40f471
mov byte [ebp - 4], 5
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x40f3f8
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0xd4]
call fcn.00408cf0
mov edx, dword [ebp - 0xe4]
mov eax, ebx
mov byte [ebp - 4], 3
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40f424
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xdc]
mov eax, ebx
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40f445
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xf8]
mov byte [ebp - 4], 1
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x40f461
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x100]
call fcn.00408e70
jmp 0x40fada
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40f3dd
call fcn.004037c0
mov ecx, eax
test ecx, ecx
je 0x40fb1a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xf4], eax
push str.__fromdesk_icon
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 0xf
call fcn.00403470
test al, al
jne 0x40f4c7
push 0x10
push str.__fromdesk_icon
lea ecx, [ebp - 0xf4]
call fcn.00403cb0
mov eax, dword [ebp - 0x100]
mov byte [ebp - 4], 0x10
mov eax, dword [eax + 0x30]
sub eax, 0x10
push eax
call fcn.004035b0
add esp, 4
lea edi, [eax + 0x10]
mov dword [ebp - 0x104], edi
push edi
mov byte [ebp - 4], 0x11
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40f53d
mov byte [ebp - 4], 0x10
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x40f513
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xf4]
mov eax, ebx
mov byte [ebp - 4], 0xe
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40f3dd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x40f3dd
mov eax, dword [ebp - 0xf8]
push 0
push edi
push dword [ebp - 0xdc]
add eax, 0x10
push dword [ebp - 0xf4]
push eax
push esi
call fcn.00412130
add esp, 0x18
test eax, eax
jne 0x40f805
call fcn.00454720
mov ecx, eax
push 2
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x40f805
push 0x60
push str.d:jenkins.jenkinsworkspaceweiduangamemicrogamemicrogamebox_srcmicrogameboxinst_helper.cc
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], al
call fcn.0040c7b0
push 3
push 0x5490cc
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0x12
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0xf
mov byte [ebp - 0xa4], 0
call fcn.0040c7b0
mov byte [ebp - 4], 0x13
call fcn.00454720
push 1
push 2
lea ecx, [ebp - 0x1a8]
mov dword [ebp - 0xe0], eax
call fcn.00407ad0
push 0xffffffffffffffff
push 0x548e38
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0x14
call fcn.0040d1b0
push 0xffffffffffffffff
push 0x548e3c
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0xd8], eax
call fcn.0040d1b0
push 0x64
mov dword [ebp - 0xec], eax
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.004ee390
mov ecx, dword [ebp - 0xec]
add esp, 0xc
cmp ecx, 0xffffffff
je 0x40f6f5
mov edx, dword [ebp - 0xd8]
lea eax, [ecx - 1]
cmp edx, eax
jae 0x40f6f5
lea eax, [edx + 1]
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0xa8], 0xf
mov byte [ebp - 0xbc], 0
cmp eax, dword [ebp - 0xec]
jb 0x40fb24
sub eax, dword [ebp - 0xec]
sub ecx, edx
dec ecx
cmp eax, ecx
cmovb ecx, eax
cmp dword [ebp - 0x78], 0x10
lea eax, [ebp - 0x8c]
cmovae eax, dword [ebp - 0x8c]
add eax, dword [ebp - 0xec]
push ecx
push eax
lea ecx, [ebp - 0xbc]
call fcn.0040c7b0
cmp dword [ebp - 0xa8], 0x10
lea eax, [ebp - 0xbc]
cmovae eax, dword [ebp - 0xbc]
push eax
push 0x25a
lea eax, [ebp - 0x74]
push str.__4d___s_
push eax
call fcn.004076b0
add esp, 0x10
lea ecx, [ebp - 0xbc]
call fcn.00408ca0
jmp 0x40f70b
push 0x25a
lea eax, [ebp - 0x74]
push str.__4d_
push eax
call fcn.004076b0
add esp, 0xc
cmp dword [ebp - 0x90], 0x10
lea eax, [ebp - 0xa4]
cmovae eax, dword [ebp - 0xa4]
push eax
lea eax, [ebp - 0x1a8]
push eax
call fcn.004095f0
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x1a8]
push eax
call fcn.004095f0
lea eax, [ebp - 0x1a8]
mov byte [ebp - 4], 0x15
push str.InstallHelper::AddDeskIcon_FAILED
push eax
call fcn.004095f0
mov ecx, dword [ebp - 0xe0]
lea edx, [ebp - 0x1a8]
add esp, 0x18
mov eax, dword [ecx]
push edx
call dword [eax + 0x1c]
lea ecx, [ebp - 0x1a8]
call fcn.00409720
mov edx, dword [ebp - 0x90]
mov byte [ebp - 4], 0x12
cmp edx, 0x10
jb 0x40f7af
mov ecx, dword [ebp - 0xa4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f7a5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fb29
push edx
push ecx
call fcn.00448d6e
add esp, 8
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0xf
mov byte [ebp - 0xa4], 0
mov byte [ebp - 4], 0x11
cmp edx, 0x10
jb 0x40f805
mov ecx, dword [ebp - 0x8c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f7fb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fb2e
push edx
push ecx
call fcn.00448d6e
add esp, 8
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.004037c0
mov ecx, eax
test ecx, ecx
je 0x40fb33
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xd8], eax
push 0x546af8
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 0x16
call fcn.00403470
test al, al
jne 0x40f871
push 0
push 0x546af8
lea ecx, [ebp - 0xd8]
call fcn.00403cb0
mov byte [ebp - 4], 0x17
call fcn.004037c0
mov ecx, eax
test ecx, ecx
je 0x40fb3d
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xe0], eax
push 0x546af8
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 0x18
call fcn.00403470
test al, al
jne 0x40f8bc
push 0
push 0x546af8
lea ecx, [ebp - 0xe0]
call fcn.00403cb0
mov byte [ebp - 4], 0x19
call fcn.004037c0
mov ecx, eax
test ecx, ecx
je 0x40fb47
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xe8], eax
push str.add_desk_icon
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 0x1a
call fcn.00403470
test al, al
jne 0x40f907
push 0xd
push str.add_desk_icon
lea ecx, [ebp - 0xe8]
call fcn.00403cb0
mov byte [ebp - 4], 0x1b
call fcn.00437b30
lea ecx, [ebp - 0xd8]
push ecx
lea ecx, [ebp - 0xe0]
mov edx, dword [eax]
push ecx
push 1
lea ecx, [ebp - 0xe8]
push ecx
mov ecx, eax
call dword [edx]
mov edx, dword [ebp - 0xe8]
mov eax, ebx
mov byte [ebp - 4], 0x19
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40f94e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xe0]
mov eax, ebx
mov byte [ebp - 4], 0x17
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40f96f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xd8]
mov eax, ebx
mov byte [ebp - 4], 0x11
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40f990
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 0xec], 1
add edi, 0xfffffff0
mov byte [ebp - 4], 0x10
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x40f9b5
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xf4]
mov eax, ebx
mov byte [ebp - 4], 0xe
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40f9d6
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 0x40f9f1
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xc0]
mov byte [ebp - 4], 4
cmp edx, 8
jb 0x40fa35
mov ecx, dword [ebp - 0xd4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40fa2b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fb51
push edx
push ecx
call fcn.00448d6e
add esp, 8
mov edx, dword [ebp - 0xe4]
xor eax, eax
mov word [ebp - 0xd4], ax
add edx, 0xfffffff0
mov dword [ebp - 0xc4], 0
mov eax, ebx
mov dword [ebp - 0xc0], 7
mov byte [ebp - 4], 3
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40fa73
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xdc]
mov eax, ebx
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40fa94
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xf8]
mov eax, ebx
mov byte [ebp - 4], 1
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40fab2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0xfc]
test esi, esi
je 0x40fada
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x40fada
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x40fada
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov eax, dword [ebp - 0xec]
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.00448d5d
mov esp, ebp
pop ebp
ret
call fcn.0040c3c0
call fcn.004f2969
call fcn.004f2969
call fcn.0040c3c0
call fcn.004f2969
call fcn.004f2969
push 0x80004005
call fcn.00403450
call fcn.0040c3c0
call fcn.004f2969
call fcn.004f2969
push 0x80004005
call fcn.00403450
push 0x80004005
call fcn.00403450
push 0x80004005
call fcn.00403450
call fcn.004f2969
int3