Function at 0x44fe50
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x530860
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
mov eax, dword [esp + 0x50]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push eax
mov dword [esp + 0x28], esi
call fcn.0043d090
lea ebx, [esi + 0x1ec]
mov edi, 1
lea ecx, [esi + 0x1f4]
mov dword [esp + 0x58], 0
mov word [ebx], di
mov word [ebx + 2], di
mov dword [ebx + 4], edi
call fcn.0041b350
mov word [esi + 0x208], di
mov word [esi + 0x20a], di
mov dword [esi + 0x20c], edi
lea ebp, [esi + 0x210]
mov edi, 4
mov ecx, ebp
call fcn.0041b350
add ebp, 0xc
dec edi
jne 0x44fec3
push fcn.004a8ce0
push fcn.004a81e0
lea eax, [esi + 0x240]
push 3
push 0x18
push eax
call fcn.0051c73f
mov byte [esp + 0x58], 1
lea eax, [esi + 0x294]
mov ecx, 0x40
mov word [eax], 0
mov word [eax + 2], 0
add eax, 4
dec ecx
jne 0x44fefa
mov edi, dword [sym.imp.MSVCRT.dll_fread]
mov dword [esi], 0x5369dc
mov ecx, dword [0x659a18]
lea ebp, [esi + 0x1e4]
push ecx
push 1
push 4
push ebp
call edi
mov edx, dword [0x659a18]
lea eax, [esi + 0x1e8]
push edx
push 1
push 4
push eax
call edi
mov eax, dword [0x659a18]
push eax
push 1
push 8
push ebx
call edi
mov ecx, dword [0x659a18]
lea eax, [esi + 0x1f4]
push ecx
push 1
push 0xc
push eax
call edi
mov edx, dword [0x659a18]
add esp, 0x40
lea ebx, [esi + 0x200]
push edx
push 1
push 4
push ebx
call edi
mov ecx, dword [0x659a18]
lea eax, [esi + 0x204]
push ecx
push 1
push 4
push eax
call edi
mov edx, dword [0x659a18]
lea eax, [esi + 0x208]
push edx
push 1
push 8
push eax
call edi
mov eax, dword [0x659a18]
push eax
push 1
lea eax, [esi + 0x210]
push 0x30
push eax
call edi
mov ecx, dword [0x659a18]
add esp, 0x40
push ecx
call dword [sym.imp.MSVCRT.dll_ftell]
add esp, 4
mov ecx, esi
push eax
call fcn.0043b300
mov eax, dword [esi + 8]
xor edx, edx
or al, 1
mov ecx, 0x10
mov dword [esi + 8], eax
lea eax, [esi + 0x288]
lea edi, [esi + 0x394]
mov dword [eax], edx
mov dword [eax + 4], edx
mov dword [eax + 8], edx
xor eax, eax
rep stosd dword es:[edi], eax
lea edx, [esi + 0x3d4]
xor ecx, ecx
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov ecx, dword [esi + 0x1e8]
movsx eax, word [esi + 0x14]
movsx edx, word [esi + 0x10]
sub eax, edx
mov dword [esp + 0x40], 0x5a
sub eax, ecx
mov dword [esp + 0x44], 0x10e
inc eax
mov dword [esp + 0x48], 0xb4
cdq
sub eax, edx
mov dword [esp + 0x4c], 0
movsx edx, word [esi + 0x12]
sar eax, 1
mov dword [esp + 0x1c], eax
movsx eax, word [esi + 0x16]
sub eax, edx
sub eax, ecx
inc eax
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x20], eax
mov eax, dword [ebp]
and eax, 7
xor ebp, ebp
mov ecx, dword [esp + eax*4 + 0x40]
mov dword [esp + 0x18], ecx
mov ecx, dword [ebx]
test ecx, ecx
jle 0x450171
lea eax, [esi + 0x294]
mov dword [esp + 0x60], ebp
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x60]
cdq
idiv ecx
mov edx, dword [esp + 0x18]
movsx ecx, word [esi + 0x10]
mov edi, eax
movsx eax, word [esi + 0x12]
add edi, edx
movsx edx, word [esi + 0x16]
sub edx, eax
inc edx
push edx
movsx edx, word [esi + 0x14]
sub edx, ecx
lea ecx, [esp + 0x44]
inc edx
push edx
push 0
push 0
call fcn.004b4a60
mov ecx, dword [eax]
push edi
mov dword [esp + 0x3c], ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x40], eax
movsx eax, ax
movsx ecx, cx
add eax, ecx
cdq
sub eax, edx
movsx edx, word [esp + 0x42]
sar eax, 1
mov word [esp + 0x34], ax
movsx eax, word [esp + 0x3e]
add eax, edx
cdq
sub eax, edx
sar eax, 1
mov word [esp + 0x36], ax
call fcn.00470d60
imul eax, dword [esp + 0x20]
add eax, 0x8000
push edi
cdq
and edx, 0xffff
add eax, edx
sar eax, 0x10
mov word [esp + 0x30], ax
call fcn.00470cc0
imul eax, dword [esp + 0x28]
add eax, 0x8000
mov ecx, dword [esp + 0x38]
cdq
and edx, 0xffff
add esp, 8
add eax, edx
sar eax, 0x10
mov word [esp + 0x2a], ax
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x2a]
add eax, ecx
mov word [esp + 0x10], ax
mov eax, dword [esp + 0x32]
add edx, eax
mov eax, dword [esp + 0x14]
mov word [esp + 0x12], dx
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
mov ecx, dword [esp + 0x60]
add ecx, 0x168
inc ebp
mov dword [esp + 0x60], ecx
mov ecx, dword [ebx]
add eax, 4
cmp ebp, ecx
mov dword [esp + 0x14], eax
jl 0x45007b
mov edx, dword [esi + 0x208]
mov dword [0x673494], edx
mov eax, dword [esi + 0x20c]
cmp word [0x673494], 0
mov dword [0x673498], eax
jne 0x45019b
mov word [0x673496], 0
lea ebx, [esi + 0x240]
lea ebp, [esi + 0x210]
mov edi, 3
mov eax, dword [esi + 0x204]
mov ecx, dword [0x659a28]
shl eax, 1
push 0
push ecx
push eax
push eax
mov ecx, ebx
call fcn.004a8300
mov ecx, ebx
call fcn.004a8b90
mov edx, ebp
mov eax, dword [edx]
mov dword [0x67349c], eax
mov al, byte [0x8fa7dc]
mov ecx, dword [edx + 4]
mov dword [0x6734a0], ecx
mov edx, dword [edx + 8]
mov dword [0x6734ac], ebx
test al, 1
mov dword [0x6734a4], edx
jne 0x45022c
mov dl, al
xor eax, eax
mov word [0x8fa7e2], ax
mov word [0x8fa7e0], ax
or dl, 1
or eax, 0xffffffff
push fcn.00402b00
mov byte [0x8fa7dc], dl
mov word [0x8fa7e6], ax
mov word [0x8fa7e4], ax
call fcn.0051c6ca
add esp, 4
lea eax, [esp + 0x40]
push 0
push eax
mov ecx, ebx
call fcn.004a8cf0
movsx ecx, word [eax]
movsx edx, word [eax + 4]
movsx eax, word [eax + 2]
sub edx, ecx
push 0
inc edx
push 0x8fa7e0
push edx
push eax
push ecx
mov ecx, 0x673490
call fcn.00493fc0
add ebp, 0xc
add ebx, 0x18
dec edi
jne 0x4501ac
mov ecx, dword [esp + 0x50]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x4c
ret 4