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

Disassembly:
sub esp, 0x108
push ebx
mov ebx, dword [esp + 0x114]
push ebp
push esi
push edi
push 0x3a
push ebx
call sub.MSVCRT.dll_strchr
add esp, 8
test eax, eax
je 0x404d1f
push 0x484668
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [esp + 0x14]
push ebx
push ecx
call fcn.0040e790
add esp, 8
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x404f64
mov eax, dword [esp + 0x11c]
pop edi
pop esi
pop ebp
mov dword [eax], 0x7199f0
mov eax, 1
pop ebx
add esp, 0x108
ret
mov al, byte [0x71a010]
test al, al
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
je 0x404d77
push 0x71a010
lea ecx, [esp + 0x18]
push ecx
call esi
lea edx, [esp + 0x14]
push ebx
push edx
call fcn.0040e790
add esp, 8
lea eax, [esp + 0x14]
push eax
call edi
cmp eax, 0xffffffff
je 0x404d77
mov ecx, dword [esp + 0x11c]
pop edi
pop esi
pop ebp
mov dword [ecx], 0x71a010
mov eax, 1
pop ebx
add esp, 0x108
ret
mov eax, dword [0x71a218]
test eax, eax
mov dword [esp + 0x10], 0
jle 0x404df1
mov ebp, 0x61837c
push ebp
lea edx, [esp + 0x18]
push edx
call esi
lea eax, [esp + 0x14]
push ebx
push eax
call fcn.0040e790
add esp, 8
lea ecx, [esp + 0x14]
push ecx
call edi
cmp eax, 0xffffffff
mov eax, dword [esp + 0x10]
jne 0x404dca
mov ecx, dword [0x71a218]
inc eax
add ebp, 0x104
cmp eax, ecx
mov dword [esp + 0x10], eax
jge 0x404df1
jmp 0x404d8d
mov ecx, dword [esp + 0x11c]
mov edx, eax
pop edi
shl edx, 6
add edx, eax
pop esi
lea eax, [edx*4 + 0x61837c]
pop ebp
mov dword [ecx], eax
mov eax, 1
pop ebx
add esp, 0x108
ret
mov al, byte [0x7199f0]
test al, al
je 0x404e3d
push 0x7199f0
lea edx, [esp + 0x18]
push edx
call esi
lea eax, [esp + 0x14]
push ebx
push eax
call fcn.0040e790
add esp, 8
lea ecx, [esp + 0x14]
push ecx
call edi
cmp eax, 0xffffffff
je 0x404e3d
mov edx, dword [esp + 0x11c]
pop edi
pop esi
pop ebp
mov dword [edx], 0x7199f0
mov eax, 1
pop ebx
add esp, 0x108
ret
mov al, byte [0x719cfc]
test al, al
je 0x404e89
push 0x719cfc
lea eax, [esp + 0x18]
push eax
call esi
lea ecx, [esp + 0x14]
push ebx
push ecx
call fcn.0040e790
add esp, 8
lea edx, [esp + 0x14]
push edx
call edi
cmp eax, 0xffffffff
je 0x404e89
mov eax, dword [esp + 0x11c]
pop edi
pop esi
pop ebp
mov dword [eax], 0x719cfc
mov eax, 1
pop ebx
add esp, 0x108
ret
push 0x719af4
lea ecx, [esp + 0x18]
push ecx
call esi
lea edx, [esp + 0x14]
push ebx
push edx
call fcn.0040e790
add esp, 8
lea eax, [esp + 0x14]
push eax
call edi
cmp eax, 0xffffffff
je 0x404ecc
mov ecx, dword [esp + 0x11c]
pop edi
pop esi
pop ebp
mov dword [ecx], 0x719af4
mov eax, 1
pop ebx
add esp, 0x108
ret
mov al, byte [0x719bf8]
test al, al
je 0x404f18
push 0x719bf8
lea edx, [esp + 0x18]
push edx
call esi
lea eax, [esp + 0x14]
push ebx
push eax
call fcn.0040e790
add esp, 8
lea ecx, [esp + 0x14]
push ecx
call edi
cmp eax, 0xffffffff
je 0x404f18
mov edx, dword [esp + 0x11c]
pop edi
pop esi
pop ebp
mov dword [edx], 0x719bf8
mov eax, 1
pop ebx
add esp, 0x108
ret
mov al, byte [0x719e04]
test al, al
je 0x404f64
push 0x719e04
lea eax, [esp + 0x18]
push eax
call esi
lea ecx, [esp + 0x14]
push ebx
push ecx
call fcn.0040e790
add esp, 8
lea edx, [esp + 0x14]
push edx
call edi
cmp eax, 0xffffffff
je 0x404f64
mov eax, dword [esp + 0x11c]
pop edi
pop esi
pop ebp
mov dword [eax], 0x719e04
mov eax, 1
pop ebx
add esp, 0x108
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x108
ret