Function at 0x443a40
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x546076
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8c
mov eax, dword [esp + 0x9c]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push eax
mov dword [esp + 0x34], esi
call fcn.00440c20
lea ebp, [esi + 0x1e4]
mov eax, 1
xor edi, edi
mov word [ebp + 0x20], ax
mov word [ebp + 0x22], ax
mov dword [ebp + 0x24], eax
lea ecx, [ebp + 0x30]
mov dword [esp + 0xa4], edi
mov dword [ebp + 0x28], edi
call fcn.00443e20
lea ecx, [ebp + 0x40]
mov dword [ebp + 0x38], edi
call fcn.00443e20
lea ecx, [ebp + 0x50]
mov dword [ebp + 0x48], edi
call fcn.00443e20
mov ecx, dword [esp + 0xb0]
mov edx, dword [esp + 0xb4]
mov dword [ebp + 0x58], edi
lea ebx, [esi + 0x280]
mov dword [esi + 0x278], ecx
mov ecx, ebx
mov dword [esi + 0x27c], edx
call fcn.004bb6f0
lea eax, [esi + 0x298]
mov byte [esp + 0xa4], 1
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 0x2a0], edi
mov dword [esi], 0x54c6f0
mov eax, dword [0x67a8cc]
push eax
push 1
push 0x70
push ebp
call dword [sym.imp.MSVCRT.dll_fread]
lea edi, [esi + 0x254]
mov ecx, 9
xor eax, eax
add esp, 0x10
rep stosd dword es:[edi], eax
mov eax, dword [ebp]
and eax, 7
cmp eax, 3
ja case.default.0x443b29
jmp dword [eax*4 + 0x443e04]
mov dword [esi + 0x25c], 2
jmp case.default.0x443b29
mov ecx, esi
call fcn.00445830
mov dword [esi + 0x25c], eax
jmp case.default.0x443b29
mov ecx, esi
call fcn.00445850
mov dword [esi + 0x25c], eax
jmp case.default.0x443b29
mov ecx, esi
call fcn.00445850
mov dword [esi + 0x25c], eax
mov ecx, dword [ebp]
and ecx, 7
xor eax, eax
cmp cl, 3
jne 0x443b93
push 0x24
call fcn.004784b0
add esp, 4
test eax, eax
je 0x443b91
lea edx, [ebp + 0x60]
push 1
push edx
mov ecx, eax
call fcn.00495db0
jmp 0x443b93
xor eax, eax
mov dword [esi + 0x2a0], eax
mov ecx, esi
call fcn.004457d0
mov edx, dword [esi + 0x1f8]
lea ecx, [edx*8]
sub ecx, edx
lea ecx, [ecx + ecx*2]
mov edx, dword [eax + ecx*4 + 4]
lea eax, [eax + ecx*4]
mov dword [esi + 0x264], edx
mov eax, dword [eax + 8]
mov dword [esi + 0x254], 0xffffffff
mov dword [esi + 0x268], eax
mov al, byte [ebp]
test al, 0x40
je 0x443bed
mov ecx, dword [esi + 0x1fc]
push ecx
mov ecx, esi
call fcn.004455b0
mov dword [esi + 0x254], eax
mov al, byte [ebp]
mov dword [esi + 0x258], 0xffffffff
test al, 0x80
je 0x443c12
mov edx, dword [esi + 0x200]
mov ecx, esi
push edx
call fcn.004455b0
mov dword [esi + 0x258], eax
mov edi, dword [esi + 0x25c]
lea eax, [esp + 0x8c]
sub edi, 2
push eax
imul edi, dword [esi + 0x1ec]
mov ecx, esi
call fcn.00445100
movsx ecx, word [eax + 6]
movsx edx, word [eax + 2]
sub ecx, edx
movsx edx, word [eax]
inc ecx
push ecx
movsx ecx, word [eax + 4]
sub ecx, edx
inc ecx
push ecx
push 0
push 0
lea ecx, [esp + 0x7c]
call fcn.004c9320
mov ecx, dword [eax]
mov dword [esp + 0x18], ecx
mov ecx, esi
mov edx, dword [eax + 4]
lea eax, [esp + 0x4c]
push eax
mov dword [esp + 0x20], edx
call fcn.004454c0
movsx ecx, word [eax + 6]
movsx edx, word [eax + 2]
sub ecx, edx
movsx edx, word [eax]
inc ecx
push ecx
movsx ecx, word [eax + 4]
sub ecx, edx
inc ecx
push ecx
push 0
push 0
lea ecx, [esp + 0x44]
call fcn.004c9320
mov ecx, dword [eax]
mov dword [esp + 0x10], ecx
mov ecx, esi
mov edx, dword [eax + 4]
lea eax, [esp + 0x5c]
push eax
mov dword [esp + 0x18], edx
call fcn.00445430
movsx ecx, word [eax + 6]
movsx edx, word [eax + 2]
sub ecx, edx
movsx edx, word [eax]
inc ecx
push ecx
movsx ecx, word [eax + 4]
sub ecx, edx
inc ecx
push ecx
push 0
push 0
lea ecx, [esp + 0x8c]
call fcn.004c9320
mov ecx, dword [eax]
mov dword [esp + 0x28], ecx
mov ecx, esi
mov edx, dword [eax + 4]
lea eax, [esp + 0x3c]
push eax
mov dword [esp + 0x30], edx
call fcn.00445380
movsx ecx, word [eax + 6]
movsx edx, word [eax + 2]
sub ecx, edx
movsx edx, word [eax]
inc ecx
push ecx
movsx ecx, word [eax + 4]
sub ecx, edx
inc ecx
push ecx
push 0
push 0
lea ecx, [esp + 0x54]
call fcn.004c9320
mov ecx, dword [eax]
mov dword [esp + 0x20], ecx
mov ecx, dword [esi + 0x1ec]
mov edx, dword [eax + 4]
mov eax, dword [esi + 0x1e8]
push eax
push ecx
push 0
push 0
lea ecx, [esp + 0x64]
mov dword [esp + 0x34], edx
call fcn.004c9320
push eax
lea edx, [esp + 0x68]
lea eax, [esp + 0x1c]
push edx
lea ecx, [esp + 0x7c]
push eax
lea edx, [esp + 0x1c]
push ecx
lea eax, [esp + 0x94]
push edx
lea ecx, [esp + 0x3c]
push eax
lea edx, [esp + 0xac]
push ecx
push edx
lea ecx, [esp + 0x40]
call fcn.004c94e0
mov ecx, eax
call fcn.004c94e0
mov ecx, eax
call fcn.004c94e0
mov ecx, eax
call fcn.004c94e0
mov ecx, eax
mov eax, dword [ecx]
movsx eax, ax
movsx edx, word [ecx + 4]
sub edx, eax
mov eax, dword [0x67a8d8]
cmp eax, 0x18
lea edi, [edi + edx + 1]
jl 0x443d9f
mov eax, 0x18
mov ecx, dword [esi + 0x1e8]
push 0
push eax
push ecx
push edi
mov ecx, ebx
call fcn.004bb810
mov eax, dword [ebx + 0xc]
xor edx, edx
imul eax, dword [ebx + 4]
test eax, eax
setle dl
dec edx
push 0
and edx, eax
push 0
mov ecx, ebx
mov ebp, edx
call fcn.004bc3a0
mov ecx, ebp
mov edi, eax
mov edx, ecx
or eax, 0xffffffff
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esp + 0x9c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x98
ret 0xc