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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4de36b
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x527f10]
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.004876c0
mov byte [ebp - 4], 1
call fcn.004ad3ae
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x484a97
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.004ad3ae
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x484ad0
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 0x484b14
mov ecx, str..dat
movzx eax, cx
push eax
mov dword [ebp - 0x14], eax
call fcn.004b5332
cmp eax, esi
je 0x484b2e
mov edx, dword [ebp - 0x14]
push edx
push eax
mov ecx, ebx
call fcn.00424e5c
jmp 0x484b2e
push str..dat
call fcn.004bbaea
add esp, 4
push eax
push str..dat
mov ecx, ebx
call fcn.004253df
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.00425450
add eax, 0x10
mov dword [ebx], eax
lea eax, [ebp - 0x10]
add esp, 4
push eax
mov byte [ebp - 4], 2
call fcn.0046d920
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 0x484b8d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp ebx, esi
je 0x484c88
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.constructor:_separate_data_file_found
push ecx
call fcn.0046d760
add esp, 8
call fcn.00484970
push ecx
mov ebx, esp
mov dword [ebp - 0x20], esp
mov dword [ebp - 0x1c], ebx
call fcn.004ad3ae
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x484bd1
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 0x484c0b
mov ecx, str..dat
movzx eax, cx
push eax
mov dword [ebp - 0x18], eax
call fcn.004b5332
cmp eax, esi
je 0x484c25
mov edx, dword [ebp - 0x18]
push edx
push eax
mov ecx, ebx
call fcn.00424e5c
jmp 0x484c25
push str..dat
call fcn.004bbaea
add esp, 4
push eax
push str..dat
mov ecx, ebx
call fcn.004253df
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.00425450
add eax, 0x10
mov dword [ebx], eax
lea eax, [ebp - 0x14]
add esp, 4
push eax
mov byte [ebp - 4], 2
call fcn.0046d920
add esp, 0xc
push eax
lea ecx, [edi + 0x8c]
mov byte [ebp - 4], 7
call fcn.00424eea
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 0x484c97
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x484c97
lea ecx, [ebp + 0xc]
push ecx
lea ecx, [edi + 0x8c]
call fcn.00424eea
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.00485230
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 0x484d1d
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