Function at 0x5233c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x664da6
mov eax, dword fs:[0]
push eax
mov eax, 0x1af0
call fcn.005c5930
mov eax, dword [0x7060c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1ac8], ecx
mov eax, dword [ebp + 0x14]
mov dword [eax], 1
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x1ac0], ecx
lea ecx, [ebp - 0x1abc]
call fcn.0047a310
lea edx, [ebp - 0x1abc]
push edx
mov eax, dword [ebp - 0x1ac0]
push eax
call fcn.00469f10
mov ecx, eax
call fcn.0046da60
movzx ecx, al
test ecx, ecx
jne 0x52343b
xor eax, eax
jmp 0x52371f
lea edx, [ebp - 0x107a]
push edx
lea ecx, [ebp - 0x58]
call fcn.00446d70
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.0044da70
movzx eax, al
test eax, eax
jne 0x52348d
lea ecx, [ebp - 0x58]
call fcn.0043d500
push eax
lea ecx, [ebp - 0x70]
call fcn.00446d70
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x70]
push ecx
call fcn.0045cee0
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x70]
call fcn.0043c8a0
lea ecx, [ebp - 0x28]
call fcn.00446de0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1ac4]
call fcn.0054db90
mov byte [ebp - 4], 3
lea edx, [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x1ac0]
push eax
lea ecx, [ebp - 0x1ac4]
call fcn.0054e390
lea ecx, [ebp - 0x187a]
push ecx
lea ecx, [ebp - 0x40]
call fcn.00446d70
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.0043d500
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x5235e8
lea ecx, [ebp - 0x40]
call fcn.0044da70
movzx edx, al
test edx, edx
jne 0x5235e8
mov eax, dword [ebp - 0x1ac8]
mov dword [ebp - 0x1acc], eax
mov dword [ebp - 0x1ae8], 0x523770
mov dword [ebp - 0x1ae4], 0
mov ecx, dword [ebp - 0x1ae8]
mov dword [ebp - 0x1af0], ecx
mov edx, dword [ebp - 0x1ae4]
mov dword [ebp - 0x1aec], edx
sub esp, 0x28
mov esi, esp
mov dword [ebp - 0x1af4], esp
sub esp, 0x10
mov eax, esp
mov dword [ebp - 0x1af8], esp
push 0x68f16c
lea ecx, [ebp - 0x1acc]
push ecx
lea edx, [ebp - 0x1af0]
push edx
push eax
call fcn.00523f00
add esp, 0x10
mov ecx, esi
call fcn.00523b30
mov dword [ebp - 0x1ad0], eax
mov eax, dword [ebp - 0x1ad0]
mov dword [ebp - 0x1afc], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x1ac0]
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.00532d10
mov byte [ebp - 4], 4
mov ecx, eax
call fcn.005335d0
mov dword [ebp - 0x1ad4], 1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.0043c8a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1ac4]
call fcn.0054dbb0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0043c8a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.0043c8a0
mov eax, dword [ebp - 0x1ad4]
jmp 0x52371f
lea ecx, [ebp - 0x28]
call fcn.0043d500
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x523667
push 0
mov eax, dword [ebp - 0x1ac0]
push eax
push 0xfbb
mov ecx, dword [ebp - 0x1ac8]
mov edx, dword [ecx + 0x248]
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
mov dword [ebp - 0x1ad8], 1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.0043c8a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1ac4]
call fcn.0054dbb0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0043c8a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.0043c8a0
mov eax, dword [ebp - 0x1ad8]
jmp 0x52371f
cmp dword [ebp - 0x1ac0], 1
jne 0x5236d9
push 0
mov eax, dword [ebp - 0x1ac0]
push eax
push 0xfbb
mov ecx, dword [ebp - 0x1ac8]
mov edx, dword [ecx + 0x248]
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
mov dword [ebp - 0x1adc], 1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.0043c8a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1ac4]
call fcn.0054dbb0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0043c8a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.0043c8a0
mov eax, dword [ebp - 0x1adc]
jmp 0x52371f
mov dword [ebp - 0x1ae0], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.0043c8a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1ac4]
call fcn.0054dbb0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0043c8a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.0043c8a0
mov eax, dword [ebp - 0x1ae0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c4766
mov esp, ebp
pop ebp
ret 0x10