Function at 0x43f5c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x553368
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 0x43f5f3
mov ecx, dword [ebp - 0x18]
movzx edx, byte [ecx + 0x45]
test edx, edx
jne 0x43f5ff
mov al, 1
jmp 0x43f7da
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 0x43f630
mov dword [ebp - 0x24], 1
jmp 0x43f637
mov dword [ebp - 0x24], 0
movzx edx, byte [ebp - 0x24]
test edx, edx
je 0x43f646
xor al, al
jmp 0x43f7da
lea ecx, [ebp - 0x11]
call fcn.004077f0
push eax
lea ecx, [ebp - 0x68]
call fcn.00407800
push 0
push 0
lea ecx, [ebp - 0x68]
call fcn.00407750
push 0
push 8
lea ecx, [ebp - 0x68]
call fcn.004560b0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x68]
call fcn.00407730
mov esi, eax
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x68]
call fcn.00424070
mov ecx, eax
call fcn.0040e900
add eax, esi
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x68]
call fcn.00424070
mov ecx, eax
call fcn.0040e900
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 0x43f6f5
cmp dword [ebp - 0x20], 1
je 0x43f6fc
cmp dword [ebp - 0x20], 3
je 0x43f796
jmp 0x43f7ae
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x45], 0
lea ecx, [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x68]
call fcn.00424070
mov ecx, eax
call fcn.0040e900
mov edx, dword [ebp - 0x3c]
sub edx, eax
mov dword [ebp - 0x1c], edx
je 0x43f75f
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.00424070
mov ecx, eax
call fcn.0040e900
push eax
call fcn.005119bf
add esp, 0x10
cmp dword [ebp - 0x1c], eax
je 0x43f75f
mov byte [ebp - 0xd], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call fcn.004073e0
mov al, byte [ebp - 0xd]
jmp 0x43f7da
mov ecx, dword [ebp - 0x18]
movzx edx, byte [ecx + 0x45]
test edx, edx
jne 0x43f782
mov byte [ebp - 0xe], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call fcn.004073e0
mov al, byte [ebp - 0xe]
jmp 0x43f7da
cmp dword [ebp - 0x1c], 0
jne 0x43f794
push 0
push 8
lea ecx, [ebp - 0x68]
call fcn.0043eac0
jmp 0x43f7c6
mov byte [ebp - 0xf], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call fcn.004073e0
mov al, byte [ebp - 0xf]
jmp 0x43f7da
mov byte [ebp - 0x10], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call fcn.004073e0
mov al, byte [ebp - 0x10]
jmp 0x43f7da
jmp 0x43f676
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret