Function at 0x482d90
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c0f80
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x2c], edi
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
cmp dword [ebp + 8], ebx
je 0x482e19
lea esi, [edi + 0x7d]
mov ecx, esi
call fcn.0042e910
test eax, eax
je 0x482e94
mov eax, dword [esi]
push 0x5ccefc
push eax
call fcn.0051147f
add esp, 8
mov dword [ebp - 0x18], eax
cmp eax, ebx
jne 0x482e06
mov ecx, dword [ebp + 0xc]
mov dword [ecx], ebx
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
push eax
push 8
push 1
lea edx, [ebp - 0x34]
push edx
call fcn.00510f8f
add esp, 0x10
jmp 0x482e3d
mov eax, dword [edi + 0x85]
cmp eax, ebx
je 0x482df1
cmp dword [edi + 0x89], ebx
jle 0x482df1
mov ecx, dword [eax]
mov dword [ebp - 0x34], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x30], edx
add dword [edi + 0x8d], 8
push 8
push ebx
lea eax, [ebp - 0x34]
push eax
call fcn.0049d140
add esp, 0xc
test eax, eax
jne 0x482dec
push ebx
push ebx
push ebx
push 0x5d2ec8
call fcn.0049d010
add esp, 0x10
lea esi, [edi + 0x11e]
mov dword [esi], eax
cmp eax, ebx
jne 0x482e76
mov edx, dword [ebp + 0xc]
mov dword [edx], ebx
jmp 0x482df1
push eax
call fcn.0049ee20
add esp, 4
mov dword [edi + 0x122], eax
cmp eax, ebx
jne 0x482e9e
push ebx
push ebx
push esi
call fcn.0049d040
add esp, 0xc
mov eax, dword [ebp + 0xc]
mov dword [eax], ebx
jmp 0x482df1
mov dword [ebp - 4], ebx
wait
cmp dword [ebp + 8], ebx
jne 0x482eba
push 0x481120
push edi
mov ecx, dword [esi]
push ecx
call fcn.004a5a80
add esp, 0xc
jmp 0x482ec9
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [esi]
push eax
call fcn.0049d800
add esp, 8
push 8
mov ecx, dword [esi]
push ecx
call fcn.0049d110
mov edx, dword [edi + 0x122]
push edx
mov eax, dword [esi]
push eax
call fcn.0049bb30
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x24]
push edx
mov ebx, dword [ebp + 0x14]
push ebx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [edi + 0x122]
push ecx
mov edx, dword [esi]
push edx
call fcn.004a0180
add esp, 0x34
cmp dword [ebp - 0x24], 0x10
jne 0x482f18
mov eax, dword [esi]
push eax
call fcn.004a0940
add esp, 4
cmp dword [ebp - 0x20], 3
jne 0x482f29
mov ecx, dword [esi]
push ecx
call fcn.004a14b0
add esp, 4
cmp dword [ebp - 0x24], 8
jge 0x482f3a
mov edx, dword [esi]
push edx
call fcn.004a14b0
add esp, 4
push 0x10
mov eax, dword [edi + 0x122]
push eax
mov ecx, dword [esi]
push ecx
call fcn.0049f720
add esp, 0xc
test eax, eax
je 0x482f5d
mov edx, dword [esi]
push edx
call fcn.004a14b0
add esp, 4
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x482f69
cmp eax, 4
jne 0x482f74
mov eax, dword [esi]
push eax
call fcn.004a1540
add esp, 4
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [edi + 0x122]
push edx
mov eax, dword [esi]
push eax
call fcn.0049fe60
add esp, 0xc
test eax, eax
je 0x482fae
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ecx + 2]
mov eax, dword [ebp + 0x1c]
mov byte [eax], dl
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ecx + 4]
mov byte [eax + 1], dl
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ecx + 6]
mov byte [eax + 2], dl
lea eax, [ebp - 0x3c]
push eax
mov ecx, dword [edi + 0x122]
push ecx
mov edx, dword [esi]
push edx
call fcn.004a0040
add esp, 0xc
test eax, eax
je 0x482fe6
sub esp, 0x10
fld qword [ebp - 0x3c]
fstp qword [esp + 8]
fld qword [0x5d2ec0]
fstp qword [esp]
mov eax, dword [esi]
push eax
call fcn.004a1470
add esp, 0x14
mov ecx, dword [edi + 0x122]
push ecx
mov edx, dword [esi]
push edx
call fcn.0049c0b0
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x24]
push ecx
push ebx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [edi + 0x122]
push eax
mov ecx, dword [esi]
push ecx
call fcn.004a0180
mov edx, dword [edi + 0x122]
push edx
mov eax, dword [esi]
push eax
call fcn.0049f740
mov ebx, eax
mov dword [ebp + 0x10], ebx
mov ecx, dword [edi + 0x122]
push ecx
mov edx, dword [esi]
push edx
call fcn.0049fe20
movzx eax, al
mov dword [ebp + 0x1c], eax
mov ecx, dword [ebp + 0x18]
mov byte [ecx], al
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
imul eax, ebx
push eax
call fcn.00510ac5
add esp, 0x40
mov ebx, eax
test ebx, ebx
jne 0x483069
push 0x5d2ea0
mov ecx, dword [esi]
push ecx
call fcn.0049f5c0
mov edx, dword [ebp + 0xc]
mov dword [edx], ebx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
add ecx, ecx
add ecx, ecx
push ecx
call fcn.00510ac5
add esp, 4
mov ecx, eax
mov dword [ebp - 0x14], ecx
test ecx, ecx
jne 0x483096
push 0x5d2ea0
mov edx, dword [esi]
push edx
call fcn.0049f5c0
xor eax, eax
mov dword [ebp - 0x28], eax
mov edx, dword [ebp + 0x14]
cmp eax, dword [edx]
jge 0x4830b0
mov edx, eax
imul edx, dword [ebp + 0x10]
add edx, ebx
mov dword [ecx + eax*4], edx
inc eax
jmp 0x483098
push ecx
mov eax, dword [edi + 0x11e]
push eax
call fcn.0049c670
push 0
mov ecx, dword [edi + 0x11e]
push ecx
call fcn.0049c730
mov edx, dword [ebp - 0x14]
push edx
call fcn.00510b8f
add esp, 0x14
mov dword [ebp - 0x14], 0
cmp dword [ebp + 8], 0
je 0x4830f0
mov eax, dword [ebp - 0x18]
push eax
call fcn.00511023
add esp, 4
wait
mov dword [ebp - 4], 0xffffffff
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18