Function at 0x47481b
Capabilities:
Check if file exists

Disassembly:
push 0x278
mov eax, 0x4c2ae3
call fcn.00435d5d
mov esi, dword [ebp + 0xc]
xor edi, edi
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x280], ebx
mov dword [ebp - 0x284], edi
cmp dword [esi + 0x14], 8
jb 0x474848
mov eax, dword [esi]
jmp 0x47484a
mov eax, esi
push eax
lea eax, [ebp - 0x27c]
push eax
call fcn.00474698
pop ecx
pop ecx
cmp dword [esi + 0x14], 8
mov dword [ebp - 4], edi
jb 0x474864
mov esi, dword [esi]
lea eax, [ebp - 0x234]
push esi
push eax
call fcn.0047450b
cmp dword [ebp - 0x220], 8
lea eax, [ebp - 0x234]
mov byte [ebp - 4], 1
cmovae eax, dword [ebp - 0x234]
push eax
lea eax, [ebp - 0x264]
push eax
call fcn.0047431f
cmp dword [ebp - 0x220], 8
lea eax, [ebp - 0x234]
mov byte [ebp - 4], 2
cmovae eax, dword [ebp - 0x234]
push eax
lea eax, [ebp - 0x24c]
push eax
call fcn.0047441c
add esp, 0x18
mov byte [ebp - 4], 3
call fcn.004782b7
test al, al
je 0x4748ea
push edi
pop ecx
push esi
push ebx
push edi
push ebp
push ebp
push esp
pop eax
pop edi
pop ecx
pop ebp
pop ecx
pop esp
push esi
pop eax
pop ebp
push ebp
push ebp
push eax
pop edi
push edx
push eax
push eax
pop ebp
push ebx
pop edx
push ebp
pop esi
xor edi, edi
xor esi, esi
inc esi
push 0x20a
lea eax, [ebp - 0x21c]
push edi
push eax
call fcn.0047a420
cmp dword [ebp - 0x238], 8
lea edx, [ebp - 0x24c]
lea ecx, [ebp - 0x264]
cmovae edx, dword [ebp - 0x24c]
lea eax, [ebp - 0x27c]
cmp dword [ebp - 0x250], 8
push edx
cmovae ecx, dword [ebp - 0x264]
cmp dword [ebp - 0x268], 8
push esi
cmovae eax, dword [ebp - 0x27c]
push ecx
push eax
lea eax, [ebp - 0x21c]
push str._s_s__d__s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x24
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x474a6e
inc esi
cmp esi, 0x3e8
jl 0x4748ed
call fcn.00478524
test al, al
je 0x474995
pop ecx
pop esp
push eax
push esp
push ebx
push ecx
push esp
push ebx
pop esi
pop edi
pop ebp
pop edi
pop edi
pop ebx
push edi
pop edx
pop ebx
pop eax
pop esi
pop esi
push ecx
push ebx
call fcn.00478410
test al, al
je 0x4749b4
pop esi
push ebp
pop ecx
pop eax
pop esi
push edx
pop edi
push ecx
push edx
pop esp
push esp
pop esi
pop esp
push edi
push eax
pop ecx
push ebx
pop ebx
pop esi
push edi
pop ebx
pop esi
call fcn.00478272
test al, al
je 0x4749d7
push ebp
push eax
push esp
pop edx
pop edx
pop eax
pop esi
pop edi
pop edi
push ebx
push edx
pop ebp
pop ecx
push esi
push eax
push esp
pop ecx
pop ebx
pop ebp
pop ebx
pop edx
pop esi
pop esi
pop esp
push esi
pop ebx
call fcn.0047822d
test al, al
je 0x4749f5
pop ebx
pop ebp
pop edi
pop eax
pop ebp
pop edx
pop ebp
push eax
push esp
push eax
push ebx
push esp
pop esp
pop edi
pop ebp
pop edx
push esp
push ebx
push eax
pop esi
pop esi
call fcn.00478524
test al, al
je 0x474a1d
pop edx
pop ebp
pop edx
pop edx
pop esp
pop ebx
push esi
push ebx
push edx
pop esi
push eax
pop edx
pop esp
push edi
pop ebx
pop esi
pop esp
pop edx
pop ecx
push esp
pop ebp
push edx
push edx
push ecx
pop edi
push ebp
push edx
push ecx
pop eax
push esi
pop ebx
mov ecx, dword [ebp - 0x280]
push 0x4c4338
call fcn.00401dcf
xor edi, edi
lea ecx, [ebp - 0x24c]
xor ebx, ebx
push edi
inc ebx
push ebx
call fcn.00402317
push edi
push ebx
lea ecx, [ebp - 0x264]
call fcn.00402317
push edi
push ebx
lea ecx, [ebp - 0x234]
call fcn.00402317
push edi
push ebx
lea ecx, [ebp - 0x27c]
call fcn.00402317
mov eax, dword [ebp - 0x280]
jmp 0x474ab5
lea eax, [ebp - 0x21c]
mov ecx, ebx
push eax
call fcn.00401dcf
xor esi, esi
lea ecx, [ebp - 0x24c]
push edi
inc esi
push esi
call fcn.00402317
push edi
push esi
lea ecx, [ebp - 0x264]
call fcn.00402317
push edi
push esi
lea ecx, [ebp - 0x234]
call fcn.00402317
push edi
push esi
lea ecx, [ebp - 0x27c]
call fcn.00402317
mov eax, ebx
call fcn.00435d07
ret