Function at 0x40b2f0
Capabilities:
Check if file exists
Contain obfuscated stackstrings
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x564714
mov eax, dword fs:[0]
push eax
sub esp, 0x1a8
mov eax, dword [0x5c524c]
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 - 0x114]
mov dword [ebp - 0xf8], 0
push eax
call fcn.00425690
mov ecx, eax
call fcn.00425660
mov ecx, dword [eax]
mov dword [ebp - 4], 0
call fcn.00439280
mov esi, dword [ebp - 0x110]
test al, al
mov dword [ebp - 4], 0xffffffff
sete byte [ebp - 0xf9]
or ebx, 0xffffffff
test esi, esi
je 0x40b385
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x40b385
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x40b385
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
cmp byte [ebp - 0xf9], 0
je 0x40b398
mov eax, 1
jmp 0x40c31c
lea eax, [ebp - 0x10c]
push eax
call fcn.00425690
mov ecx, eax
call fcn.00425660
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 4], 1
test eax, eax
je 0x40b598
mov eax, dword [eax + 0x28]
sub eax, 0x10
push eax
call fcn.0040e8f0
mov esi, eax
mov dword [ebp - 0x104], esi
lea edi, [esi + 0x10]
mov dword [ebp - 0x118], edi
mov eax, dword [ebp - 0x10c]
push 0
mov byte [ebp - 4], 2
push dword [eax + 0x18]
lea eax, [ebp - 0xe8]
push eax
call fcn.0050e0b0
add esp, 0x10
push 4
push str..lnk
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 3
call fcn.0040e1b0
mov eax, dword [ebp - 0x10c]
push 0
push dword [eax + 0x18]
lea eax, [ebp - 0xf0]
push eax
call fcn.0050e0b0
add esp, 0xc
push 4
push str..url
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 4
call fcn.0040e1b0
mov edx, dword [ebp - 0xe8]
cmp dword [edx - 4], 1
jle 0x40b461
push dword [edx - 0xc]
lea ecx, [ebp - 0xe8]
call fcn.004143f0
mov edx, dword [ebp - 0xe8]
sub esp, 0x18
xor ecx, ecx
mov eax, esp
mov dword [ebp - 0xec], 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 - 0xe4], eax
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40b490
sub ecx, dword [ebp - 0xe4]
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0xec]
push edx
call fcn.0041cb00
lea eax, [ebp - 0xe0]
push eax
call fcn.00463770
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 0x40b4d0
sub ecx, edx
lea eax, [ebp - 0xe0]
mov edx, dword [ebp - 0xd0]
sar ecx, 1
cmp dword [ebp - 0xcc], 8
cmovae eax, dword [ebp - 0xe0]
cmp edx, ecx
jne 0x40b5a8
mov ecx, edi
test edx, edx
je 0x40b52b
sub eax, edi
mov dword [ebp - 0xe4], eax
nop
mov ax, word [eax + ecx]
cmp ax, word [ecx]
jne 0x40b5a8
mov eax, dword [ebp - 0xe4]
add ecx, 2
sub edx, 1
jne 0x40b510
lea ecx, [ebp - 0xe0]
mov dword [ebp - 0xf8], 1
call fcn.00407920
mov edx, dword [ebp - 0xf0]
mov eax, ebx
mov byte [ebp - 4], 3
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40b561
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xe8]
mov eax, ebx
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40b582
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 0x40b598
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x10c]
call fcn.00407aa0
jmp 0x40c316
push dword [ebp - 0xe8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x40b881
push dword [ebp - 0xe8]
call esi
call fcn.00481d20
mov ecx, eax
push 0
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x40b881
mov eax, dword [ebp - 0xe8]
lea ecx, [ebp - 0xc8]
push 0x5a
push str.d:jenkins.jenkinsworkspacemg_boxgame_boxmicrogamebox_srcmicrogameboxinst_helper.cc
mov dword [ebp - 0xec], eax
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 0xf
mov byte [ebp - 0xc8], 0
call fcn.0041ca10
push 3
push 0x579ac4
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 6
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0xf
mov byte [ebp - 0xb0], 0
call fcn.0041ca10
mov byte [ebp - 4], 7
call fcn.00481d20
push 1
push 2
lea ecx, [ebp - 0x1b4]
mov dword [ebp - 0xf4], eax
call fcn.00406b20
push 0xffffffffffffffff
push 0x579b88
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 8
call fcn.0041dd70
push 0xffffffffffffffff
push 0x579b8c
lea ecx, [ebp - 0xc8]
mov dword [ebp - 0xe4], eax
call fcn.0041dd70
push 0x64
mov esi, eax
lea eax, [ebp - 0x98]
push 0
push eax
call fcn.0051e5a0
add esp, 0xc
cmp esi, 0xffffffff
je 0x40b745
mov ecx, dword [ebp - 0xe4]
lea eax, [esi - 1]
cmp ecx, eax
jae 0x40b745
mov eax, dword [ebp - 0xb8]
lea edx, [ecx + 1]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
cmp eax, edx
jb 0x40c338
sub esi, ecx
sub eax, edx
lea ecx, [esi - 1]
cmp eax, ecx
cmovb ecx, eax
cmp dword [ebp - 0xb4], 0x10
lea eax, [ebp - 0xc8]
cmovae eax, dword [ebp - 0xc8]
push ecx
add eax, edx
lea ecx, [ebp - 0x2c]
push eax
call fcn.0041ca10
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
push 0x25b
lea eax, [ebp - 0x98]
push str.__4d___s_
push eax
call fcn.004065c0
add esp, 0x10
lea ecx, [ebp - 0x2c]
call fcn.004078d0
jmp 0x40b75e
push 0x25b
lea eax, [ebp - 0x98]
push str.__4d_
push eax
call fcn.004065c0
add esp, 0xc
cmp dword [ebp - 0x9c], 0x10
lea eax, [ebp - 0xb0]
cmovae eax, dword [ebp - 0xb0]
push eax
lea eax, [ebp - 0x1b4]
push eax
call fcn.004081f0
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x1b4]
push eax
call fcn.004081f0
lea eax, [ebp - 0x1b4]
mov byte [ebp - 4], 9
push str.MicroInstaller::AddDeskIcon_delete_desk_lnk:
push eax
call fcn.004081f0
mov ecx, dword [ebp - 0xec]
mov eax, 0x579b78
test ecx, ecx
cmovne eax, ecx
push eax
lea eax, [ebp - 0x1b4]
push eax
call fcn.00405440
mov ecx, dword [ebp - 0xf4]
lea edx, [ebp - 0x1b4]
add esp, 0x20
mov eax, dword [ecx]
push edx
call dword [eax + 0x1c]
lea ecx, [ebp - 0x1b4]
call fcn.0040ad10
mov edx, dword [ebp - 0x9c]
mov byte [ebp - 4], 6
cmp edx, 0x10
jb 0x40b822
mov ecx, dword [ebp - 0xb0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40b818
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c33d
push edx
push ecx
call fcn.004729bf
add esp, 8
mov edx, dword [ebp - 0xb4]
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0xf
mov byte [ebp - 0xb0], 0
mov byte [ebp - 4], 5
cmp edx, 0x10
jb 0x40b87b
mov ecx, dword [ebp - 0xc8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40b871
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c342
push edx
push ecx
call fcn.004729bf
add esp, 8
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [ebp - 0xf0]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40bb4e
push dword [ebp - 0xf0]
call esi
call fcn.00481d20
mov ecx, eax
push 0
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x40bb4e
mov eax, dword [ebp - 0xf0]
lea ecx, [ebp - 0xb0]
push 0x5a
push str.d:jenkins.jenkinsworkspacemg_boxgame_boxmicrogamebox_srcmicrogameboxinst_helper.cc
mov dword [ebp - 0xec], eax
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0xf
mov byte [ebp - 0xb0], 0
call fcn.0041ca10
push 3
push 0x579ac4
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 0xa
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 0xf
mov byte [ebp - 0xc8], 0
call fcn.0041ca10
mov byte [ebp - 4], 0xb
call fcn.00481d20
push 1
push 2
lea ecx, [ebp - 0x1b4]
mov dword [ebp - 0xf4], eax
call fcn.00406b20
push 0xffffffffffffffff
push 0x579b88
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 0xc
call fcn.0041dd70
push 0xffffffffffffffff
push 0x579b8c
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0xe4], eax
call fcn.0041dd70
push 0x64
mov esi, eax
lea eax, [ebp - 0x98]
push 0
push eax
call fcn.0051e5a0
add esp, 0xc
cmp esi, 0xffffffff
je 0x40ba18
mov ecx, dword [ebp - 0xe4]
lea eax, [esi - 1]
cmp ecx, eax
jae 0x40ba18
mov eax, dword [ebp - 0xa0]
lea edx, [ecx + 1]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
cmp eax, edx
jb 0x40c347
sub esi, ecx
sub eax, edx
lea ecx, [esi - 1]
cmp eax, ecx
cmovb ecx, eax
cmp dword [ebp - 0x9c], 0x10
lea eax, [ebp - 0xb0]
cmovae eax, dword [ebp - 0xb0]
push ecx
add eax, edx
lea ecx, [ebp - 0x2c]
push eax
call fcn.0041ca10
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
push 0x261
lea eax, [ebp - 0x98]
push str.__4d___s_
push eax
call fcn.004065c0
add esp, 0x10
lea ecx, [ebp - 0x2c]
call fcn.004078d0
jmp 0x40ba31
push 0x261
lea eax, [ebp - 0x98]
push str.__4d_
push eax
call fcn.004065c0
add esp, 0xc
cmp dword [ebp - 0xb4], 0x10
lea eax, [ebp - 0xc8]
cmovae eax, dword [ebp - 0xc8]
push eax
lea eax, [ebp - 0x1b4]
push eax
call fcn.004081f0
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x1b4]
push eax
call fcn.004081f0
lea eax, [ebp - 0x1b4]
mov byte [ebp - 4], 0xd
push str.MicroInstaller::AddDeskIcon_delete_desk_lnk:
push eax
call fcn.004081f0
mov eax, dword [ebp - 0xec]
mov ecx, 0x579b78
test eax, eax
cmovne ecx, eax
lea eax, [ebp - 0x1b4]
push ecx
push eax
call fcn.00405440
mov ecx, dword [ebp - 0xf4]
lea edx, [ebp - 0x1b4]
add esp, 0x20
mov eax, dword [ecx]
push edx
call dword [eax + 0x1c]
lea ecx, [ebp - 0x1b4]
call fcn.0040ad10
mov edx, dword [ebp - 0xb4]
mov byte [ebp - 4], 0xa
cmp edx, 0x10
jb 0x40baf5
mov ecx, dword [ebp - 0xc8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40baeb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c34c
push edx
push ecx
call fcn.004729bf
add esp, 8
mov edx, dword [ebp - 0x9c]
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 0xf
mov byte [ebp - 0xc8], 0
mov byte [ebp - 4], 5
cmp edx, 0x10
jb 0x40bb4e
mov ecx, dword [ebp - 0xb0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40bb44
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c351
push edx
push ecx
call fcn.004729bf
add esp, 8
mov eax, dword [ebp - 0x10c]
mov eax, dword [eax + 0x54]
sub eax, 0x10
push eax
call fcn.0040e8f0
add esp, 4
lea esi, [eax + 0x10]
mov dword [ebp - 0x11c], esi
cmp dword [esi - 0xc], 0
mov byte [ebp - 4], 0xe
jne 0x40bc0e
mov byte [ebp - 4], 5
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x40bb95
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0xe0]
call fcn.00407920
mov edx, dword [ebp - 0xf0]
mov eax, ebx
mov byte [ebp - 4], 3
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40bbc1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xe8]
mov eax, ebx
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40bbe2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x104]
mov byte [ebp - 4], 1
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x40bbfe
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x10c]
call fcn.00407aa0
jmp 0x40c316
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40bb7a
xor eax, eax
mov dword [ebp - 0x34], 0x2f0020
mov ecx, 0x5cd204
mov dword [ebp - 0x30], 0x720066
lea edi, [ebp - 0x34]
mov dword [ebp - 0x2c], 0x6d006f
mov dword [ebp - 0x28], 0x64003d
mov edx, 0x12
mov dword [ebp - 0x24], 0x730065
sub edi, ecx
mov dword [ebp - 0x20], 0x5f006b
mov dword [ebp - 0x1c], 0x630069
mov dword [ebp - 0x18], 0x6e006f
mov word [ebp - 0x14], ax
nop word [eax + eax]
lea eax, [edx + 0x7fffffec]
test eax, eax
je 0x40bc8e
movzx eax, word [ecx + edi]
test ax, ax
je 0x40bc8e
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x40bc70
lea eax, [ecx - 2]
test edx, edx
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
call fcn.00415c50
mov ecx, eax
test ecx, ecx
je 0x40c356
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x100], eax
push 0x5cd204
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 0xf
call fcn.0040e400
test al, al
jne 0x40bd00
mov ecx, 0x5cd204
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40bce0
sub ecx, edx
sar ecx, 1
push ecx
push 0x5cd204
lea ecx, [ebp - 0x100]
call fcn.0041afc0
mov eax, dword [ebp - 0x10c]
mov byte [ebp - 4], 0x10
mov eax, dword [eax + 0x30]
sub eax, 0x10
push eax
call fcn.0040e8f0
add esp, 4
lea edi, [eax + 0x10]
mov dword [ebp - 0x110], edi
push edi
mov byte [ebp - 4], 0x11
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40bd76
mov byte [ebp - 4], 0x10
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x40bd4c
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x100]
mov eax, ebx
mov byte [ebp - 4], 0xe
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40bb7a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x40bb7a
mov eax, dword [ebp - 0x104]
push 0
push edi
push dword [ebp - 0xe8]
add eax, 0x10
push dword [ebp - 0x100]
push eax
push esi
call fcn.0040ecd0
add esp, 0x18
test eax, eax
jne 0x40c041
call fcn.00481d20
mov ecx, eax
push 2
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x40c041
push 0x5a
push str.d:jenkins.jenkinsworkspacemg_boxgame_boxmicrogamebox_srcmicrogameboxinst_helper.cc
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], 0xf
mov byte [ebp - 0xb0], al
call fcn.0041ca10
push 3
push 0x579acc
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 0x12
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 0xf
mov byte [ebp - 0xc8], 0
call fcn.0041ca10
mov byte [ebp - 4], 0x13
call fcn.00481d20
push 1
push 2
lea ecx, [ebp - 0x1b4]
mov dword [ebp - 0xec], eax
call fcn.00406b20
push 0xffffffffffffffff
push 0x579b88
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 0x14
call fcn.0041dd70
push 0xffffffffffffffff
push 0x579b8c
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0xe4], eax
call fcn.0041dd70
push 0x64
mov dword [ebp - 0xf8], eax
lea eax, [ebp - 0x98]
push 0
push eax
call fcn.0051e5a0
mov ecx, dword [ebp - 0xf8]
add esp, 0xc
cmp ecx, 0xffffffff
je 0x40bf28
mov edx, dword [ebp - 0xe4]
lea eax, [ecx - 1]
cmp edx, eax
jae 0x40bf28
lea eax, [edx + 1]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
cmp eax, dword [ebp - 0xf8]
jb 0x40c360
sub eax, dword [ebp - 0xf8]
sub ecx, edx
dec ecx
cmp eax, ecx
cmovb ecx, eax
cmp dword [ebp - 0x9c], 0x10
lea eax, [ebp - 0xb0]
cmovae eax, dword [ebp - 0xb0]
add eax, dword [ebp - 0xf8]
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041ca10
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
push 0x275
lea eax, [ebp - 0x98]
push str.__4d___s_
push eax
call fcn.004065c0
add esp, 0x10
lea ecx, [ebp - 0x2c]
call fcn.004078d0
jmp 0x40bf41
push 0x275
lea eax, [ebp - 0x98]
push str.__4d_
push eax
call fcn.004065c0
add esp, 0xc
cmp dword [ebp - 0xb4], 0x10
lea eax, [ebp - 0xc8]
cmovae eax, dword [ebp - 0xc8]
push eax
lea eax, [ebp - 0x1b4]
push eax
call fcn.004081f0
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x1b4]
push eax
call fcn.004081f0
lea eax, [ebp - 0x1b4]
mov byte [ebp - 4], 0x15
push str.MicroInstaller::AddDeskIcon_FAILED
push eax
call fcn.004081f0
mov ecx, dword [ebp - 0xec]
lea edx, [ebp - 0x1b4]
add esp, 0x18
mov eax, dword [ecx]
push edx
call dword [eax + 0x1c]
lea ecx, [ebp - 0x1b4]
call fcn.0040ad10
mov edx, dword [ebp - 0xb4]
mov byte [ebp - 4], 0x12
cmp edx, 0x10
jb 0x40bfe8
mov ecx, dword [ebp - 0xc8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40bfde
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c365
push edx
push ecx
call fcn.004729bf
add esp, 8
mov edx, dword [ebp - 0x9c]
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 0xf
mov byte [ebp - 0xc8], 0
mov byte [ebp - 4], 0x11
cmp edx, 0x10
jb 0x40c041
mov ecx, dword [ebp - 0xb0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c037
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c36a
push edx
push ecx
call fcn.004729bf
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.00415c50
mov ecx, eax
test ecx, ecx
je 0x40c36f
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xe4], eax
push 0x5798f8
lea ecx, [ebp - 0xe4]
mov byte [ebp - 4], 0x16
call fcn.0040e400
test al, al
jne 0x40c0ad
push 0
push 0x5798f8
lea ecx, [ebp - 0xe4]
call fcn.0041afc0
mov byte [ebp - 4], 0x17
call fcn.00415c50
mov ecx, eax
test ecx, ecx
je 0x40c379
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xec], eax
push 0x5798f8
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 0x18
call fcn.0040e400
test al, al
jne 0x40c0f8
push 0
push 0x5798f8
lea ecx, [ebp - 0xec]
call fcn.0041afc0
mov byte [ebp - 4], 0x19
call fcn.00415c50
mov ecx, eax
test ecx, ecx
je 0x40c383
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xf4], eax
push str.add_desk_icon
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 0x1a
call fcn.0040e400
test al, al
jne 0x40c143
push 0xd
push str.add_desk_icon
lea ecx, [ebp - 0xf4]
call fcn.0041afc0
mov byte [ebp - 4], 0x1b
call fcn.0045e250
lea ecx, [ebp - 0xe4]
push ecx
lea ecx, [ebp - 0xec]
mov edx, dword [eax]
push ecx
push 1
lea ecx, [ebp - 0xf4]
push ecx
mov ecx, eax
call dword [edx]
mov edx, dword [ebp - 0xf4]
mov eax, ebx
mov byte [ebp - 4], 0x19
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40c18a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xec]
mov eax, ebx
mov byte [ebp - 4], 0x17
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40c1ab
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xe4]
mov eax, ebx
mov byte [ebp - 4], 0x11
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40c1cc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 0xf8], 1
add edi, 0xfffffff0
mov byte [ebp - 4], 0x10
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x40c1f1
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x100]
mov eax, ebx
mov byte [ebp - 4], 0xe
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40c212
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 0x40c22d
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xcc]
mov byte [ebp - 4], 4
cmp edx, 8
jb 0x40c271
mov ecx, dword [ebp - 0xe0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40c267
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c38d
push edx
push ecx
call fcn.004729bf
add esp, 8
mov edx, dword [ebp - 0xf0]
xor eax, eax
mov word [ebp - 0xe0], ax
add edx, 0xfffffff0
mov dword [ebp - 0xd0], 0
mov eax, ebx
mov dword [ebp - 0xcc], 7
mov byte [ebp - 4], 3
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40c2af
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xe8]
mov eax, ebx
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40c2d0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x104]
mov eax, ebx
mov byte [ebp - 4], 1
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40c2ee
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x108]
test esi, esi
je 0x40c316
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x40c316
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x40c316
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov eax, dword [ebp - 0xf8]
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.0047285d
mov esp, ebp
pop ebp
ret
call fcn.0041c4c0
call fcn.00522b89
call fcn.00522b89
call fcn.0041c4c0
call fcn.00522b89
call fcn.00522b89
push 0x80004005
call fcn.0040e3e0
call fcn.0041c4c0
call fcn.00522b89
call fcn.00522b89
push 0x80004005
call fcn.0040e3e0
push 0x80004005
call fcn.0040e3e0
push 0x80004005
call fcn.0040e3e0
call fcn.00522b89
int3