Function at 0x43a33f
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 0x43a355
xor al, al
jmp 0x43a6a6
mov eax, dword [ebp + 8]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43a35b
sub eax, edx
je 0x43a34e
cmp dword [ebx + 0x360], edi
je 0x43a34e
push 0x46120c
push dword [ebp + 8]
call fcn.004459de
pop ecx
pop ecx
mov dword [ebp - 4], eax
cmp eax, edi
je 0x43a34e
lea esi, [ebx + 0x394]
cmp dword [esi], edi
jne 0x43a39e
push 0x45cbc7
xor eax, eax
mov edi, ebx
call fcn.0043aaa1
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 0x43a3a5
push dword [ebp - 4]
sub eax, ecx
mov edi, eax
push edi
push 1
push esi
call fcn.00447136
add esp, 0x10
cmp eax, edi
je 0x43a3d2
push dword [ebp - 4]
call fcn.0044615f
xor al, al
jmp 0x43a6a5
mov eax, 0x45ec70
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43a3da
mov edi, dword [ebp - 4]
sub eax, edx
push edi
mov esi, eax
push esi
push 1
push 0x45ec70
call fcn.00447136
add esp, 0x10
cmp eax, esi
je 0x43a400
push edi
jmp 0x43a3c6
mov eax, dword [ebx + 0x35c]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0xc], eax
shl eax, 2
push eax
call fcn.00444443
pop ecx
mov dword [ebp - 0x10], eax
test eax, eax
je 0x43a34e
mov ecx, dword [ebx + 0x35c]
mov ecx, dword [ecx]
xor eax, eax
cmp dword [ecx + 0xc], eax
jbe 0x43a4f8
mov ecx, dword [ebx + 0x35c]
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 0x43a499
test ecx, ecx
je 0x43a4e4
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x43a462
sub eax, esi
push edi
mov esi, eax
push esi
push 1
push ecx
call fcn.00447136
add esp, 0x10
push edi
cmp eax, esi
jne 0x43a3c6
push 1
push 1
push 0x45ec70
call fcn.00447136
add esp, 0x10
cmp eax, 1
jmp 0x43a4d7
test ecx, ecx
je 0x43a4e4
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x43a4a2
sub eax, esi
push edi
mov esi, eax
push esi
push 1
push ecx
call fcn.00447136
add esp, 0x10
push edi
cmp eax, esi
jne 0x43a3c6
push 2
push 1
push 0x45ec74
call fcn.00447136
add esp, 0x10
cmp eax, 2
push edi
jne 0x43a3c6
call fcn.00446e17
pop ecx
mov ecx, dword [ebx + 0x35c]
mov eax, dword [ebp + 8]
mov ecx, dword [ecx]
cmp eax, dword [ecx + 0xc]
jb 0x43a436
xor eax, eax
cmp dword [ebx + 0x360], eax
jbe 0x43a694
mov ecx, dword [ebx + 0x35c]
mov ecx, dword [ecx + eax*4]
mov edi, dword [ecx]
inc eax
cmp eax, dword [ebx + 0x124]
mov dword [ebp - 0x14], edi
setb byte [ebp + 0xb]
mov dword [ebp - 0x20], eax
test edi, edi
je 0x43a573
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43a52b
push dword [ebp - 4]
sub eax, edx
mov esi, eax
push esi
push 1
push edi
call fcn.00447136
add esp, 0x10
push dword [ebp - 4]
cmp eax, esi
jne 0x43a3c6
push 1
push 1
push 0x45ec70
call fcn.00447136
add esp, 0x10
push dword [ebp - 4]
cmp eax, 1
jne 0x43a3c6
call fcn.00446e17
pop ecx
xor eax, eax
cmp dword [ebp - 0xc], eax
jbe 0x43a665
lea ecx, [eax + 1]
mov dword [ebp - 0x1c], ecx
cmp ecx, dword [ebp - 0xc]
jae 0x43a592
mov dword [ebp - 8], 0x45ec70
jmp 0x43a5a6
cmp byte [ebp + 0xb], 0
mov dword [ebp - 8], 0x45cbc7
jne 0x43a5a6
mov dword [ebp - 8], 0x45ec74
mov ecx, dword [ebp - 0x10]
mov esi, dword [ecx + eax*4]
push 0
push esi
push edi
mov eax, ebx
call fcn.00437bd4
test eax, eax
je 0x43a659
push 0
push esi
push edi
mov eax, ebx
call fcn.00437bd4
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x43a5cd
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 0x43a5de
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.00437bd4
pop ecx
push eax
call fcn.00447136
add esp, 0x10
cmp eax, edi
jne 0x43a3c3
mov esi, dword [ebp - 8]
test esi, esi
je 0x43a64d
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43a61c
sub eax, edx
je 0x43a64d
mov eax, esi
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x43a62c
push dword [ebp - 4]
sub eax, ecx
push eax
push 1
push esi
call fcn.00447136
add esp, 0x10
cmp eax, dword [ebp - 0x18]
jne 0x43a3c3
push dword [ebp - 4]
call fcn.00446e17
mov edi, dword [ebp - 0x14]
pop ecx
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0xc]
jb 0x43a57e
push dword [ebp - 4]
push 2
push 1
push 0x45ec74
call fcn.00447136
add esp, 0x10
cmp eax, 2
jne 0x43a3c3
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebx + 0x360]
jb 0x43a506
mov edi, dword [ebp - 4]
push edi
call fcn.0044615f
pop ecx
push dword [ebp - 0x10]
call fcn.00444db8
mov al, 1
pop ecx
pop edi
pop esi
leave
ret 4