Function at 0x44e980
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x550118
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
push esi
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x40], 0
je 0x44e9b3
mov ecx, dword [ebp - 0x18]
movzx edx, byte [ecx + 0x45]
test edx, edx
jne 0x44e9bf
mov al, 1
jmp 0x44eb9a
mov dword [ebp - 0x40], 8
push 0xffffffffffffffff
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x18]
mov eax, dword [edx + 0xc]
call eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0xffffffff
mov ecx, dword [ebp - 0x2c]
cmp ecx, dword [ebp - 0x30]
jne 0x44e9f0
mov dword [ebp - 0x24], 1
jmp 0x44e9f7
mov dword [ebp - 0x24], 0
movzx edx, byte [ebp - 0x24]
test edx, edx
je 0x44ea06
xor al, al
jmp 0x44eb9a
lea ecx, [ebp - 0x11]
call fcn.004076c0
push eax
lea ecx, [ebp - 0x68]
call fcn.0040f630
push 0
push 0
lea ecx, [ebp - 0x68]
call fcn.0040f580
push 0
push 8
lea ecx, [ebp - 0x68]
call fcn.00462870
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x68]
call fcn.00407680
mov esi, eax
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x68]
call fcn.0040f460
mov ecx, eax
call fcn.0040e460
add eax, esi
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x68]
call fcn.0040f460
mov ecx, eax
call fcn.0040e460
mov dword [ebp - 0x38], eax
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x40]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx]
lea eax, [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x34]
push ecx
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x48
push ecx
mov ecx, dword [ebp - 0x28]
mov edx, dword [edx + 0x20]
call edx
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x44eab5
cmp dword [ebp - 0x20], 1
je 0x44eabc
cmp dword [ebp - 0x20], 3
je 0x44eb56
jmp 0x44eb6e
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x45], 0
lea ecx, [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x68]
call fcn.0040f460
mov ecx, eax
call fcn.0040e460
mov edx, dword [ebp - 0x3c]
sub edx, eax
mov dword [ebp - 0x1c], edx
je 0x44eb1f
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x50]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
push 1
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x68]
call fcn.0040f460
mov ecx, eax
call fcn.0040e460
push eax
call fcn.0050ea08
add esp, 0x10
cmp dword [ebp - 0x1c], eax
je 0x44eb1f
mov byte [ebp - 0xd], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call fcn.0040d980
mov al, byte [ebp - 0xd]
jmp 0x44eb9a
mov ecx, dword [ebp - 0x18]
movzx edx, byte [ecx + 0x45]
test edx, edx
jne 0x44eb42
mov byte [ebp - 0xe], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call fcn.0040d980
mov al, byte [ebp - 0xe]
jmp 0x44eb9a
cmp dword [ebp - 0x1c], 0
jne 0x44eb54
push 0
push 8
lea ecx, [ebp - 0x68]
call fcn.0040f250
jmp 0x44eb86
mov byte [ebp - 0xf], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call fcn.0040d980
mov al, byte [ebp - 0xf]
jmp 0x44eb9a
mov byte [ebp - 0x10], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call fcn.0040d980
mov al, byte [ebp - 0x10]
jmp 0x44eb9a
jmp 0x44ea36
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret