Function at 0x454450
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x546670
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.00440c20
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.0041add0
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.0041add0
add ebp, 0xc
dec edi
jne 0x4544c3
push fcn.004bc350
push fcn.004bb6f0
lea eax, [esi + 0x240]
push 3
push 0x18
push eax
call fcn.0053230f
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 0x4544fa
mov edi, dword [sym.imp.MSVCRT.dll_fread]
mov dword [esi], 0x54ddb4
mov ecx, dword [0x67a8cc]
lea ebp, [esi + 0x1e4]
push ecx
push 1
push 4
push ebp
call edi
mov edx, dword [0x67a8cc]
lea eax, [esi + 0x1e8]
push edx
push 1
push 4
push eax
call edi
mov eax, dword [0x67a8cc]
push eax
push 1
push 8
push ebx
call edi
mov ecx, dword [0x67a8cc]
lea eax, [esi + 0x1f4]
push ecx
push 1
push 0xc
push eax
call edi
mov edx, dword [0x67a8cc]
add esp, 0x40
lea ebx, [esi + 0x200]
push edx
push 1
push 4
push ebx
call edi
mov ecx, dword [0x67a8cc]
lea eax, [esi + 0x204]
push ecx
push 1
push 4
push eax
call edi
mov edx, dword [0x67a8cc]
lea eax, [esi + 0x208]
push edx
push 1
push 8
push eax
call edi
mov eax, dword [0x67a8cc]
push eax
push 1
lea eax, [esi + 0x210]
push 0x30
push eax
call edi
mov ecx, dword [0x67a8cc]
add esp, 0x40
push ecx
call dword [sym.imp.MSVCRT.dll_ftell]
add esp, 4
mov ecx, esi
push eax
call fcn.0043ede0
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 0x454771
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.004c9320
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.00479030
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.00478f90
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 0x45467b
mov edx, dword [esi + 0x208]
mov dword [0x694364], edx
mov eax, dword [esi + 0x20c]
cmp word [0x694364], 0
mov dword [0x694368], eax
jne 0x45479b
mov word [0x694366], 0
lea ebx, [esi + 0x240]
lea ebp, [esi + 0x210]
mov edi, 3
mov ecx, dword [0x67a8d8]
cmp ecx, 0x18
jl 0x4547bc
mov ecx, 0x18
mov eax, dword [esi + 0x204]
push 0
shl eax, 1
push ecx
push eax
push eax
mov ecx, ebx
call fcn.004bb810
mov ecx, ebx
call fcn.004bc200
mov ecx, ebp
mov edx, dword [ecx]
mov dword [0x69436c], edx
mov eax, dword [ecx + 4]
mov dword [0x694370], eax
mov al, byte [0x966100]
mov ecx, dword [ecx + 8]
mov dword [0x69437c], ebx
test al, 1
mov dword [0x694374], ecx
jne 0x454836
mov dl, al
xor eax, eax
mov word [0x96610a], ax
mov word [0x966108], ax
or dl, 1
or eax, 0xffffffff
push fcn.00458ab0
mov byte [0x966100], dl
mov word [0x96610e], ax
mov word [0x96610c], ax
call fcn.0053228e
add esp, 4
lea edx, [esp + 0x40]
push 0
push edx
mov ecx, ebx
call fcn.004bc360
movsx ecx, word [eax]
movsx edx, word [eax + 4]
movsx eax, word [eax + 2]
sub edx, ecx
push 0
inc edx
push 0x966108
push edx
push eax
push ecx
mov ecx, 0x694360
call fcn.004a1c40
add ebp, 0xc
add ebx, 0x18
dec edi
jne 0x4547ac
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