Function at 0x44ba90
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x5008
call fcn.00452000
mov eax, dword [0x4806f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x4946a4]
cmp byte [eax + 0x32f], 0
push esi
je 0x44bc1b
mov eax, dword [0x4971b0]
mov cx, word [eax + 0x1e631]
mov word [ebp - 0x2804], cx
mov edx, dword [eax + 0x1e633]
xor ecx, ecx
mov dword [ebp - 0x2802], edx
mov dword [ebp - 0x5008], 0
push ebx
mov ebx, 6
cmp cx, word [eax + 0x28]
jae 0x44bb54
lea edx, [ebp - 0x27fe]
push edi
jmp 0x44bb00
mov ecx, dword [ebp - 0x5008]
mov esi, dword [eax + 0x1e637]
imul ecx, ecx, 0x202
mov si, word [ecx + esi]
mov word [edx], si
mov esi, dword [eax + 0x1e637]
lea esi, [ecx + esi + 2]
add edx, 2
mov edi, edx
mov ecx, 0x80
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x5008]
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 0x44bb00
pop edi
xor ecx, ecx
mov dword [ebp - 0x5008], ecx
movzx edx, word [eax + 0x28]
movzx esi, word [eax + 0x2a]
imul edx, esi
test edx, edx
jbe 0x44bb9b
jmp 0x44bb70
mov edx, dword [eax + 0x1e63b]
mov dx, word [edx + ecx*2]
mov word [ebp + ebx - 0x2804], dx
inc ecx
mov dword [ebp - 0x5008], ecx
movzx edx, word [eax + 0x28]
movzx esi, word [eax + 0x2a]
imul edx, esi
add ebx, 2
cmp ecx, edx
jb 0x44bb70
lea eax, [ebp - 0x5008]
push eax
lea ecx, [ebp - 0x5004]
push ecx
lea edx, [ebp - 0x2804]
push edx
push ebx
call fcn.00449720
mov eax, dword [0x4946a4]
mov ecx, dword [eax]
push ecx
push ebx
call fcn.00470c16
mov edx, dword [0x4946a4]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x5008]
push eax
push ecx
call fcn.00470c16
mov edx, dword [0x4946a4]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x5008]
push eax
push ecx
lea edx, [ebp - 0x5004]
push 1
push edx
call fcn.00454139
add esp, 0x30
pop ebx
cmp eax, dword [ebp - 0x5008]
je 0x44bd2c
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044f6e0
mov esp, ebp
pop ebp
ret
mov eax, dword [eax]
mov ecx, dword [0x4971b0]
push eax
push 2
add ecx, 0x1e631
push 1
push ecx
call fcn.00454139
add esp, 0x10
cmp eax, 2
jne 0x44bc07
mov edx, dword [0x4946a4]
mov eax, dword [edx]
mov ecx, dword [0x4971b0]
push eax
push 4
add ecx, 0x1e633
push 1
push ecx
call fcn.00454139
add esp, 0x10
cmp eax, 4
jne 0x44bc07
mov ecx, dword [0x4971b0]
xor eax, eax
xor edx, edx
mov dword [ebp - 0x5008], eax
cmp dx, word [ecx + 0x28]
jae 0x44bccb
lea esp, [esp]
mov edx, dword [0x4946a4]
imul eax, eax, 0x202
mov edx, dword [edx]
add eax, dword [ecx + 0x1e637]
push edx
push 0x202
push 1
push eax
call fcn.00454139
add esp, 0x10
cmp eax, 0x202
jne 0x44bc07
mov eax, dword [ebp - 0x5008]
mov ecx, dword [0x4971b0]
inc eax
mov dword [ebp - 0x5008], eax
movzx edx, word [ecx + 0x28]
cmp eax, edx
jb 0x44bc80
xor eax, eax
mov dword [ebp - 0x5008], eax
movzx edx, word [ecx + 0x2a]
movzx esi, word [ecx + 0x28]
imul edx, esi
test edx, edx
jbe 0x44bd2c
mov edx, dword [0x4946a4]
mov edx, dword [edx]
mov ecx, dword [ecx + 0x1e63b]
push edx
push 2
lea edx, [ecx + eax*2]
push 1
push edx
call fcn.00454139
add esp, 0x10
cmp eax, 2
jne 0x44bc07
mov eax, dword [ebp - 0x5008]
mov ecx, dword [0x4971b0]
inc eax
mov dword [ebp - 0x5008], eax
movzx edx, word [ecx + 0x2a]
movzx esi, word [ecx + 0x28]
imul edx, esi
cmp eax, edx
jb 0x44bce2
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
pop esi
call fcn.0044f6e0
mov esp, ebp
pop ebp
ret