Function at 0x4485e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55a318
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 0x448613
mov ecx, dword [ebp - 0x18]
movzx edx, byte [ecx + 0x45]
test edx, edx
jne 0x44861f
mov al, 1
jmp 0x4487fa
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 0x448650
mov dword [ebp - 0x24], 1
jmp 0x448657
mov dword [ebp - 0x24], 0
movzx edx, byte [ebp - 0x24]
test edx, edx
je 0x448666
xor al, al
jmp 0x4487fa
lea ecx, [ebp - 0x11]
call fcn.00404640
push eax
lea ecx, [ebp - 0x68]
call fcn.00404650
push 0
push 0
lea ecx, [ebp - 0x68]
call fcn.004045a0
push 0
push 8
lea ecx, [ebp - 0x68]
call fcn.0045ced0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x68]
call fcn.00404100
mov esi, eax
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x68]
call fcn.00404480
mov ecx, eax
call fcn.00405e20
add eax, esi
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x68]
call fcn.00404480
mov ecx, eax
call fcn.00405e20
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 0x448715
cmp dword [ebp - 0x20], 1
je 0x44871c
cmp dword [ebp - 0x20], 3
je 0x4487b6
jmp 0x4487ce
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x45], 0
lea ecx, [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x68]
call fcn.00404480
mov ecx, eax
call fcn.00405e20
mov edx, dword [ebp - 0x3c]
sub edx, eax
mov dword [ebp - 0x1c], edx
je 0x44877f
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.00404480
mov ecx, eax
call fcn.00405e20
push eax
call fcn.0051ec76
add esp, 0x10
cmp dword [ebp - 0x1c], eax
je 0x44877f
mov byte [ebp - 0xd], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call fcn.004040e0
mov al, byte [ebp - 0xd]
jmp 0x4487fa
mov ecx, dword [ebp - 0x18]
movzx edx, byte [ecx + 0x45]
test edx, edx
jne 0x4487a2
mov byte [ebp - 0xe], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call fcn.004040e0
mov al, byte [ebp - 0xe]
jmp 0x4487fa
cmp dword [ebp - 0x1c], 0
jne 0x4487b4
push 0
push 8
lea ecx, [ebp - 0x68]
call fcn.00440ee0
jmp 0x4487e6
mov byte [ebp - 0xf], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call fcn.004040e0
mov al, byte [ebp - 0xf]
jmp 0x4487fa
mov byte [ebp - 0x10], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call fcn.004040e0
mov al, byte [ebp - 0x10]
jmp 0x4487fa
jmp 0x448696
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret