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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dc36b
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x523f10]
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.004859f0
mov byte [ebp - 4], 1
call fcn.004ab443
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x482dc7
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.004ab443
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x482e00
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 0x482e44
mov ecx, str..dat
movzx eax, cx
push eax
mov dword [ebp - 0x14], eax
call fcn.004b33b0
cmp eax, esi
je 0x482e5e
mov edx, dword [ebp - 0x14]
push edx
push eax
mov ecx, ebx
call fcn.00424e6b
jmp 0x482e5e
push str..dat
call fcn.004b9b7a
add esp, 4
push eax
push str..dat
mov ecx, ebx
call fcn.004253ee
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.0042545f
add eax, 0x10
mov dword [ebx], eax
lea eax, [ebp - 0x10]
add esp, 4
push eax
mov byte [ebp - 4], 2
call fcn.0046bef0
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 0x482ebd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp ebx, esi
je 0x482fb8
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.constructor:_separate_data_file_found
push ecx
call fcn.0046bd30
add esp, 8
call fcn.00482ca0
push ecx
mov ebx, esp
mov dword [ebp - 0x20], esp
mov dword [ebp - 0x1c], ebx
call fcn.004ab443
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x482f01
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 0x482f3b
mov ecx, str..dat
movzx eax, cx
push eax
mov dword [ebp - 0x18], eax
call fcn.004b33b0
cmp eax, esi
je 0x482f55
mov edx, dword [ebp - 0x18]
push edx
push eax
mov ecx, ebx
call fcn.00424e6b
jmp 0x482f55
push str..dat
call fcn.004b9b7a
add esp, 4
push eax
push str..dat
mov ecx, ebx
call fcn.004253ee
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.0042545f
add eax, 0x10
mov dword [ebx], eax
lea eax, [ebp - 0x14]
add esp, 4
push eax
mov byte [ebp - 4], 2
call fcn.0046bef0
add esp, 0xc
push eax
lea ecx, [edi + 0x8c]
mov byte [ebp - 4], 7
call fcn.00424ef9
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 0x482fc7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x482fc7
lea ecx, [ebp + 0xc]
push ecx
lea ecx, [edi + 0x8c]
call fcn.00424ef9
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.00483560
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 0x48304d
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