Function at 0x43e2e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x55d68c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
mov dword [ebp - 0x60], ecx
call fcn.00406690
mov dword [ebp - 0x38], eax
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x38]
push ecx
call fcn.00406640
add esp, 8
movzx edx, al
test edx, edx
je 0x43e327
lea eax, [ebp + 8]
push eax
call fcn.00406660
add esp, 4
jmp 0x43e590
mov ecx, dword [ebp - 0x60]
call fcn.004099b0
test eax, eax
je 0x43e36b
mov ecx, dword [ebp - 0x60]
call fcn.004099b0
mov esi, eax
mov ecx, dword [ebp - 0x60]
call fcn.00409a70
cmp esi, eax
jae 0x43e36b
lea ecx, [ebp + 8]
push ecx
call fcn.00406620
add esp, 4
mov bl, al
mov ecx, dword [ebp - 0x60]
call fcn.00409bd0
mov byte [eax], bl
mov eax, dword [ebp + 8]
jmp 0x43e590
mov edx, dword [ebp - 0x60]
cmp dword [edx + 0x54], 0
jne 0x43e37e
call fcn.00406690
jmp 0x43e590
mov ecx, dword [ebp - 0x60]
call fcn.0043f310
mov eax, dword [ebp - 0x60]
cmp dword [eax + 0x44], 0
jne 0x43e3d2
mov ecx, dword [ebp - 0x60]
mov edx, dword [ecx + 0x54]
push edx
lea eax, [ebp + 8]
push eax
call fcn.00406620
add esp, 4
movzx ecx, al
push ecx
call fcn.0043cfe0
add esp, 8
movzx edx, al
test edx, edx
je 0x43e3bd
mov eax, dword [ebp + 8]
mov dword [ebp - 0x64], eax
jmp 0x43e3c5
call fcn.00406690
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
jmp 0x43e590
mov dword [ebp - 4], 8
lea ecx, [ebp + 8]
push ecx
call fcn.00406620
add esp, 4
mov byte [ebp - 9], al
push 0
push 8
lea ecx, [ebp - 0x30]
call fcn.00408030
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x30]
call fcn.00411730
mov ecx, eax
call fcn.00417c30
mov esi, eax
lea ecx, [ebp - 0x30]
call fcn.004324d0
add esi, eax
push esi
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x30]
call fcn.00411730
mov ecx, eax
call fcn.00417c30
push eax
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 9]
push ecx
mov edx, dword [ebp - 0x60]
add edx, 0x4c
push edx
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax + 0x44]
call fcn.0043f450
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
jl 0x43e56e
cmp dword [ebp - 0x68], 1
jle 0x43e46c
cmp dword [ebp - 0x68], 3
je 0x43e530
jmp 0x43e56e
lea ecx, [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x30]
call fcn.00411730
mov ecx, eax
call fcn.00417c30
mov edx, dword [ebp - 0x10]
sub edx, eax
mov dword [ebp - 0x34], edx
je 0x43e4cf
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax + 0x54]
push ecx
mov edx, dword [ebp - 0x34]
push edx
push 1
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x30]
call fcn.00411730
mov ecx, eax
call fcn.00417c30
push eax
call fcn.00458efb
add esp, 0x10
cmp dword [ebp - 0x34], eax
je 0x43e4cf
call fcn.00406690
mov dword [ebp - 0x4c], eax
lea ecx, [ebp - 0x30]
call fcn.00402c40
mov eax, dword [ebp - 0x4c]
jmp 0x43e590
mov ecx, dword [ebp - 0x60]
mov byte [ecx + 0x49], 1
mov edx, dword [ebp - 8]
lea eax, [ebp - 9]
cmp edx, eax
je 0x43e4f6
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x50], ecx
lea ecx, [ebp - 0x30]
call fcn.00402c40
mov eax, dword [ebp - 0x50]
jmp 0x43e590
cmp dword [ebp - 0x34], 0
jbe 0x43e4fe
jmp 0x43e52e
lea ecx, [ebp - 0x30]
call fcn.004324d0
cmp eax, 0x20
jae 0x43e519
push 0
push 8
lea ecx, [ebp - 0x30]
call fcn.00409670
jmp 0x43e52e
call fcn.00406690
mov dword [ebp - 0x54], eax
lea ecx, [ebp - 0x30]
call fcn.00402c40
mov eax, dword [ebp - 0x54]
jmp 0x43e590
jmp 0x43e583
mov edx, dword [ebp - 0x60]
mov eax, dword [edx + 0x54]
push eax
movzx ecx, byte [ebp - 9]
push ecx
call fcn.0043cfe0
add esp, 8
movzx edx, al
test edx, edx
je 0x43e553
mov eax, dword [ebp + 8]
mov dword [ebp - 0x6c], eax
jmp 0x43e55b
call fcn.00406690
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x58], ecx
lea ecx, [ebp - 0x30]
call fcn.00402c40
mov eax, dword [ebp - 0x58]
jmp 0x43e590
call fcn.00406690
mov dword [ebp - 0x5c], eax
lea ecx, [ebp - 0x30]
call fcn.00402c40
mov eax, dword [ebp - 0x5c]
jmp 0x43e590
jmp 0x43e3f4
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00455328
mov esp, ebp
pop ebp
ret 4