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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x551304
mov eax, dword fs:[0]
push eax
sub esp, 0x19c
mov eax, dword [0x5b228c]
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.0041de10
mov ecx, eax
call fcn.0041dde0
mov ecx, dword [eax]
mov dword [ebp - 4], 0
call fcn.0042e9e0
mov esi, dword [ebp - 0x104]
test al, al
mov dword [ebp - 4], 0xffffffff
sete byte [ebp - 0xed]
or ebx, 0xffffffff
test esi, esi
je 0x4063d5
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x4063d5
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x4063d5
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
cmp byte [ebp - 0xed], 0
je 0x4063e8
mov eax, 1
jmp 0x4072e0
lea eax, [ebp - 0x100]
push eax
call fcn.0041de10
mov ecx, eax
call fcn.0041dde0
mov eax, dword [ebp - 0x100]
mov dword [ebp - 4], 1
test eax, eax
je 0x4065e8
mov eax, dword [eax + 0x28]
sub eax, 0x10
push eax
call fcn.004098c0
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.004fabd0
add esp, 0x10
push 4
push str..lnk
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 3
call fcn.00409180
mov eax, dword [ebp - 0x100]
push 0
push dword [eax + 0x18]
lea eax, [ebp - 0xe4]
push eax
call fcn.004fabd0
add esp, 0xc
push 4
push str..url
lea ecx, [ebp - 0xe4]
mov byte [ebp - 4], 4
call fcn.00409180
mov edx, dword [ebp - 0xdc]
cmp dword [edx - 4], 1
jle 0x4064b1
push dword [edx - 0xc]
lea ecx, [ebp - 0xdc]
call fcn.0040f560
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 0x4064e0
sub ecx, dword [ebp - 0xd8]
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0xe0]
push edx
call fcn.00417590
lea eax, [ebp - 0xd4]
push eax
call fcn.00453610
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 0x406520
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 0x4065f8
mov ecx, edi
test edx, edx
je 0x40657b
sub eax, edi
mov dword [ebp - 0xd8], eax
nop
mov ax, word [eax + ecx]
cmp ax, word [ecx]
jne 0x4065f8
mov eax, dword [ebp - 0xd8]
add ecx, 2
sub edx, 1
jne 0x406560
lea ecx, [ebp - 0xd4]
mov dword [ebp - 0xec], 1
call fcn.00404f80
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 0x4065b1
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 0x4065d2
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 0x4065e8
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x100]
call fcn.00405100
jmp 0x4072da
push dword [ebp - 0xdc]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call esi
test eax, eax
je 0x4068e3
push dword [ebp - 0xdc]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.0046f390
mov ecx, eax
push 0
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x4068e3
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.004174a0
push 3
push 0x566acc
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.004174a0
mov byte [ebp - 4], 7
call fcn.0046f390
push 1
push 2
lea ecx, [ebp - 0x1a8]
mov dword [ebp - 0xf4], eax
call fcn.004041d0
push 0xffffffffffffffff
push 0x566ab0
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 8
call fcn.00418760
push 0xffffffffffffffff
push 0x566ab4
lea ecx, [ebp - 0xa4]
mov dword [ebp - 0xe0], eax
call fcn.00418760
push 0x64
mov dword [ebp - 0xd8], eax
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.0050b0c0
mov ecx, dword [ebp - 0xd8]
add esp, 0xc
cmp ecx, 0xffffffff
je 0x4067bf
mov edx, dword [ebp - 0xe0]
lea eax, [ecx - 1]
cmp edx, eax
jae 0x4067bf
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 0x4072fc
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.004174a0
cmp dword [ebp - 0xa8], 0x10
lea eax, [ebp - 0xbc]
cmovae eax, dword [ebp - 0xbc]
push eax
push 0x242
lea eax, [ebp - 0x74]
push str.__4d___s_
push eax
call fcn.00403c60
add esp, 0x10
lea ecx, [ebp - 0xbc]
call fcn.00404f30
jmp 0x4067d5
push 0x242
lea eax, [ebp - 0x74]
push str.__4d_
push eax
call fcn.00403c60
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.00405960
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x1a8]
push eax
call fcn.00405960
lea eax, [ebp - 0x1a8]
mov byte [ebp - 4], 9
push str.InstallHelper::AddDeskIcon_delete_desk_lnk:
push eax
call fcn.00405960
mov ecx, dword [ebp - 0xe8]
mov eax, 0x566aa0
test ecx, ecx
cmovne eax, ecx
push eax
lea eax, [ebp - 0x1a8]
push eax
call fcn.00403250
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.00405d60
mov edx, dword [ebp - 0x78]
mov byte [ebp - 4], 6
cmp edx, 0x10
jb 0x406890
mov ecx, dword [ebp - 0x8c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x406886
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407301
push edx
push ecx
call fcn.004610ef
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 0x4068e3
mov ecx, dword [ebp - 0xa4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4068d9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407306
push edx
push ecx
call fcn.004610ef
add esp, 8
push dword [ebp - 0xe4]
call esi
test eax, eax
je 0x406bb1
push dword [ebp - 0xe4]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.0046f390
mov ecx, eax
push 0
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x406bb1
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.004174a0
push 3
push 0x566acc
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.004174a0
mov byte [ebp - 4], 0xb
call fcn.0046f390
push 1
push 2
lea ecx, [ebp - 0x1a8]
mov dword [ebp - 0xe8], eax
call fcn.004041d0
push 0xffffffffffffffff
push 0x566ab0
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0xc
call fcn.00418760
push 0xffffffffffffffff
push 0x566ab4
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0xd8], eax
call fcn.00418760
push 0x64
mov esi, eax
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.0050b0c0
add esp, 0xc
cmp esi, 0xffffffff
je 0x406a84
mov ecx, dword [ebp - 0xd8]
lea eax, [esi - 1]
cmp ecx, eax
jae 0x406a84
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 0x40730b
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.004174a0
cmp dword [ebp - 0xa8], 0x10
lea eax, [ebp - 0xbc]
cmovae eax, dword [ebp - 0xbc]
push eax
push 0x248
lea eax, [ebp - 0x74]
push str.__4d___s_
push eax
call fcn.00403c60
add esp, 0x10
lea ecx, [ebp - 0xbc]
call fcn.00404f30
jmp 0x406a9a
push 0x248
lea eax, [ebp - 0x74]
push str.__4d_
push eax
call fcn.00403c60
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.00405960
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x1a8]
push eax
call fcn.00405960
lea eax, [ebp - 0x1a8]
mov byte [ebp - 4], 0xd
push str.InstallHelper::AddDeskIcon_delete_desk_lnk:
push eax
call fcn.00405960
mov eax, dword [ebp - 0xe0]
mov ecx, 0x566aa0
test eax, eax
cmovne ecx, eax
lea eax, [ebp - 0x1a8]
push ecx
push eax
call fcn.00403250
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.00405d60
mov edx, dword [ebp - 0x90]
mov byte [ebp - 4], 0xa
cmp edx, 0x10
jb 0x406b5b
mov ecx, dword [ebp - 0xa4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x406b51
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407310
push edx
push ecx
call fcn.004610ef
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 0x406bb1
mov ecx, dword [ebp - 0x8c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x406ba7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407315
push edx
push ecx
call fcn.004610ef
add esp, 8
mov eax, dword [ebp - 0x100]
mov eax, dword [eax + 0x54]
sub eax, 0x10
push eax
call fcn.004098c0
add esp, 4
lea esi, [eax + 0x10]
mov dword [ebp - 0x110], esi
cmp dword [esi - 0xc], 0
mov byte [ebp - 4], 0xe
jne 0x406c71
mov byte [ebp - 4], 5
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x406bf8
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0xd4]
call fcn.00404f80
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 0x406c24
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 0x406c45
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 0x406c61
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x100]
call fcn.00405100
jmp 0x4072da
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x406bdd
call fcn.004106d0
mov ecx, eax
test ecx, ecx
je 0x40731a
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.004093d0
test al, al
jne 0x406cc7
push 0x10
push str.__fromdesk_icon
lea ecx, [ebp - 0xf4]
call fcn.004157e0
mov eax, dword [ebp - 0x100]
mov byte [ebp - 4], 0x10
mov eax, dword [eax + 0x30]
sub eax, 0x10
push eax
call fcn.004098c0
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 0x406d3d
mov byte [ebp - 4], 0x10
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x406d13
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 0x406bdd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x406bdd
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.00409c90
add esp, 0x18
test eax, eax
jne 0x407005
call fcn.0046f390
mov ecx, eax
push 2
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x407005
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.004174a0
push 3
push 0x566bbc
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.004174a0
mov byte [ebp - 4], 0x13
call fcn.0046f390
push 1
push 2
lea ecx, [ebp - 0x1a8]
mov dword [ebp - 0xe0], eax
call fcn.004041d0
push 0xffffffffffffffff
push 0x566ab0
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0x14
call fcn.00418760
push 0xffffffffffffffff
push 0x566ab4
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0xd8], eax
call fcn.00418760
push 0x64
mov dword [ebp - 0xec], eax
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.0050b0c0
mov ecx, dword [ebp - 0xec]
add esp, 0xc
cmp ecx, 0xffffffff
je 0x406ef5
mov edx, dword [ebp - 0xd8]
lea eax, [ecx - 1]
cmp edx, eax
jae 0x406ef5
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 0x407324
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.004174a0
cmp dword [ebp - 0xa8], 0x10
lea eax, [ebp - 0xbc]
cmovae eax, dword [ebp - 0xbc]
push eax
push 0x25c
lea eax, [ebp - 0x74]
push str.__4d___s_
push eax
call fcn.00403c60
add esp, 0x10
lea ecx, [ebp - 0xbc]
call fcn.00404f30
jmp 0x406f0b
push 0x25c
lea eax, [ebp - 0x74]
push str.__4d_
push eax
call fcn.00403c60
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.00405960
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x1a8]
push eax
call fcn.00405960
lea eax, [ebp - 0x1a8]
mov byte [ebp - 4], 0x15
push str.InstallHelper::AddDeskIcon_FAILED
push eax
call fcn.00405960
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.00405d60
mov edx, dword [ebp - 0x90]
mov byte [ebp - 4], 0x12
cmp edx, 0x10
jb 0x406faf
mov ecx, dword [ebp - 0xa4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x406fa5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407329
push edx
push ecx
call fcn.004610ef
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 0x407005
mov ecx, dword [ebp - 0x8c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x406ffb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40732e
push edx
push ecx
call fcn.004610ef
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.004106d0
mov ecx, eax
test ecx, ecx
je 0x407333
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xd8], eax
push 0x564bc8
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 0x16
call fcn.004093d0
test al, al
jne 0x407071
push 0
push 0x564bc8
lea ecx, [ebp - 0xd8]
call fcn.004157e0
mov byte [ebp - 4], 0x17
call fcn.004106d0
mov ecx, eax
test ecx, ecx
je 0x40733d
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xe0], eax
push 0x564bc8
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 0x18
call fcn.004093d0
test al, al
jne 0x4070bc
push 0
push 0x564bc8
lea ecx, [ebp - 0xe0]
call fcn.004157e0
mov byte [ebp - 4], 0x19
call fcn.004106d0
mov ecx, eax
test ecx, ecx
je 0x407347
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.004093d0
test al, al
jne 0x407107
push 0xd
push str.add_desk_icon
lea ecx, [ebp - 0xe8]
call fcn.004157e0
mov byte [ebp - 4], 0x1b
call fcn.0044eec0
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 0x40714e
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 0x40716f
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 0x407190
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 0x4071b5
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 0x4071d6
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 0x4071f1
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 0x407235
mov ecx, dword [ebp - 0xd4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40722b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407351
push edx
push ecx
call fcn.004610ef
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 0x407273
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 0x407294
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 0x4072b2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0xfc]
test esi, esi
je 0x4072da
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x4072da
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x4072da
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.00460f8d
mov esp, ebp
pop ebp
ret
call fcn.00416f50
call fcn.0050f6a9
call fcn.0050f6a9
call fcn.00416f50
call fcn.0050f6a9
call fcn.0050f6a9
push 0x80004005
call fcn.004093b0
call fcn.00416f50
call fcn.0050f6a9
call fcn.0050f6a9
push 0x80004005
call fcn.004093b0
push 0x80004005
call fcn.004093b0
push 0x80004005
call fcn.004093b0
call fcn.0050f6a9
int3