Function at 0x44bd30
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x5008
call fcn.00451ff0
mov eax, dword [0x4806f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x4946a4]
cmp byte [eax + 0x32f], 0
push esi
mov esi, dword [ebp + 8]
push edi
je 0x44befe
mov eax, dword [eax]
push eax
call fcn.00470aed
mov ecx, dword [0x4946a4]
mov edx, dword [ecx]
push edx
mov esi, eax
call fcn.00470aed
mov ecx, dword [0x4946a4]
mov dword [ebp - 0x5008], eax
mov edx, dword [ecx]
push edx
push eax
lea eax, [ebp - 0x5004]
push 1
push eax
call fcn.00453eec
add esp, 0x18
cmp eax, dword [ebp - 0x5008]
je 0x44bdb4
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044f6d0
mov esp, ebp
pop ebp
ret
push ebx
lea ecx, [ebp - 0x5008]
push ecx
lea edx, [ebp - 0x2804]
push edx
lea eax, [ebp - 0x5004]
push eax
push esi
call fcn.00449a50
mov ecx, dword [0x4971b0]
mov dx, word [ebp - 0x2804]
mov word [ecx + 0x1e631], dx
mov eax, dword [0x4971b0]
mov ecx, dword [ebp - 0x2802]
mov dword [eax + 0x1e633], ecx
mov eax, dword [0x4971b0]
xor ecx, ecx
xor edx, edx
add esp, 0x10
mov dword [ebp - 0x5008], ecx
mov ebx, 6
cmp dx, word [eax + 0x28]
jae 0x44be83
lea edx, [ebp - 0x27fe]
jmp 0x44be20
mov eax, dword [eax + 0x1e637]
imul ecx, ecx, 0x202
mov si, word [edx]
mov word [ecx + eax], si
mov ecx, dword [ebp - 0x5008]
mov eax, dword [0x4971b0]
imul ecx, ecx, 0x202
mov eax, dword [eax + 0x1e637]
lea edi, [eax + ecx + 2]
add edx, 2
mov esi, edx
mov ecx, 0x80
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x5008]
mov eax, dword [0x4971b0]
inc ecx
mov dword [ebp - 0x5008], ecx
movzx esi, word [eax + 0x28]
add ebx, 2
add ebx, 0x200
add edx, 0x200
cmp ecx, esi
jb 0x44be20
xor ecx, ecx
mov dword [ebp - 0x5008], ecx
movzx edx, word [eax + 0x2a]
movzx esi, word [eax + 0x28]
imul edx, esi
test edx, edx
jbe 0x44bed2
lea ebx, [ebp + ebx - 0x2804]
mov eax, dword [eax + 0x1e63b]
mov dx, word [ebx]
mov word [eax + ecx*2], dx
mov ecx, dword [ebp - 0x5008]
mov eax, dword [0x4971b0]
inc ecx
mov dword [ebp - 0x5008], ecx
movzx edx, word [eax + 0x2a]
movzx esi, word [eax + 0x28]
imul edx, esi
add ebx, 2
cmp ecx, edx
jb 0x44bea1
pop ebx
movzx edx, word [eax + 0x28]
movzx ecx, word [eax + 0x2a]
movzx eax, word [eax + 0x1e631]
imul ecx, edx
xor edx, edx
cmp eax, ecx
mov ecx, dword [ebp - 4]
setg dl
pop edi
xor ecx, ebp
pop esi
mov eax, edx
call fcn.0044f6d0
mov esp, ebp
pop ebp
ret
mov eax, dword [0x4971b0]
push esi
push 2
add eax, 0x1e631
push 1
push eax
call fcn.00453eec
add esp, 0x10
cmp eax, 2
jne 0x44bd9f
mov ecx, dword [0x4971b0]
push esi
push 4
add ecx, 0x1e633
push 1
push ecx
call fcn.00453eec
add esp, 0x10
cmp eax, 4
jne 0x44bd9f
mov eax, dword [0x4971b0]
xor ecx, ecx
xor edx, edx
mov dword [ebp - 0x5008], ecx
cmp dx, word [eax + 0x28]
jae 0x44bfa2
jmp 0x44bf60
imul ecx, ecx, 0x202
add ecx, dword [eax + 0x1e637]
push esi
push 0x202
push 1
push ecx
call fcn.00453eec
add esp, 0x10
cmp eax, 0x202
jne 0x44bd9f
mov ecx, dword [ebp - 0x5008]
mov eax, dword [0x4971b0]
inc ecx
mov dword [ebp - 0x5008], ecx
movzx edx, word [eax + 0x28]
cmp ecx, edx
jb 0x44bf60
xor ecx, ecx
mov dword [ebp - 0x5008], ecx
movzx edx, word [eax + 0x2a]
movzx edi, word [eax + 0x28]
imul edx, edi
test edx, edx
jbe 0x44bed3
lea ecx, [ecx]
mov eax, dword [eax + 0x1e63b]
push esi
push 2
lea ecx, [eax + ecx*2]
push 1
push ecx
call fcn.00453eec
add esp, 0x10
cmp eax, 2
jne 0x44bd9f
mov ecx, dword [ebp - 0x5008]
mov eax, dword [0x4971b0]
inc ecx
mov dword [ebp - 0x5008], ecx
movzx edx, word [eax + 0x2a]
movzx edi, word [eax + 0x28]
imul edx, edi
cmp ecx, edx
jb 0x44bfc0
jmp 0x44bed3