Function at 0x43ce60
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5230e9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa0
push esi
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0x80], 0
mov eax, dword [ebp - 0x84]
cmp dword [eax + 0x3c], 0
je 0x43cea6
mov ecx, dword [ebp - 0x84]
movzx edx, byte [ecx + 0x41]
test edx, edx
jne 0x43ceb2
mov al, 1
jmp 0x43d157
mov dword [ebp - 0x10], 8
call fcn.00418740
push eax
mov eax, dword [ebp - 0x84]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x84]
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 0x3c], eax
call fcn.00418740
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.00418720
add esp, 8
movzx eax, al
test eax, eax
je 0x43cefb
xor al, al
jmp 0x43d157
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.0043bd30
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x50]
push edx
lea ecx, [ebp - 0x34]
call fcn.0041f0c0
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x8c], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x8c]
call fcn.004216b0
mov esi, eax
lea ecx, [ebp - 0x34]
call fcn.004118f0
add esi, eax
push esi
lea ecx, [ebp - 0x5c]
push ecx
lea ecx, [ebp - 0x34]
call fcn.0041f0c0
mov dword [ebp - 0x90], eax
mov edx, dword [ebp - 0x90]
mov dword [ebp - 0x94], edx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x94]
call fcn.004216b0
push eax
mov eax, dword [ebp - 0x84]
add eax, 0x44
push eax
mov ecx, dword [ebp - 0x84]
mov ecx, dword [ecx + 0x3c]
call fcn.0043db60
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.0043b8e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.0043b8e0
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x98], edx
cmp dword [ebp - 0x98], 0
je 0x43cfda
cmp dword [ebp - 0x98], 1
je 0x43cfe4
cmp dword [ebp - 0x98], 3
je 0x43d113
jmp 0x43d12b
mov eax, dword [ebp - 0x84]
mov byte [eax + 0x41], 0
lea ecx, [ebp - 0x68]
push ecx
lea ecx, [ebp - 0x34]
call fcn.0041f0c0
mov dword [ebp - 0x9c], eax
mov edx, dword [ebp - 0x9c]
mov dword [ebp - 0xa0], edx
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0xa0]
call fcn.004216b0
mov ecx, dword [ebp - 0x14]
sub ecx, eax
mov dword [ebp - 0x38], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x68]
call fcn.0043b8e0
cmp dword [ebp - 0x38], 0
jbe 0x43d08b
mov edx, dword [ebp - 0x84]
mov eax, dword [edx + 0x4c]
push eax
mov ecx, dword [ebp - 0x38]
push ecx
push 1
lea edx, [ebp - 0x78]
push edx
lea ecx, [ebp - 0x34]
call fcn.0041f0c0
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xa8], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x80]
or ecx, 1
mov dword [ebp - 0x80], ecx
mov ecx, dword [ebp - 0xa8]
call fcn.004216b0
push eax
call fcn.004ea9c0
add esp, 0x10
cmp dword [ebp - 0x38], eax
je 0x43d08b
mov dword [ebp - 0xac], 1
jmp 0x43d095
mov dword [ebp - 0xac], 0
mov dl, byte [ebp - 0xac]
mov byte [ebp - 0x69], dl
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x80]
and eax, 1
je 0x43d0b9
and dword [ebp - 0x80], 0xfffffffe
lea ecx, [ebp - 0x78]
call fcn.0043b8e0
movzx ecx, byte [ebp - 0x69]
test ecx, ecx
je 0x43d0d9
mov byte [ebp - 0x79], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00401ef0
mov al, byte [ebp - 0x79]
jmp 0x43d157
mov edx, dword [ebp - 0x84]
movzx eax, byte [edx + 0x41]
test eax, eax
jne 0x43d0ff
mov byte [ebp - 0x7a], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00401ef0
mov al, byte [ebp - 0x7a]
jmp 0x43d157
cmp dword [ebp - 0x38], 0
jne 0x43d111
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.00412d60
jmp 0x43d143
mov byte [ebp - 0x7b], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00401ef0
mov al, byte [ebp - 0x7b]
jmp 0x43d157
mov byte [ebp - 0x7c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00401ef0
mov al, byte [ebp - 0x7c]
jmp 0x43d157
jmp 0x43cf0e
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret