Function at 0x480a04
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff98
xor eax, eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], eax
mov ecx, 3
lea eax, [ebp - 0x44]
mov edx, dword [0x40103c]
call fcn.004036c4
xor eax, eax
push ebp
push 0x480f5b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0xa86b9c
call fcn.004141ec
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
inc eax
imul edx, eax, 0xce
mov eax, 0xa873c8
call fcn.004139d8
mov eax, dword [ebp - 4]
inc eax
imul edx, eax, 0xce
mov eax, dword [0xa873c8]
call fcn.00404364
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push 0x480f68
call sub.kernel32.dll_CreateFileA
mov dword [ebp - 0x24], eax
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push 0x480f88
call sub.kernel32.dll_CreateFileA
mov dword [ebp - 0x28], eax
push 0
push 0
push 0
mov eax, dword [ebp - 0x24]
push eax
call sub.kernel32.dll_SetFilePointer
push 0
push 0
push 0
mov eax, dword [ebp - 0x28]
push eax
call sub.kernel32.dll_SetFilePointer
mov eax, dword [ebp - 4]
test eax, eax
jl 0x480c38
inc eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 8], 0
mov edx, dword [ebp - 8]
mov eax, 0xa86b9c
call fcn.00414208
lea ecx, [ebp - 0x48]
mov edx, 0x480fac
mov eax, 0xa86b9c
call fcn.004142d4
cmp dword [ebp - 0x48], 0
je 0x480c2c
lea ecx, [ebp - 0x4c]
mov edx, 0x480fbc
mov eax, 0xa86b9c
call fcn.004142d4
cmp dword [ebp - 0x4c], 0
je 0x480c2c
lea ecx, [ebp - 0x50]
mov edx, 0x480fd4
mov eax, 0xa86b9c
call fcn.004142d4
cmp dword [ebp - 0x50], 0
je 0x480c2c
mov edx, 0x480fe4
mov eax, 0xa86b9c
call fcn.004145e0
dec eax
mov dword [ebp - 0x14], eax
imul eax, dword [ebp - 0x14], 0x67
mov edx, dword [0xa873c8]
lea eax, [edx + eax*2]
mov dword [ebp - 0x30], eax
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x24]
push eax
call sub.kernel32.dll_ReadFile
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x24]
push eax
call sub.kernel32.dll_ReadFile
mov dx, word [ebp - 0x20]
mov ax, word [ebp - 0x1c]
call fcn.0041942c
mov edx, dword [ebp - 0x30]
mov dword [edx + 0xc], eax
mov dx, word [ebp - 0x20]
mov ax, word [ebp - 0x1c]
call fcn.0041942c
mov edx, dword [ebp - 0x30]
mov dword [edx + 0x10], eax
mov dx, 0x5c
mov ax, 0x5c
call fcn.0041942c
mov edx, dword [ebp - 0x30]
mov dword [edx + 0x14], eax
mov eax, dword [ebp - 0x1c]
imul dword [ebp - 0x20]
mov ecx, eax
add ecx, ecx
add ecx, 4
mov eax, dword [ebp - 0x30]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 0x24]
call fcn.0042ed84
mov eax, dword [ebp - 0x30]
add eax, 0xc
call fcn.0042dee8
mov eax, dword [ebp - 0x30]
mov edx, dword [eax + 0x14]
mov ecx, 0x4224
mov eax, dword [ebp - 0x28]
call fcn.0042ed84
mov eax, dword [ebp - 0x30]
add eax, 0x14
call fcn.0042dee8
imul eax, dword [ebp - 0x14], 0x67
mov edx, dword [0xa873c8]
lea eax, [edx + eax*2]
call fcn.00430ba8
inc dword [ebp - 8]
dec dword [ebp - 0x2c]
jne 0x480aef
mov eax, dword [ebp - 0x24]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 0x28]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 4]
test eax, eax
jl 0x480f2d
inc eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 8], 0
mov edx, dword [ebp - 8]
mov eax, 0xa86b9c
call fcn.00414208
lea ecx, [ebp - 0x54]
mov edx, 0x480fac
mov eax, 0xa86b9c
call fcn.004142d4
cmp dword [ebp - 0x54], 0
je 0x480f21
lea ecx, [ebp - 0x58]
mov edx, 0x480fbc
mov eax, 0xa86b9c
call fcn.004142d4
cmp dword [ebp - 0x58], 0
je 0x480f21
lea ecx, [ebp - 0x5c]
mov edx, 0x480fd4
mov eax, 0xa86b9c
call fcn.004142d4
cmp dword [ebp - 0x5c], 0
je 0x480f21
lea ecx, [ebp - 0x60]
mov edx, 0x480ff8
mov eax, 0xa86b9c
call fcn.004142d4
mov edx, dword [ebp - 0x60]
lea eax, [ebp - 0x44]
call fcn.00403144
lea ecx, [ebp - 0x64]
mov edx, 0x48100c
mov eax, 0xa86b9c
call fcn.004142d4
mov edx, dword [ebp - 0x64]
lea eax, [ebp - 0x40]
call fcn.00403144
lea ecx, [ebp - 0x68]
mov edx, 0x481020
mov eax, 0xa86b9c
call fcn.004142d4
mov edx, dword [ebp - 0x68]
lea eax, [ebp - 0x3c]
call fcn.00403144
imul eax, dword [ebp - 8], 0x67
mov edx, dword [0xa873c8]
lea eax, [edx + eax*2]
mov dword [ebp - 0x34], eax
mov edx, 0x481034
mov eax, 0xa86b9c
call fcn.004145e0
mov edx, dword [ebp - 0x34]
mov dword [edx + 0xb0], eax
mov edx, 0x48104c
mov eax, 0xa86b9c
call fcn.004145e0
mov edx, dword [ebp - 0x34]
mov dword [edx + 0xb8], eax
mov edx, 0x481064
mov eax, 0xa86b9c
call fcn.004145e0
mov edx, dword [ebp - 0x34]
mov dword [edx + 0xc0], eax
mov eax, dword [ebp - 4]
test eax, eax
jl 0x480dc7
inc eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 1
imul eax, dword [ebp - 0xc], 0x67
mov edx, dword [0xa873c8]
mov eax, dword [edx + eax*2 + 4]
mov edx, dword [ebp - 0x10]
mov edx, dword [ebp + edx*4 - 0x48]
call fcn.00403368
jne 0x480db6
mov eax, dword [ebp - 0xc]
inc eax
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x34]
mov dword [ecx + edx*8 + 0xa4], eax
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 4
jne 0x480d89
inc dword [ebp - 0xc]
dec dword [ebp - 0x38]
jne 0x480d82
mov eax, dword [ebp - 0x34]
cmp dword [eax + 0xac], 0
jle 0x480e27
mov eax, dword [ebp - 0x34]
cmp dword [eax + 0xb4], 0
jne 0x480e27
mov eax, dword [ebp - 0x34]
cmp dword [eax + 0xbc], 0
jne 0x480e27
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0x34]
mov ecx, dword [edx + 0xac]
mov dword [eax + 0xb4], ecx
mov ecx, dword [edx + 0xb0]
mov dword [eax + 0xb8], ecx
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0x34]
mov ecx, dword [edx + 0xbc]
mov dword [eax + 0xac], ecx
mov ecx, dword [edx + 0xc0]
mov dword [eax + 0xb0], ecx
mov eax, dword [ebp - 0x34]
cmp dword [eax + 0xac], 0
jne 0x480e87
mov eax, dword [ebp - 0x34]
cmp dword [eax + 0xb4], 0
jne 0x480e87
mov eax, dword [ebp - 0x34]
cmp dword [eax + 0xbc], 0
jle 0x480e87
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0x34]
mov ecx, dword [edx + 0xbc]
mov dword [eax + 0xb4], ecx
mov ecx, dword [edx + 0xc0]
mov dword [eax + 0xb8], ecx
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0x34]
mov ecx, dword [edx + 0xac]
mov dword [eax + 0xbc], ecx
mov ecx, dword [edx + 0xb0]
mov dword [eax + 0xc0], ecx
mov eax, dword [ebp - 0x34]
cmp dword [eax + 0xac], 0
jle 0x480ed4
mov eax, dword [ebp - 0x34]
cmp dword [eax + 0xb4], 0
jle 0x480ed4
mov eax, dword [ebp - 0x34]
cmp dword [eax + 0xbc], 0
jne 0x480ed4
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0x34]
mov ecx, dword [edx + 0xb4]
mov dword [eax + 0xbc], ecx
mov ecx, dword [edx + 0xb8]
mov dword [eax + 0xc0], ecx
mov eax, dword [ebp - 0x34]
xor edx, edx
mov dword [eax + 0xb4], edx
mov eax, dword [ebp - 0x34]
cmp dword [eax + 0xac], 0
jne 0x480f21
mov eax, dword [ebp - 0x34]
cmp dword [eax + 0xb4], 0
jle 0x480f21
mov eax, dword [ebp - 0x34]
cmp dword [eax + 0xbc], 0
jle 0x480f21
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0x34]
mov ecx, dword [edx + 0xb4]
mov dword [eax + 0xac], ecx
mov ecx, dword [edx + 0xb8]
mov dword [eax + 0xb0], ecx
mov eax, dword [ebp - 0x34]
xor edx, edx
mov dword [eax + 0xb4], edx
inc dword [ebp - 8]
dec dword [ebp - 0x2c]
jne 0x480c60
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x480f62
lea eax, [ebp - 0x68]
mov edx, 9
call fcn.004030d0
lea eax, [ebp - 0x44]
mov ecx, 3
mov edx, dword [0x40103c]
call fcn.0040378c
ret