Function at 0x43bb8a
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 0x43bba0
xor al, al
jmp 0x43bef1
mov eax, dword [ebp + 8]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43bba6
sub eax, edx
je 0x43bb99
cmp dword [ebx + 0x360], edi
je 0x43bb99
push 0x4631bc
push dword [ebp + 8]
call fcn.004471be
pop ecx
pop ecx
mov dword [ebp - 4], eax
cmp eax, edi
je 0x43bb99
lea esi, [ebx + 0x394]
cmp dword [esi], edi
jne 0x43bbe9
push 0x45ebc7
xor eax, eax
mov edi, ebx
call fcn.0043c2ec
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 0x43bbf0
push dword [ebp - 4]
sub eax, ecx
mov edi, eax
push edi
push 1
push esi
call fcn.00448b90
add esp, 0x10
cmp eax, edi
je 0x43bc1d
push dword [ebp - 4]
call fcn.0044793f
xor al, al
jmp 0x43bef0
mov eax, 0x460b58
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43bc25
mov edi, dword [ebp - 4]
sub eax, edx
push edi
mov esi, eax
push esi
push 1
push 0x460b58
call fcn.00448b90
add esp, 0x10
cmp eax, esi
je 0x43bc4b
push edi
jmp 0x43bc11
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.00445c23
pop ecx
mov dword [ebp - 0x10], eax
test eax, eax
je 0x43bb99
mov ecx, dword [ebx + 0x35c]
mov ecx, dword [ecx]
xor eax, eax
cmp dword [ecx + 0xc], eax
jbe 0x43bd43
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 0x43bce4
test ecx, ecx
je 0x43bd2f
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x43bcad
sub eax, esi
push edi
mov esi, eax
push esi
push 1
push ecx
call fcn.00448b90
add esp, 0x10
push edi
cmp eax, esi
jne 0x43bc11
push 1
push 1
push 0x460b58
call fcn.00448b90
add esp, 0x10
cmp eax, 1
jmp 0x43bd22
test ecx, ecx
je 0x43bd2f
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x43bced
sub eax, esi
push edi
mov esi, eax
push esi
push 1
push ecx
call fcn.00448b90
add esp, 0x10
push edi
cmp eax, esi
jne 0x43bc11
push 2
push 1
push 0x460b5c
call fcn.00448b90
add esp, 0x10
cmp eax, 2
push edi
jne 0x43bc11
call fcn.004488ee
pop ecx
mov ecx, dword [ebx + 0x35c]
mov eax, dword [ebp + 8]
mov ecx, dword [ecx]
cmp eax, dword [ecx + 0xc]
jb 0x43bc81
xor eax, eax
cmp dword [ebx + 0x360], eax
jbe 0x43bedf
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 0x43bdbe
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43bd76
push dword [ebp - 4]
sub eax, edx
mov esi, eax
push esi
push 1
push edi
call fcn.00448b90
add esp, 0x10
push dword [ebp - 4]
cmp eax, esi
jne 0x43bc11
push 1
push 1
push 0x460b58
call fcn.00448b90
add esp, 0x10
push dword [ebp - 4]
cmp eax, 1
jne 0x43bc11
call fcn.004488ee
pop ecx
xor eax, eax
cmp dword [ebp - 0xc], eax
jbe 0x43beb0
lea ecx, [eax + 1]
mov dword [ebp - 0x1c], ecx
cmp ecx, dword [ebp - 0xc]
jae 0x43bddd
mov dword [ebp - 8], 0x460b58
jmp 0x43bdf1
cmp byte [ebp + 0xb], 0
mov dword [ebp - 8], 0x45ebc7
jne 0x43bdf1
mov dword [ebp - 8], 0x460b5c
mov ecx, dword [ebp - 0x10]
mov esi, dword [ecx + eax*4]
push 0
push esi
push edi
mov eax, ebx
call fcn.0043941f
test eax, eax
je 0x43bea4
push 0
push esi
push edi
mov eax, ebx
call fcn.0043941f
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x43be18
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 0x43be29
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.0043941f
pop ecx
push eax
call fcn.00448b90
add esp, 0x10
cmp eax, edi
jne 0x43bc0e
mov esi, dword [ebp - 8]
test esi, esi
je 0x43be98
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43be67
sub eax, edx
je 0x43be98
mov eax, esi
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x43be77
push dword [ebp - 4]
sub eax, ecx
push eax
push 1
push esi
call fcn.00448b90
add esp, 0x10
cmp eax, dword [ebp - 0x18]
jne 0x43bc0e
push dword [ebp - 4]
call fcn.004488ee
mov edi, dword [ebp - 0x14]
pop ecx
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0xc]
jb 0x43bdc9
push dword [ebp - 4]
push 2
push 1
push 0x460b5c
call fcn.00448b90
add esp, 0x10
cmp eax, 2
jne 0x43bc0e
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebx + 0x360]
jb 0x43bd51
mov edi, dword [ebp - 4]
push edi
call fcn.0044793f
pop ecx
push dword [ebp - 0x10]
call fcn.00446598
mov al, 1
pop ecx
pop edi
pop esi
leave
ret 4