Function at 0x43e8d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x551ed8
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 0x43e903
mov ecx, dword [ebp - 0x18]
movzx edx, byte [ecx + 0x45]
test edx, edx
jne 0x43e90f
mov al, 1
jmp 0x43eaea
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 0x43e940
mov dword [ebp - 0x24], 1
jmp 0x43e947
mov dword [ebp - 0x24], 0
movzx edx, byte [ebp - 0x24]
test edx, edx
je 0x43e956
xor al, al
jmp 0x43eaea
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.004553e0
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.00423380
mov ecx, eax
call fcn.0040cc60
add eax, esi
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x68]
call fcn.00423380
mov ecx, eax
call fcn.0040cc60
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 0x43ea05
cmp dword [ebp - 0x20], 1
je 0x43ea0c
cmp dword [ebp - 0x20], 3
je 0x43eaa6
jmp 0x43eabe
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x45], 0
lea ecx, [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x68]
call fcn.00423380
mov ecx, eax
call fcn.0040cc60
mov edx, dword [ebp - 0x3c]
sub edx, eax
mov dword [ebp - 0x1c], edx
je 0x43ea6f
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.00423380
mov ecx, eax
call fcn.0040cc60
push eax
call fcn.005105b0
add esp, 0x10
cmp dword [ebp - 0x1c], eax
je 0x43ea6f
mov byte [ebp - 0xd], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call fcn.004073e0
mov al, byte [ebp - 0xd]
jmp 0x43eaea
mov ecx, dword [ebp - 0x18]
movzx edx, byte [ecx + 0x45]
test edx, edx
jne 0x43ea92
mov byte [ebp - 0xe], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call fcn.004073e0
mov al, byte [ebp - 0xe]
jmp 0x43eaea
cmp dword [ebp - 0x1c], 0
jne 0x43eaa4
push 0
push 8
lea ecx, [ebp - 0x68]
call fcn.0043ddd0
jmp 0x43ead6
mov byte [ebp - 0xf], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call fcn.004073e0
mov al, byte [ebp - 0xf]
jmp 0x43eaea
mov byte [ebp - 0x10], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call fcn.004073e0
mov al, byte [ebp - 0x10]
jmp 0x43eaea
jmp 0x43e986
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret