Function at 0x47a9e0
Capabilities:
Check if file exists
Get file attributes
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d410b
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x518f10]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea eax, [edi + 0x70]
xor esi, esi
push eax
mov dword [ebp - 4], esi
call fcn.0047d660
mov byte [ebp - 4], 1
call fcn.004a35be
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x47aa37
push 0x80004005
call fcn.00422000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [edi + 0x8c], eax
push ecx
mov byte [ebp - 4], 2
mov ebx, esp
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x20], ebx
call fcn.004a35be
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x47aa70
push 0x80004005
call fcn.00422000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebx], eax
mov eax, str..dat
shr eax, 0x10
mov byte [ebp - 4], 3
mov dword [ebp - 0x18], eax
cmp eax, esi
jne 0x47aab4
mov ecx, str..dat
movzx eax, cx
push eax
mov dword [ebp - 0x14], eax
call fcn.004ab4f3
cmp eax, esi
je 0x47aace
mov edx, dword [ebp - 0x14]
push edx
push eax
mov ecx, ebx
call fcn.00424cac
jmp 0x47aace
push str..dat
call fcn.004b1cba
add esp, 4
push eax
push str..dat
mov ecx, ebx
call fcn.0042522f
mov byte [ebp - 4], 4
mov eax, dword [ebp + 0xc]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x20], esp
mov ebx, esp
push eax
call fcn.004252a0
add eax, 0x10
mov dword [ebx], eax
lea eax, [ebp - 0x10]
add esp, 4
push eax
mov byte [ebp - 4], 2
call fcn.00466c90
mov ecx, dword [ebp - 0x10]
add esp, 0xc
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ebx, ebx
cmp eax, 0xffffffff
mov eax, dword [ebp - 0x10]
setne bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x47ab2d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp ebx, esi
je 0x47ac28
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.constructor:_separate_data_file_found
push ecx
call fcn.00466ad0
add esp, 8
call fcn.0047a910
push ecx
mov ebx, esp
mov dword [ebp - 0x20], esp
mov dword [ebp - 0x1c], ebx
call fcn.004a35be
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x47ab71
push 0x80004005
call fcn.00422000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 5
cmp dword [ebp - 0x18], esi
jne 0x47abab
mov ecx, str..dat
movzx eax, cx
push eax
mov dword [ebp - 0x18], eax
call fcn.004ab4f3
cmp eax, esi
je 0x47abc5
mov edx, dword [ebp - 0x18]
push edx
push eax
mov ecx, ebx
call fcn.00424cac
jmp 0x47abc5
push str..dat
call fcn.004b1cba
add esp, 4
push eax
push str..dat
mov ecx, ebx
call fcn.0042522f
mov byte [ebp - 4], 6
mov eax, dword [ebp + 0xc]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x1c], esp
mov ebx, esp
push eax
call fcn.004252a0
add eax, 0x10
mov dword [ebx], eax
lea eax, [ebp - 0x14]
add esp, 4
push eax
mov byte [ebp - 4], 2
call fcn.00466c90
add esp, 0xc
push eax
lea ecx, [edi + 0x8c]
mov byte [ebp - 4], 7
call fcn.00424d3a
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47ac37
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x47ac37
lea ecx, [ebp + 0xc]
push ecx
lea ecx, [edi + 0x8c]
call fcn.00424d3a
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
lea ecx, [edi + 0x40]
push ecx
mov dword [edi], 0xffffffff
mov dword [edi + 4], esi
mov dword [edi + 8], esi
mov dword [edi + 0xc], esi
mov dword [edi + 0x10], edx
mov dword [edi + 0x68], esi
mov dword [edi + 0x6c], esi
mov dword [edi + 0x18], esi
mov dword [edi + 0x1c], esi
mov dword [edi + 0x20], esi
mov dword [edi + 0x28], esi
mov dword [edi + 0x2c], esi
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], esi
mov dword [edi + 0x88], esi
mov dword [edi + 0x38], esi
mov dword [edi + 0x3c], eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [edi + 0x5c]
xor edx, edx
mov eax, 0x400000
div ecx
imul eax, ecx
mov dword [edi + 0x64], eax
call fcn.0047b1d0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x47acbd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10