Function at 0x441a60
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b1888
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x4d516c]
xor eax, ebp
mov dword [ebp - 0x20], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x64], ecx
call fcn.004415b0
mov word [ebp - 0x42], ax
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x42]
push ecx
call fcn.00441680
add esp, 8
movzx edx, al
test edx, edx
je 0x441abf
lea eax, [ebp + 8]
push eax
call fcn.00441d90
add esp, 4
jmp 0x441d70
mov ecx, dword [ebp - 0x64]
call fcn.00443280
test eax, eax
je 0x441b06
mov ecx, dword [ebp - 0x64]
call fcn.00443280
mov esi, eax
mov ecx, dword [ebp - 0x64]
call fcn.00443300
cmp esi, eax
jae 0x441b06
lea ecx, [ebp + 8]
push ecx
call fcn.00441800
add esp, 4
mov si, ax
mov ecx, dword [ebp - 0x64]
call fcn.00443420
mov word [eax], si
mov ax, word [ebp + 8]
jmp 0x441d70
mov edx, dword [ebp - 0x64]
cmp dword [edx + 0x54], 0
jne 0x441b19
call fcn.004415b0
jmp 0x441d70
mov ecx, dword [ebp - 0x64]
call fcn.00443c00
mov eax, dword [ebp - 0x64]
cmp dword [eax + 0x44], 0
jne 0x441b71
mov ecx, dword [ebp - 0x64]
mov edx, dword [ecx + 0x54]
push edx
lea eax, [ebp + 8]
push eax
call fcn.00441800
add esp, 4
movzx ecx, ax
push ecx
call fcn.00441e10
add esp, 8
movzx edx, al
test edx, edx
je 0x441b5a
mov ax, word [ebp + 8]
mov word [ebp - 0x66], ax
jmp 0x441b63
call fcn.004415b0
mov word [ebp - 0x66], ax
mov ax, word [ebp - 0x66]
jmp 0x441d70
mov dword [ebp - 0x10], 8
lea ecx, [ebp + 8]
push ecx
call fcn.00441800
add esp, 4
mov word [ebp - 0x18], ax
push 0
push 8
lea ecx, [ebp - 0x3c]
call fcn.00410180
mov dword [ebp - 4], 0
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00442fe0
mov ecx, eax
call fcn.00443ef0
mov esi, eax
lea ecx, [ebp - 0x3c]
call fcn.00403600
add esi, eax
push esi
lea ecx, [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x3c]
call fcn.00442fe0
mov ecx, eax
call fcn.00443ef0
push eax
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x16]
push eax
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x64]
add edx, 0x4c
push edx
mov eax, dword [ebp - 0x64]
mov ecx, dword [eax + 0x44]
call fcn.00441dd0
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
jl 0x441d3e
cmp dword [ebp - 0x6c], 1
jle 0x441c13
cmp dword [ebp - 0x6c], 3
je 0x441cf3
jmp 0x441d3e
lea ecx, [ebp - 0x50]
push ecx
lea ecx, [ebp - 0x3c]
call fcn.00442fe0
mov ecx, eax
call fcn.00443ef0
mov edx, dword [ebp - 0x1c]
sub edx, eax
mov dword [ebp - 0x40], edx
je 0x441c7f
mov eax, dword [ebp - 0x64]
mov ecx, dword [eax + 0x54]
push ecx
mov edx, dword [ebp - 0x40]
push edx
push 1
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00442fe0
mov ecx, eax
call fcn.00443ef0
push eax
call fcn.004876e0
add esp, 0x10
cmp dword [ebp - 0x40], eax
je 0x441c7f
call fcn.004415b0
mov word [ebp - 0x56], ax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.004033c0
mov ax, word [ebp - 0x56]
jmp 0x441d70
mov ecx, dword [ebp - 0x64]
mov byte [ecx + 0x4a], 1
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x18]
cmp edx, eax
je 0x441cb0
mov cx, word [ebp + 8]
mov word [ebp - 0x58], cx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.004033c0
mov ax, word [ebp - 0x58]
jmp 0x441d70
cmp dword [ebp - 0x40], 0
jbe 0x441cb8
jmp 0x441cf1
lea ecx, [ebp - 0x3c]
call fcn.00403600
cmp eax, 0x20
jae 0x441cd3
push 0
push 8
lea ecx, [ebp - 0x3c]
call fcn.00411910
jmp 0x441cf1
call fcn.004415b0
mov word [ebp - 0x5a], ax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.004033c0
mov ax, word [ebp - 0x5a]
jmp 0x441d70
jmp 0x441d5c
mov edx, dword [ebp - 0x64]
mov eax, dword [edx + 0x54]
push eax
movzx ecx, word [ebp - 0x18]
push ecx
call fcn.00441e10
add esp, 8
movzx edx, al
test edx, edx
je 0x441d18
mov ax, word [ebp + 8]
mov word [ebp - 0x6e], ax
jmp 0x441d21
call fcn.004415b0
mov word [ebp - 0x6e], ax
mov cx, word [ebp - 0x6e]
mov word [ebp - 0x5c], cx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.004033c0
mov ax, word [ebp - 0x5c]
jmp 0x441d70
call fcn.004415b0
mov word [ebp - 0x5e], ax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.004033c0
mov ax, word [ebp - 0x5e]
jmp 0x441d70
jmp 0x441b9b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.00480a0c
mov esp, ebp
pop ebp
ret 4