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

Disassembly:
push 0xb0
mov eax, 0x68ee98
call fcn.0056e23b
mov edi, ecx
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 0xbc], ecx
lea ecx, [ebp - 0x64]
push eax
call fcn.0041d41a
and dword [ebp - 4], 0
xor ebx, ebx
inc ebx
cmp dword [ebp - 0x50], 4
jbe 0x47d457
push 4
push 0
lea eax, [ebp - 0xb4]
push eax
lea ecx, [ebp - 0x60]
call fcn.00407b80
mov byte [ebp - 4], bl
mov ecx, ebx
mov dword [ebp - 0xbc], ecx
cmp dword [eax + 0x14], 8
jb 0x47d440
mov eax, dword [eax]
push 0x6c49d0
push eax
call fcn.0064c97b
mov byte [ebp - 0xb5], bl
pop ecx
pop ecx
test eax, eax
je 0x47d45e
mov byte [ebp - 0xb5], 0
and dword [ebp - 4], 0
mov eax, dword [ebp - 0xbc]
test al, 1
je 0x47d483
push 0
and eax, 0xfffffffe
lea ecx, [ebp - 0xb4]
push ebx
mov dword [ebp - 0xbc], eax
call fcn.00401d60
cmp byte [ebp - 0xb5], 0
je 0x47d498
push 4
push 0
lea ecx, [ebp - 0x60]
call fcn.00401c10
lea ecx, [edi + 0x24]
neg ecx
lea eax, [edi + 0x28]
sbb ecx, ecx
and ecx, eax
cmp dword [ebp - 0x4c], 8
lea eax, [ebp - 0x60]
cmovae eax, dword [ebp - 0x60]
push ecx
push eax
call fcn.00456460
pop ecx
pop ecx
lea ecx, [ebp - 0x48]
call fcn.004173bc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x9c]
call fcn.004173bc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x80]
call fcn.004173bc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c]
call fcn.004173bc
mov byte [ebp - 4], 5
lea esi, [edi + 0x28]
cmp dword [esi + 0x14], 8
jb 0x47d4f8
mov eax, dword [esi]
jmp 0x47d4fa
mov eax, esi
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x80]
push ecx
lea ecx, [ebp - 0x9c]
push ecx
lea ecx, [ebp - 0x48]
push ecx
push eax
call fcn.00565361
add esp, 0x14
lea eax, [ebp - 0x44]
cmp dword [ebp - 0x30], 8
lea ecx, [edi + 0x40]
cmovae eax, dword [ebp - 0x44]
push eax
call fcn.004179fb
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
lea ecx, [edi + 0x94]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.004179fb
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
lea eax, [ebp - 0x7c]
cmovae ecx, dword [ebp - 0x28]
cmp dword [ebp - 0x68], 8
push ecx
cmovae eax, dword [ebp - 0x7c]
push eax
lea eax, [edi + 0x78]
push 0x6c49dc
push eax
call fcn.0041ccda
cmp dword [ebp - 0x84], 8
lea ecx, [ebp - 0x98]
lea eax, [ebp - 0x44]
cmovae ecx, dword [ebp - 0x98]
cmp dword [ebp - 0x30], 8
push ecx
cmovae eax, dword [ebp - 0x44]
push eax
lea eax, [edi + 0x5c]
push 0x6c49e8
push eax
call fcn.0041ccda
add esp, 0x20
cmp dword [edi + 0x38], 2
jb 0x47d5dd
cmp dword [esi + 0x10], ebx
ja 0x47d5ae
push str.invalid_string_position
call fcn.0056af4e
cmp dword [esi + 0x14], 8
jb 0x47d5b8
mov eax, dword [esi]
jmp 0x47d5ba
mov eax, esi
cmp word [eax + 2], 0x3a
jne 0x47d5dd
cmp dword [esi + 0x14], 8
jb 0x47d5c9
mov esi, dword [esi]
push esi
lea eax, [edi + 8]
push 0x6c49f4
push eax
call fcn.0041ccda
add esp, 0xc
jmp 0x47d5ee
cmp dword [esi + 0x14], 8
jb 0x47d5e5
mov esi, dword [esi]
push esi
lea ecx, [edi + 8]
call fcn.004179fb
cmp dword [ebp + 0xc], 0
je 0x47d61e
lea eax, [edi + 0xc]
cmp dword [eax + 0x14], 8
jb 0x47d5ff
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x47d615
shr eax, 4
and al, 1
mov byte [edi + 4], al
jmp 0x47d61e
mov ecx, edi
call fcn.0047ca8c
xor ebx, ebx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c]
call fcn.0041786a
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x80]
call fcn.0041786a
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x9c]
call fcn.0041786a
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.0041786a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.0041786a
mov eax, ebx
call fcn.0056e1e5
ret 8