Function at 0x402b78
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
add esp, 0xfffffc00
cmp byte [eax + 0x17], 0
mov ebx, 0x40f567
je 0x402d73
push 0x400
lea eax, [esp + 4]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
lea edx, [ebx + 0x18a]
push edx
lea eax, [esp + 4]
call fcn.00403e8c
push eax
call fcn.004066d0
add esp, 8
push esp
call sub.KERNEL32.DLL_GetFileAttributesA
cmp eax, 0xffffffff
je 0x402c0e
lea edx, [ebx + 0x1c2]
lea ecx, [ebx + 4]
push edx
lea edx, [ebx + 0x195]
mov eax, 0x80000000
call fcn.00402134
push esp
lea ecx, [ebx + 4]
lea edx, [ebx + 0x1c9]
mov eax, 0x80000000
call fcn.00402134
lea ecx, [ebx + 0x214]
lea edx, [ebx + 0x1c9]
push ecx
lea ecx, [ebx + 0x205]
mov eax, 0x80000000
call fcn.00402134
lea eax, [ebx + 4]
lea ecx, [ebx + 4]
push eax
mov eax, 0x80000000
lea edx, [ebx + 0x21e]
call fcn.00402134
lea edx, [ebx + 4]
lea ecx, [ebx + 4]
push edx
lea edx, [ebx + 0x268]
mov eax, 0x80000000
call fcn.00402134
lea ecx, [ebx + 4]
lea edx, [ebx + 0x2b4]
push ecx
lea ecx, [ebx + 4]
mov eax, 0x80000000
call fcn.00402134
lea eax, [ebx + 4]
lea ecx, [ebx + 4]
push eax
mov eax, 0x80000000
lea edx, [ebx + 0x302]
call fcn.00402134
lea edx, [ebx + 4]
lea ecx, [ebx + 4]
push edx
lea edx, [ebx + 0x352]
mov eax, 0x80000000
call fcn.00402134
lea ecx, [ebx + 0x19b]
lea edx, [ebx + 0x39f]
push ecx
lea ecx, [ebx + 4]
mov eax, 0x80000000
call fcn.00402134
lea eax, [ebx + 0x19b]
lea ecx, [ebx + 4]
push eax
mov eax, 0x80000000
lea edx, [ebx + 0x3ba]
call fcn.00402134
lea edx, [ebx + 0x19b]
lea ecx, [ebx + 4]
push edx
lea edx, [ebx + 0x3d9]
mov eax, 0x80000000
call fcn.00402134
lea ecx, [ebx + 0x19b]
lea edx, [ebx + 0x3fe]
push ecx
lea ecx, [ebx + 4]
mov eax, 0x80000000
call fcn.00402134
lea eax, [ebx + 0x19b]
lea ecx, [ebx + 4]
push eax
mov eax, 0x80000000
lea edx, [ebx + 0x428]
call fcn.00402134
lea edx, [ebx + 0x19b]
lea ecx, [ebx + 4]
push edx
lea edx, [ebx + 0x44f]
mov eax, 0x80000000
call fcn.00402134
lea ecx, [ebx + 0x19b]
lea edx, [ebx + 0x475]
push ecx
lea ecx, [ebx + 4]
mov eax, 0x80000000
call fcn.00402134
lea eax, [ebx + 0x19b]
lea ecx, [ebx + 4]
push eax
mov eax, 0x80000000
lea edx, [ebx + 0x4a2]
call fcn.00402134
lea edx, [ebx + 0x510]
lea ecx, [ebx + 0x19b]
push edx
lea edx, [ebx + 0x4cc]
mov eax, 0x80000002
call fcn.00402134
jmp 0x402e8b
lea edx, [ebx + 0x1c9]
mov eax, 0x80000000
call fcn.004022e4
lea edx, [ebx + 0x195]
mov eax, 0x80000000
call fcn.004022e4
lea edx, [ebx + 0x21e]
mov eax, 0x80000000
call fcn.004022e4
lea edx, [ebx + 0x268]
mov eax, 0x80000000
call fcn.004022e4
lea edx, [ebx + 0x2b4]
mov eax, 0x80000000
call fcn.004022e4
lea edx, [ebx + 0x302]
mov eax, 0x80000000
call fcn.004022e4
lea edx, [ebx + 0x352]
mov eax, 0x80000000
call fcn.004022e4
lea edx, [ebx + 0x39f]
mov eax, 0x80000000
call fcn.004022e4
lea edx, [ebx + 0x3ba]
mov eax, 0x80000000
call fcn.004022e4
lea ecx, [ebx + 4]
lea edx, [ebx + 0x3d9]
mov eax, 0x80000000
call fcn.00402310
lea ecx, [ebx + 4]
lea edx, [ebx + 0x3fe]
mov eax, 0x80000000
call fcn.00402310
lea ecx, [ebx + 4]
lea edx, [ebx + 0x428]
mov eax, 0x80000000
call fcn.00402310
lea ecx, [ebx + 4]
lea edx, [ebx + 0x44f]
mov eax, 0x80000000
call fcn.00402310
lea ecx, [ebx + 4]
lea edx, [ebx + 0x475]
mov eax, 0x80000000
call fcn.00402310
lea ecx, [ebx + 4]
lea edx, [ebx + 0x4a2]
mov eax, 0x80000000
call fcn.00402310
lea ecx, [ebx + 0x19b]
lea edx, [ebx + 0x4cc]
mov eax, 0x80000002
call fcn.00402310
add esp, 0x400
pop ebx
ret