Function at 0x40d1a0
Capabilities:
Check if file exists
Delete file
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55d504
mov eax, dword fs:[0]
push eax
sub esp, 0x45c
mov eax, dword [0x5be26c]
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 - 0x298]
mov dword [ebp - 0x268], 0
push eax
call fcn.004278c0
mov ecx, eax
call fcn.00427890
mov ecx, dword [eax]
mov dword [ebp - 4], 0
call fcn.00438f60
mov esi, dword [ebp - 0x294]
test al, al
mov dword [ebp - 4], 0xffffffff
sete byte [ebp - 0x269]
or ebx, 0xffffffff
test esi, esi
je 0x40d235
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x40d235
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x40d235
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
cmp byte [ebp - 0x269], 0
je 0x40d248
mov eax, 1
jmp 0x40e324
lea eax, [ebp - 0x274]
push eax
call fcn.004278c0
mov ecx, eax
call fcn.00427890
mov eax, dword [ebp - 0x274]
mov dword [ebp - 4], 1
test eax, eax
je 0x40d448
mov eax, dword [eax + 0x28]
sub eax, 0x10
push eax
call fcn.004112d0
mov esi, eax
mov dword [ebp - 0x280], esi
lea edi, [esi + 0x10]
mov dword [ebp - 0x28c], edi
mov eax, dword [ebp - 0x274]
push 0
mov byte [ebp - 4], 2
push dword [eax + 0x18]
lea eax, [ebp - 0x254]
push eax
call fcn.00505d80
add esp, 0x10
push 4
push str..lnk
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 3
call fcn.00410b90
mov eax, dword [ebp - 0x274]
push 0
push dword [eax + 0x18]
lea eax, [ebp - 0x260]
push eax
call fcn.00505d80
add esp, 0xc
push 4
push str..url
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 4
call fcn.00410b90
mov edx, dword [ebp - 0x254]
cmp dword [edx - 4], 1
jle 0x40d311
push dword [edx - 0xc]
lea ecx, [ebp - 0x254]
call fcn.00417250
mov edx, dword [ebp - 0x254]
sub esp, 0x18
xor ecx, ecx
mov eax, esp
mov dword [ebp - 0x25c], 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 - 0x258], eax
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40d340
sub ecx, dword [ebp - 0x258]
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0x25c]
push edx
call fcn.00421290
lea eax, [ebp - 0x1a8]
push eax
call fcn.0045e8c0
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 0x40d380
sub ecx, edx
lea eax, [ebp - 0x1a8]
mov edx, dword [ebp - 0x198]
sar ecx, 1
cmp dword [ebp - 0x194], 8
cmovae eax, dword [ebp - 0x1a8]
cmp edx, ecx
jne 0x40d458
mov ecx, edi
test edx, edx
je 0x40d3db
sub eax, edi
mov dword [ebp - 0x258], eax
nop
mov ax, word [ecx + eax]
cmp ax, word [ecx]
jne 0x40d458
mov eax, dword [ebp - 0x258]
add ecx, 2
sub edx, 1
jne 0x40d3c0
lea ecx, [ebp - 0x1a8]
mov dword [ebp - 0x268], 1
call fcn.0040bbd0
mov edx, dword [ebp - 0x260]
mov eax, ebx
mov byte [ebp - 4], 3
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40d411
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x254]
mov eax, ebx
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40d432
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 0x40d448
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x274]
call fcn.0040bd50
jmp 0x40e31e
push dword [ebp - 0x254]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x40d768
push dword [ebp - 0x254]
call esi
call fcn.0047a580
mov ecx, eax
push 0
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x40d768
mov eax, dword [ebp - 0x254]
lea ecx, [ebp - 0x178]
push 0x60
push str.d:jenkins.jenkinsworkspaceweiduangamemicrogamemicrogamebox_srcmicrogameboxinst_helper.cc
mov dword [ebp - 0x25c], eax
mov dword [ebp - 0x168], 0
mov dword [ebp - 0x164], 0xf
mov byte [ebp - 0x178], 0
call fcn.004211a0
push 3
push 0x572954
lea ecx, [ebp - 0x1c0]
mov byte [ebp - 4], 6
mov dword [ebp - 0x1b0], 0
mov dword [ebp - 0x1ac], 0xf
mov byte [ebp - 0x1c0], 0
call fcn.004211a0
mov byte [ebp - 4], 7
call fcn.0047a580
push 1
push 2
lea ecx, [ebp - 0x338]
mov dword [ebp - 0x264], eax
call fcn.0040ade0
push 0xffffffffffffffff
push 0x572938
lea ecx, [ebp - 0x178]
mov byte [ebp - 4], 8
call fcn.00422460
push 0xffffffffffffffff
push 0x57293c
lea ecx, [ebp - 0x178]
mov dword [ebp - 0x258], eax
call fcn.00422460
push 0x64
mov esi, eax
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.00516260
add esp, 0xc
cmp esi, 0xffffffff
je 0x40d617
mov ecx, dword [ebp - 0x258]
lea eax, [esi - 1]
cmp ecx, eax
jae 0x40d617
mov eax, dword [ebp - 0x168]
lea edx, [ecx + 1]
mov dword [ebp - 0x210], 0
mov dword [ebp - 0x20c], 0xf
mov byte [ebp - 0x220], 0
cmp eax, edx
jb 0x40e340
sub esi, ecx
sub eax, edx
mov dword [ebp - 0x288], eax
lea ecx, [esi - 1]
cmp eax, ecx
mov dword [ebp - 0x284], ecx
cmovb ecx, eax
cmp dword [ebp - 0x164], 0x10
lea eax, [ebp - 0x178]
cmovae eax, dword [ebp - 0x178]
push ecx
add eax, edx
lea ecx, [ebp - 0x220]
push eax
call fcn.004211a0
cmp dword [ebp - 0x20c], 0x10
lea eax, [ebp - 0x220]
cmovae eax, dword [ebp - 0x220]
push eax
push 0x24f
lea eax, [ebp - 0x74]
push str.__4d___s_
push eax
call fcn.0040a880
add esp, 0x10
lea ecx, [ebp - 0x220]
call fcn.0040bb80
jmp 0x40d62d
push 0x24f
lea eax, [ebp - 0x74]
push str.__4d_
push eax
call fcn.0040a880
add esp, 0xc
cmp dword [ebp - 0x1ac], 0x10
lea eax, [ebp - 0x1c0]
cmovae eax, dword [ebp - 0x1c0]
push eax
lea eax, [ebp - 0x338]
push eax
call fcn.0040c570
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x338]
push eax
call fcn.0040c570
lea eax, [ebp - 0x338]
mov byte [ebp - 4], 9
push str.InstallHelper::AddDeskIcon_delete_desk_lnk:
push eax
call fcn.0040c570
mov ecx, dword [ebp - 0x25c]
mov eax, 0x572928
test ecx, ecx
cmovne eax, ecx
push eax
lea eax, [ebp - 0x338]
push eax
call fcn.00409810
mov ecx, dword [ebp - 0x264]
lea edx, [ebp - 0x338]
add esp, 0x20
mov eax, dword [ecx]
push edx
call dword [eax + 0x1c]
lea ecx, [ebp - 0x338]
call fcn.0040cbc0
mov edx, dword [ebp - 0x1ac]
mov byte [ebp - 4], 6
cmp edx, 0x10
jb 0x40d6ee
mov ecx, dword [ebp - 0x1c0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40d6e4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e345
push edx
push ecx
call fcn.0046c2cf
add esp, 8
mov edx, dword [ebp - 0x164]
mov dword [ebp - 0x1b0], 0
mov dword [ebp - 0x1ac], 0xf
mov byte [ebp - 0x1c0], 0
mov byte [ebp - 4], 5
cmp edx, 0x10
jb 0x40d747
mov ecx, dword [ebp - 0x178]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40d73d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e34a
push edx
push ecx
call fcn.0046c2cf
add esp, 8
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x168], 0
mov dword [ebp - 0x164], 0xf
mov byte [ebp - 0x178], 0
push dword [ebp - 0x260]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40da78
push dword [ebp - 0x260]
call esi
call fcn.0047a580
mov ecx, eax
push 0
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x40da78
mov eax, dword [ebp - 0x260]
lea ecx, [ebp - 0x190]
push 0x60
push str.d:jenkins.jenkinsworkspaceweiduangamemicrogamemicrogamebox_srcmicrogameboxinst_helper.cc
mov dword [ebp - 0x25c], eax
mov dword [ebp - 0x180], 0
mov dword [ebp - 0x17c], 0xf
mov byte [ebp - 0x190], 0
call fcn.004211a0
push 3
push 0x572954
lea ecx, [ebp - 0x1d8]
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x1c8], 0
mov dword [ebp - 0x1c4], 0xf
mov byte [ebp - 0x1d8], 0
call fcn.004211a0
mov byte [ebp - 4], 0xb
call fcn.0047a580
push 1
push 2
lea ecx, [ebp - 0x3d0]
mov dword [ebp - 0x264], eax
call fcn.0040ade0
push 0xffffffffffffffff
push 0x572938
lea ecx, [ebp - 0x190]
mov byte [ebp - 4], 0xc
call fcn.00422460
push 0xffffffffffffffff
push 0x57293c
lea ecx, [ebp - 0x190]
mov dword [ebp - 0x258], eax
call fcn.00422460
push 0x64
mov esi, eax
lea eax, [ebp - 0xd8]
push 0
push eax
call fcn.00516260
add esp, 0xc
cmp esi, 0xffffffff
je 0x40d927
mov ecx, dword [ebp - 0x258]
lea eax, [esi - 1]
cmp ecx, eax
jae 0x40d927
mov eax, dword [ebp - 0x180]
lea edx, [ecx + 1]
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 0xf
mov byte [ebp - 0x238], 0
cmp eax, edx
jb 0x40e34f
sub esi, ecx
sub eax, edx
mov dword [ebp - 0x2a0], eax
lea ecx, [esi - 1]
cmp eax, ecx
mov dword [ebp - 0x29c], ecx
cmovb ecx, eax
cmp dword [ebp - 0x17c], 0x10
lea eax, [ebp - 0x190]
cmovae eax, dword [ebp - 0x190]
push ecx
add eax, edx
lea ecx, [ebp - 0x238]
push eax
call fcn.004211a0
cmp dword [ebp - 0x224], 0x10
lea eax, [ebp - 0x238]
cmovae eax, dword [ebp - 0x238]
push eax
push 0x255
lea eax, [ebp - 0xd8]
push str.__4d___s_
push eax
call fcn.0040a880
add esp, 0x10
lea ecx, [ebp - 0x238]
call fcn.0040bb80
jmp 0x40d940
push 0x255
lea eax, [ebp - 0xd8]
push str.__4d_
push eax
call fcn.0040a880
add esp, 0xc
cmp dword [ebp - 0x1c4], 0x10
lea eax, [ebp - 0x1d8]
cmovae eax, dword [ebp - 0x1d8]
push eax
lea eax, [ebp - 0x3d0]
push eax
call fcn.0040c570
lea eax, [ebp - 0xd8]
push eax
lea eax, [ebp - 0x3d0]
push eax
call fcn.0040c570
lea eax, [ebp - 0x3d0]
mov byte [ebp - 4], 0xd
push str.InstallHelper::AddDeskIcon_delete_desk_lnk:
push eax
call fcn.0040c570
mov eax, dword [ebp - 0x25c]
mov ecx, 0x572928
test eax, eax
cmovne ecx, eax
lea eax, [ebp - 0x3d0]
push ecx
push eax
call fcn.00409810
mov ecx, dword [ebp - 0x264]
lea edx, [ebp - 0x3d0]
add esp, 0x20
mov eax, dword [ecx]
push edx
call dword [eax + 0x1c]
lea ecx, [ebp - 0x3d0]
call fcn.0040cbc0
mov edx, dword [ebp - 0x1c4]
mov byte [ebp - 4], 0xa
cmp edx, 0x10
jb 0x40da04
mov ecx, dword [ebp - 0x1d8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40d9fa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e354
push edx
push ecx
call fcn.0046c2cf
add esp, 8
mov edx, dword [ebp - 0x17c]
mov dword [ebp - 0x1c8], 0
mov dword [ebp - 0x1c4], 0xf
mov byte [ebp - 0x1d8], 0
mov byte [ebp - 4], 5
cmp edx, 0x10
jb 0x40da5d
mov ecx, dword [ebp - 0x190]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40da53
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e359
push edx
push ecx
call fcn.0046c2cf
add esp, 8
mov dword [ebp - 0x180], 0
mov dword [ebp - 0x17c], 0xf
mov byte [ebp - 0x190], 0
mov eax, dword [ebp - 0x274]
mov eax, dword [eax + 0x54]
sub eax, 0x10
push eax
call fcn.004112d0
add esp, 4
lea esi, [eax + 0x10]
mov dword [ebp - 0x258], esi
cmp dword [esi - 0xc], 0
mov byte [ebp - 4], 0xe
jne 0x40db38
mov eax, ebx
mov byte [ebp - 4], 5
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x40dabf
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x1a8]
call fcn.0040bbd0
mov edx, dword [ebp - 0x260]
mov eax, ebx
mov byte [ebp - 4], 3
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40daeb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x254]
mov eax, ebx
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40db0c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x280]
mov byte [ebp - 4], 1
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x40db28
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x274]
call fcn.0040bd50
jmp 0x40e31e
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40daa4
mov eax, 0x9970
mov ecx, 0x9907
mov word [ebp - 0x160], ax
xor edi, edi
mov eax, 0x9973
mov ebx, 0xf
mov word [ebp - 0x15e], ax
mov eax, 0x9935
mov word [ebp - 0x15c], ax
mov eax, 0x9920
mov word [ebp - 0x15a], ax
mov eax, 0x993f
mov word [ebp - 0x158], ax
mov eax, 0x9937
mov word [ebp - 0x156], ax
mov eax, 0x9962
mov word [ebp - 0x154], ax
mov eax, 0x9931
mov word [ebp - 0x152], ax
mov eax, 0x991e
mov word [ebp - 0x150], cx
mov word [ebp - 0x14e], ax
mov eax, 0x990d
mov word [ebp - 0x14c], ax
mov eax, 0x993b
mov word [ebp - 0x14a], ax
mov eax, 0x9904
mov word [ebp - 0x148], cx
mov word [ebp - 0x146], ax
mov eax, 0x9900
mov word [ebp - 0x144], ax
mov eax, 0x9908
mov word [ebp - 0x142], ax
mov eax, 0x9960
mov word [ebp - 0x140], ax
mov ax, word [ebp - 0x160]
nop dword [eax]
mov ax, word [ebp + edi*2 - 0x160]
mov ecx, edi
and ecx, ebx
movzx esi, ax
cmp ecx, ebx
mov eax, 0xa17c9958
mov edx, 0x192a74c2
cmovae ecx, ebx
shl ecx, 2
call fcn.0046c590
mov cx, ax
lea eax, [edi - 0x66a8]
and cx, bx
xor cx, ax
xor cx, si
mov word [ebp + edi*2 - 0x160], cx
inc edi
cmp edi, 0x11
jb 0x40dc20
call fcn.00418ed0
mov ecx, eax
mov ebx, 0xffffffff
test ecx, ecx
je 0x40e35e
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x278], eax
lea eax, [ebp - 0x160]
mov byte [ebp - 4], 0xf
push eax
lea ecx, [ebp - 0x278]
call fcn.00410de0
test al, al
jne 0x40dcd2
lea ecx, [ebp - 0x160]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40dcb0
sub ecx, edx
lea eax, [ebp - 0x160]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x278]
call fcn.0041f550
mov eax, dword [ebp - 0x274]
mov byte [ebp - 4], 0x10
mov eax, dword [eax + 0x30]
sub eax, 0x10
push eax
call fcn.004112d0
add esp, 4
lea esi, [eax + 0x10]
mov dword [ebp - 0x290], esi
push esi
mov byte [ebp - 4], 0x11
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40dd64
mov byte [ebp - 4], 0x10
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x40dd1e
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x278]
mov eax, ebx
mov byte [ebp - 4], 0xe
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40dd3f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x258]
mov eax, ebx
mov byte [ebp - 4], 5
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40dabf
mov ecx, dword [edx]
push edx
jmp 0x40daba
mov edi, dword [ebp - 0x278]
push 0
push esi
push dword [ebp - 0x254]
push edi
push dword [ebp - 0x28c]
push dword [ebp - 0x258]
call fcn.00411840
add esp, 0x18
test eax, eax
jne 0x40e049
call fcn.0047a580
mov ecx, eax
push 2
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x40e049
push 0x60
push str.d:jenkins.jenkinsworkspaceweiduangamemicrogamemicrogamebox_srcmicrogameboxinst_helper.cc
lea ecx, [ebp - 0x208]
mov dword [ebp - 0x1f8], eax
mov dword [ebp - 0x1f4], 0xf
mov byte [ebp - 0x208], al
call fcn.004211a0
push 3
push 0x572a44
lea ecx, [ebp - 0x1f0]
mov byte [ebp - 4], 0x12
mov dword [ebp - 0x1e0], 0
mov dword [ebp - 0x1dc], 0xf
mov byte [ebp - 0x1f0], 0
call fcn.004211a0
mov byte [ebp - 4], 0x13
call fcn.0047a580
push 1
push 2
lea ecx, [ebp - 0x468]
mov dword [ebp - 0x284], eax
call fcn.0040ade0
push 0xffffffffffffffff
push 0x572938
lea ecx, [ebp - 0x208]
mov byte [ebp - 4], 0x14
call fcn.00422460
push 0xffffffffffffffff
push 0x57293c
lea ecx, [ebp - 0x208]
mov dword [ebp - 0x288], eax
call fcn.00422460
push 0x64
mov dword [ebp - 0x268], eax
lea eax, [ebp - 0x13c]
push 0
push eax
call fcn.00516260
mov ecx, dword [ebp - 0x268]
add esp, 0xc
cmp ecx, 0xffffffff
je 0x40df30
mov edx, dword [ebp - 0x288]
lea eax, [ecx - 1]
cmp edx, eax
jae 0x40df30
lea eax, [edx + 1]
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x268], eax
mov eax, dword [ebp - 0x1f8]
mov dword [ebp - 0x23c], 0xf
mov byte [ebp - 0x250], 0
cmp eax, dword [ebp - 0x268]
jb 0x40e368
sub eax, dword [ebp - 0x268]
sub ecx, edx
dec ecx
cmp eax, ecx
cmovb ecx, eax
cmp dword [ebp - 0x1f4], 0x10
lea eax, [ebp - 0x208]
cmovae eax, dword [ebp - 0x208]
add eax, dword [ebp - 0x268]
push ecx
push eax
lea ecx, [ebp - 0x250]
call fcn.004211a0
cmp dword [ebp - 0x23c], 0x10
lea eax, [ebp - 0x250]
cmovae eax, dword [ebp - 0x250]
push eax
push 0x269
lea eax, [ebp - 0x13c]
push str.__4d___s_
push eax
call fcn.0040a880
add esp, 0x10
lea ecx, [ebp - 0x250]
call fcn.0040bb80
jmp 0x40df49
push 0x269
lea eax, [ebp - 0x13c]
push str.__4d_
push eax
call fcn.0040a880
add esp, 0xc
cmp dword [ebp - 0x1dc], 0x10
lea eax, [ebp - 0x1f0]
cmovae eax, dword [ebp - 0x1f0]
push eax
lea eax, [ebp - 0x468]
push eax
call fcn.0040c570
lea eax, [ebp - 0x13c]
push eax
lea eax, [ebp - 0x468]
push eax
call fcn.0040c570
lea eax, [ebp - 0x468]
mov byte [ebp - 4], 0x15
push str.InstallHelper::AddDeskIcon_FAILED
push eax
call fcn.0040c570
mov ecx, dword [ebp - 0x284]
lea edx, [ebp - 0x468]
add esp, 0x18
mov eax, dword [ecx]
push edx
call dword [eax + 0x1c]
lea ecx, [ebp - 0x468]
call fcn.0040cbc0
mov edx, dword [ebp - 0x1dc]
mov byte [ebp - 4], 0x12
cmp edx, 0x10
jb 0x40dff0
mov ecx, dword [ebp - 0x1f0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40dfe6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e36d
push edx
push ecx
call fcn.0046c2cf
add esp, 8
mov edx, dword [ebp - 0x1f4]
mov dword [ebp - 0x1e0], 0
mov dword [ebp - 0x1dc], 0xf
mov byte [ebp - 0x1f0], 0
mov byte [ebp - 4], 0x11
cmp edx, 0x10
jb 0x40e049
mov ecx, dword [ebp - 0x208]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40e03f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e372
push edx
push ecx
call fcn.0046c2cf
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.00418ed0
mov ecx, eax
test ecx, ecx
je 0x40e377
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x25c], eax
push 0x5726b4
lea ecx, [ebp - 0x25c]
mov byte [ebp - 4], 0x16
call fcn.00410de0
test al, al
jne 0x40e0b5
push 0
push 0x5726b4
lea ecx, [ebp - 0x25c]
call fcn.0041f550
mov byte [ebp - 4], 0x17
call fcn.00418ed0
mov ecx, eax
test ecx, ecx
je 0x40e381
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x264], eax
push 0x5726b4
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 0x18
call fcn.00410de0
test al, al
jne 0x40e100
push 0
push 0x5726b4
lea ecx, [ebp - 0x264]
call fcn.0041f550
mov byte [ebp - 4], 0x19
call fcn.00418ed0
mov ecx, eax
test ecx, ecx
je 0x40e38b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x27c], eax
push str.add_desk_icon
lea ecx, [ebp - 0x27c]
mov byte [ebp - 4], 0x1a
call fcn.00410de0
test al, al
jne 0x40e14b
push 0xd
push str.add_desk_icon
lea ecx, [ebp - 0x27c]
call fcn.0041f550
mov byte [ebp - 4], 0x1b
call fcn.00459e50
lea ecx, [ebp - 0x25c]
push ecx
lea ecx, [ebp - 0x264]
mov edx, dword [eax]
push ecx
push 1
lea ecx, [ebp - 0x27c]
push ecx
mov ecx, eax
call dword [edx]
mov edx, dword [ebp - 0x27c]
mov eax, ebx
mov byte [ebp - 4], 0x19
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40e192
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x264]
mov eax, ebx
mov byte [ebp - 4], 0x17
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40e1b3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x25c]
mov eax, ebx
mov byte [ebp - 4], 0x11
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40e1d4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 0x268], 1
add esi, 0xfffffff0
mov byte [ebp - 4], 0x10
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x40e1f9
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xe
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x40e214
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x258]
mov eax, ebx
mov byte [ebp - 4], 5
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40e235
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x194]
mov byte [ebp - 4], 4
cmp edx, 8
jb 0x40e279
mov ecx, dword [ebp - 0x1a8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40e26f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e395
push edx
push ecx
call fcn.0046c2cf
add esp, 8
mov edx, dword [ebp - 0x260]
xor eax, eax
mov word [ebp - 0x1a8], ax
add edx, 0xfffffff0
mov dword [ebp - 0x198], 0
mov eax, ebx
mov dword [ebp - 0x194], 7
mov byte [ebp - 4], 3
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40e2b7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x254]
mov eax, ebx
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40e2d8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x280]
mov eax, ebx
mov byte [ebp - 4], 1
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40e2f6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x270]
test esi, esi
je 0x40e31e
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x40e31e
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x40e31e
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov eax, dword [ebp - 0x268]
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.0046c16d
mov esp, ebp
pop ebp
ret
call fcn.00420c50
call fcn.0051a7fc
call fcn.0051a7fc
call fcn.00420c50
call fcn.0051a7fc
call fcn.0051a7fc
push 0x80004005
call fcn.00410dc0
call fcn.00420c50
call fcn.0051a7fc
call fcn.0051a7fc
push 0x80004005
call fcn.00410dc0
push 0x80004005
call fcn.00410dc0
push 0x80004005
call fcn.00410dc0
call fcn.0051a7fc
int3