Function at 0x402b50
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], 0x4023f0
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 0x402bf5
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.0040a88f
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 0x4209af
push 0x425c64
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
cmp dword [0x425518], 1
mov dword [0x425188], eax
je 0x402d60
call fcn.00408100
sub esp, 8
mov ecx, 0x42be70
test eax, eax
je 0x402ca4
push 0x6e
call fcn.00401970
mov eax, dword [0x42c084]
sub esp, 8
mov dword [0x42b740], eax
mov ecx, 0x42c1ac
mov eax, dword [0x42c088]
mov dword [0x42b744], eax
push 0x6c
call fcn.00401970
mov eax, dword [0x42c3c0]
mov dword [0x42b760], eax
mov eax, dword [0x42c3c4]
mov dword [0x42b764], eax
jmp 0x402cbf
push 0x70
call fcn.00401970
mov eax, dword [0x42c084]
mov dword [0x42b740], eax
mov eax, dword [0x42c088]
mov dword [0x42b744], eax
sub esp, 8
mov ecx, 0x42c4e8
push 0x6d
call fcn.00401970
mov eax, dword [0x42c6fc]
mov ebx, 0x4251ec
mov dword [0x42b780], eax
mov esi, 0x42b74c
mov eax, dword [0x42c700]
xor edi, edi
mov dword [0x42b784], eax
nop
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, 0x42b7ac
jl 0x402cf0
call fcn.00408100
test eax, eax
jne 0x402d46
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 0x402d8e
mov ecx, 0x425414
call fcn.00407fd0
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040a88f
mov esp, ebp
pop ebp
ret