Function at 0x402cb0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x424008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x18], 0x425c64
push 0x69
push edi
mov dword [0x425184], edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x38], 0x402500
mov dword [ebp - 0x3c], 3
call dword [sym.imp.USER32.dll_LoadIconA]
push 0x7f00
push 0
mov dword [ebp - 0x28], eax
call dword [sym.imp.USER32.dll_LoadCursorA]
push 4
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.USER32.dll_RegisterClassA]
test ax, ax
jne 0x402d55
push 0x30
push 0x4207fc
push 0x420988
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040aa0f
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [ebp - 8]
mov eax, dword [0x425190]
sub ecx, eax
mov esi, dword [ebp - 0xc]
mov edx, dword [0x42518c]
sub esi, edx
push 0
push edi
push 0
push 0
push eax
push edx
sar ecx, 1
push ecx
sar esi, 1
push esi
push 0x80000000
push 0x420862
push 0x425c64
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
cmp dword [0x425518], 1
mov dword [0x425188], eax
je 0x402ee1
call fcn.00408280
sub esp, 8
mov ecx, 0x42bea0
test eax, eax
je 0x402e04
push 0x6e
call fcn.00401970
mov eax, dword [0x42c0b4]
sub esp, 8
mov dword [0x42b750], eax
mov ecx, 0x42c1dc
mov eax, dword [0x42c0b8]
mov dword [0x42b754], eax
push 0x6c
call fcn.00401970
mov eax, dword [0x42c3f0]
mov dword [0x42b770], eax
mov eax, dword [0x42c3f4]
mov dword [0x42b774], eax
jmp 0x402e1f
push 0x70
call fcn.00401970
mov eax, dword [0x42c0b4]
mov dword [0x42b750], eax
mov eax, dword [0x42c0b8]
mov dword [0x42b754], eax
sub esp, 8
mov ecx, 0x42c518
push 0x6d
call fcn.00401970
mov eax, dword [0x42c72c]
sub esp, 8
mov dword [0x42b790], eax
mov ecx, 0x42c854
mov eax, dword [0x42c730]
mov dword [0x42b794], eax
push 0x7a
call fcn.00401970
mov eax, dword [0x42ca68]
mov ebx, 0x4251ec
mov dword [0x42b7b0], eax
mov esi, 0x42b75c
mov eax, dword [0x42ca6c]
xor edi, edi
mov dword [0x42b7b4], eax
mov ecx, dword [edi + 0x4251b0]
mov eax, dword [ebx + 4]
mov edx, dword [edi + 0x4251ac]
add eax, ecx
push eax
mov eax, dword [ebx]
add eax, edx
mov dword [esi - 4], edx
push eax
push ecx
push edx
lea eax, [edi + 0x42b6d8]
mov dword [esi], ecx
push eax
call dword [sym.imp.USER32.dll_SetRect]
add esi, 0x20
lea ebx, [ebx + 8]
lea edi, [edi + 0x10]
cmp esi, 0x42b7dc
jl 0x402e71
call fcn.00408280
test eax, eax
jne 0x402ec7
push eax
push eax
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0x42b6e8
call dword [sym.imp.USER32.dll_SetRect]
push 0
push 0
push 0x200
push dword [0x425188]
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [0x425188]
push 1
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x425188]
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0x425414
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x402f0f
mov ecx, 0x425414
call fcn.00408150
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040aa0f
mov esp, ebp
pop ebp
ret