Function at 0x43aa10
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x522e2f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xbc
push ebx
push esi
mov dword [ebp - 0x98], ecx
mov dword [ebp - 0x94], 0
call fcn.00418740
mov dword [ebp - 0x44], eax
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x44]
push ecx
call fcn.00418720
add esp, 8
movzx edx, al
test edx, edx
je 0x43aa75
lea eax, [ebp + 8]
push eax
call fcn.00418750
add esp, 4
jmp 0x43ae59
mov ecx, dword [ebp - 0x98]
call fcn.00419c90
test eax, eax
je 0x43aac8
mov ecx, dword [ebp - 0x98]
call fcn.00419c90
mov esi, eax
mov ecx, dword [ebp - 0x98]
call fcn.00413090
cmp esi, eax
jae 0x43aac8
lea ecx, [ebp + 8]
push ecx
call fcn.00418700
add esp, 4
mov bl, al
mov ecx, dword [ebp - 0x98]
call fcn.0041a0e0
mov byte [eax], bl
mov eax, dword [ebp + 8]
jmp 0x43ae59
mov edx, dword [ebp - 0x98]
cmp dword [edx + 0x4c], 0
jne 0x43aae3
call fcn.00418740
jmp 0x43ae59
mov eax, dword [ebp - 0x98]
cmp dword [eax + 0x3c], 0
jne 0x43ab3e
mov ecx, dword [ebp - 0x98]
mov edx, dword [ecx + 0x4c]
push edx
lea eax, [ebp + 8]
push eax
call fcn.00418700
add esp, 4
movzx ecx, al
push ecx
call fcn.0044b570
add esp, 8
movzx edx, al
test edx, edx
je 0x43ab23
mov eax, dword [ebp + 8]
mov dword [ebp - 0x9c], eax
jmp 0x43ab2e
call fcn.00418740
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x9c]
jmp 0x43ae59
mov dword [ebp - 0x10], 8
lea ecx, [ebp + 8]
push ecx
call fcn.00418700
add esp, 4
mov byte [ebp - 0x15], al
push 0
push 8
lea ecx, [ebp - 0x3c]
call fcn.0043bd30
mov dword [ebp - 4], 0
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x3c]
call fcn.0041f0c0
mov dword [ebp - 0xa0], eax
mov ecx, dword [ebp - 0xa0]
mov dword [ebp - 0xa4], ecx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0xa4]
call fcn.004216b0
mov esi, eax
lea ecx, [ebp - 0x3c]
call fcn.004118f0
add esi, eax
push esi
lea edx, [ebp - 0x60]
push edx
lea ecx, [ebp - 0x3c]
call fcn.0041f0c0
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xac], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0xac]
call fcn.004216b0
push eax
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x15]
push eax
mov ecx, dword [ebp - 0x98]
add ecx, 0x44
push ecx
mov edx, dword [ebp - 0x98]
mov ecx, dword [edx + 0x3c]
call fcn.0043d290
mov dword [ebp - 0x48], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x60]
call fcn.0043b8e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.0043b8e0
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 0
jl 0x43ae23
cmp dword [ebp - 0xb0], 1
jle 0x43ac43
cmp dword [ebp - 0xb0], 3
je 0x43adcc
jmp 0x43ae23
lea ecx, [ebp - 0x6c]
push ecx
lea ecx, [ebp - 0x3c]
call fcn.0041f0c0
mov dword [ebp - 0xb4], eax
mov edx, dword [ebp - 0xb4]
mov dword [ebp - 0xb8], edx
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0xb8]
call fcn.004216b0
mov ecx, dword [ebp - 0x1c]
sub ecx, eax
mov dword [ebp - 0x40], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x6c]
call fcn.0043b8e0
cmp dword [ebp - 0x40], 0
jbe 0x43acf0
mov edx, dword [ebp - 0x98]
mov eax, dword [edx + 0x4c]
push eax
mov ecx, dword [ebp - 0x40]
push ecx
push 1
lea edx, [ebp - 0x7c]
push edx
lea ecx, [ebp - 0x3c]
call fcn.0041f0c0
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xc0], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x94]
or ecx, 1
mov dword [ebp - 0x94], ecx
mov ecx, dword [ebp - 0xc0]
call fcn.004216b0
push eax
call fcn.004ea9c0
add esp, 0x10
cmp dword [ebp - 0x40], eax
je 0x43acf0
mov dword [ebp - 0xc4], 1
jmp 0x43acfa
mov dword [ebp - 0xc4], 0
mov dl, byte [ebp - 0xc4]
mov byte [ebp - 0x6d], dl
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x94]
and eax, 1
je 0x43ad24
and dword [ebp - 0x94], 0xfffffffe
lea ecx, [ebp - 0x7c]
call fcn.0043b8e0
movzx ecx, byte [ebp - 0x6d]
test ecx, ecx
je 0x43ad4b
call fcn.00418740
mov dword [ebp - 0x80], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00401ef0
mov eax, dword [ebp - 0x80]
jmp 0x43ae59
mov edx, dword [ebp - 0x98]
mov byte [edx + 0x41], 1
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x15]
cmp eax, ecx
je 0x43ad82
mov edx, dword [ebp + 8]
mov dword [ebp - 0x84], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00401ef0
mov eax, dword [ebp - 0x84]
jmp 0x43ae59
cmp dword [ebp - 0x40], 0
jbe 0x43ad8a
jmp 0x43adca
lea ecx, [ebp - 0x3c]
call fcn.004118f0
cmp eax, 0x20
jae 0x43ada5
push 0
push 8
lea ecx, [ebp - 0x3c]
call fcn.00412d60
jmp 0x43adca
call fcn.00418740
mov dword [ebp - 0x88], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00401ef0
mov eax, dword [ebp - 0x88]
jmp 0x43ae59
jmp 0x43ae45
mov eax, dword [ebp - 0x98]
mov ecx, dword [eax + 0x4c]
push ecx
movzx edx, byte [ebp - 0x15]
push edx
call fcn.0044b570
add esp, 8
movzx eax, al
test eax, eax
je 0x43adf5
mov ecx, dword [ebp + 8]
mov dword [ebp - 0xc8], ecx
jmp 0x43ae00
call fcn.00418740
mov dword [ebp - 0xc8], eax
mov edx, dword [ebp - 0xc8]
mov dword [ebp - 0x8c], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00401ef0
mov eax, dword [ebp - 0x8c]
jmp 0x43ae59
call fcn.00418740
mov dword [ebp - 0x90], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00401ef0
mov eax, dword [ebp - 0x90]
jmp 0x43ae59
jmp 0x43ab67
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4