Function at 0x432733
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push esi
push edi
xor edi, edi
cmp dword [ebp + 8], edi
jne 0x432749
xor al, al
jmp 0x432a9a
mov eax, dword [ebp + 8]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43274f
sub eax, edx
je 0x432742
cmp dword [ebx + 0x344], edi
je 0x432742
push 0x45910c
push dword [ebp + 8]
call fcn.0043cfad
pop ecx
pop ecx
mov dword [ebp - 4], eax
cmp eax, edi
je 0x432742
lea esi, [ebx + 0x368]
cmp dword [esi], edi
jne 0x432792
push 0x454bc7
xor eax, eax
mov edi, ebx
call fcn.00432c7f
mov dword [esi], eax
mov esi, dword [esi]
mov eax, esi
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x432799
push dword [ebp - 4]
sub eax, ecx
mov edi, eax
push edi
push 1
push esi
call fcn.0043ea8f
add esp, 0x10
cmp eax, edi
je 0x4327c6
push dword [ebp - 4]
call fcn.0043d72e
xor al, al
jmp 0x432a99
mov eax, 0x456a18
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4327ce
mov edi, dword [ebp - 4]
sub eax, edx
push edi
mov esi, eax
push esi
push 1
push 0x456a18
call fcn.0043ea8f
add esp, 0x10
cmp eax, esi
je 0x4327f4
push edi
jmp 0x4327ba
mov eax, dword [ebx + 0x340]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0xc], eax
shl eax, 2
push eax
call fcn.0043ba63
pop ecx
mov dword [ebp - 0x10], eax
test eax, eax
je 0x432742
mov ecx, dword [ebx + 0x340]
mov ecx, dword [ecx]
xor eax, eax
cmp dword [ecx + 0xc], eax
jbe 0x4328ec
mov ecx, dword [ebx + 0x340]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 8]
mov ecx, dword [ecx + eax*4]
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x10]
mov dword [edx + eax*4], ecx
inc eax
mov dword [ebp + 8], eax
cmp dword [ebp - 0xc], eax
jbe 0x43288d
test ecx, ecx
je 0x4328d8
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x432856
sub eax, esi
push edi
mov esi, eax
push esi
push 1
push ecx
call fcn.0043ea8f
add esp, 0x10
push edi
cmp eax, esi
jne 0x4327ba
push 1
push 1
push 0x456a18
call fcn.0043ea8f
add esp, 0x10
cmp eax, 1
jmp 0x4328cb
test ecx, ecx
je 0x4328d8
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x432896
sub eax, esi
push edi
mov esi, eax
push esi
push 1
push ecx
call fcn.0043ea8f
add esp, 0x10
push edi
cmp eax, esi
jne 0x4327ba
push 2
push 1
push 0x456a1c
call fcn.0043ea8f
add esp, 0x10
cmp eax, 2
push edi
jne 0x4327ba
call fcn.0043e732
pop ecx
mov ecx, dword [ebx + 0x340]
mov eax, dword [ebp + 8]
mov ecx, dword [ecx]
cmp eax, dword [ecx + 0xc]
jb 0x43282a
xor eax, eax
cmp dword [ebx + 0x344], eax
jbe 0x432a88
mov ecx, dword [ebx + 0x340]
mov ecx, dword [ecx + eax*4]
mov edi, dword [ecx]
inc eax
cmp eax, dword [ebx + 0x120]
mov dword [ebp - 0x14], edi
setb byte [ebp + 0xb]
mov dword [ebp - 0x20], eax
test edi, edi
je 0x432967
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43291f
push dword [ebp - 4]
sub eax, edx
mov esi, eax
push esi
push 1
push edi
call fcn.0043ea8f
add esp, 0x10
push dword [ebp - 4]
cmp eax, esi
jne 0x4327ba
push 1
push 1
push 0x456a18
call fcn.0043ea8f
add esp, 0x10
push dword [ebp - 4]
cmp eax, 1
jne 0x4327ba
call fcn.0043e732
pop ecx
xor eax, eax
cmp dword [ebp - 0xc], eax
jbe 0x432a59
lea ecx, [eax + 1]
mov dword [ebp - 0x1c], ecx
cmp ecx, dword [ebp - 0xc]
jae 0x432986
mov dword [ebp - 8], 0x456a18
jmp 0x43299a
cmp byte [ebp + 0xb], 0
mov dword [ebp - 8], 0x454bc7
jne 0x43299a
mov dword [ebp - 8], 0x456a1c
mov ecx, dword [ebp - 0x10]
mov esi, dword [ecx + eax*4]
push 0
push esi
push edi
mov eax, ebx
call fcn.0043058f
test eax, eax
je 0x432a4d
push 0
push esi
push edi
mov eax, ebx
call fcn.0043058f
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4329c1
sub eax, ecx
mov edi, eax
mov eax, dword [ebp - 8]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4329d2
push dword [ebp - 4]
sub eax, ecx
push edi
push 1
push ecx
push 0
push esi
push dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, ebx
call fcn.0043058f
pop ecx
push eax
call fcn.0043ea8f
add esp, 0x10
cmp eax, edi
jne 0x4327b7
mov esi, dword [ebp - 8]
test esi, esi
je 0x432a41
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x432a10
sub eax, edx
je 0x432a41
mov eax, esi
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x432a20
push dword [ebp - 4]
sub eax, ecx
push eax
push 1
push esi
call fcn.0043ea8f
add esp, 0x10
cmp eax, dword [ebp - 0x18]
jne 0x4327b7
push dword [ebp - 4]
call fcn.0043e732
mov edi, dword [ebp - 0x14]
pop ecx
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0xc]
jb 0x432972
push dword [ebp - 4]
push 2
push 1
push 0x456a1c
call fcn.0043ea8f
add esp, 0x10
cmp eax, 2
jne 0x4327b7
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebx + 0x344]
jb 0x4328fa
mov edi, dword [ebp - 4]
push edi
call fcn.0043d72e
pop ecx
push dword [ebp - 0x10]
call fcn.0043c387
mov al, 1
pop ecx
pop edi
pop esi
leave
ret 4