Function at 0x43b2f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bb691
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], esp
mov edx, dword [edi + 8]
xor eax, eax
cmp edx, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], eax
jle 0x43b33c
mov ebx, dword [edi + 4]
mov esi, dword [ebp + 8]
mov ecx, ebx
cmp dword [ecx], esi
jne 0x43b334
cmp byte [ecx + 8], 0
je 0x43b35e
inc eax
add ecx, 0xc
cmp eax, edx
jl 0x43b32a
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], 0xffffffff
call fcn.004142e0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov esi, dword [ecx + 4]
dec edx
cmp eax, edx
je 0x43b374
lea eax, [eax + eax*2 + 3]
mov ecx, dword [ebx + eax*4 + 4]
lea eax, [ebx + eax*4]
mov dword [ebp - 0x14], ecx
test esi, esi
jle 0x43b33c
mov eax, dword [edi + 0x23c]
mov byte [ebp - 4], 1
test eax, eax
je 0x43b33c
mov ecx, dword [ebp - 0x14]
test ecx, ecx
jne 0x43b3ab
push 2
push 0
push eax
call dword [sym.imp.MSVCRT.dll_fseek]
mov edx, dword [edi + 0x23c]
push edx
call dword [sym.imp.MSVCRT.dll_ftell]
add esp, 0x10
mov dword [ebp - 0x14], eax
mov eax, dword [edi + 0x23c]
push 0
push esi
push eax
call dword [sym.imp.MSVCRT.dll_fseek]
mov ecx, dword [edi + 0x23c]
push ecx
call dword [sym.imp.MSVCRT.dll_ftell]
push 0x228
mov dword [ebp - 0x18], eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 0x14
mov dword [ebp + 8], esi
test esi, esi
mov byte [ebp - 4], 2
je 0x43b432
lea ebx, [esi + 0x21c]
mov ecx, ebx
call fcn.00414290
xor eax, eax
push 0x54ea08
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
call fcn.00414300
lea edx, [ebp - 0x24]
mov ecx, ebx
push edx
mov byte [ebp - 4], 4
call fcn.00414420
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call fcn.004142e0
mov ebx, esi
jmp 0x43b434
xor ebx, ebx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
cmp ecx, eax
jge 0x43b54d
xor esi, esi
cmp ebx, esi
je 0x43b33c
push 0x54ea08
lea ecx, [ebp - 0x24]
mov dword [ebx], esi
mov dword [ebx + 4], esi
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], esi
mov dword [ebx + 0x10], esi
call fcn.00414300
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 5
push ecx
lea ecx, [ebx + 0x21c]
call fcn.00414420
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.004142e0
mov edx, dword [edi + 0x23c]
lea eax, [ebp + 0xb]
push edx
push eax
push ebx
mov ecx, edi
mov byte [ebp + 0xb], 0
call fcn.00439700
cmp eax, 0xffffffff
je 0x43b54f
lea ecx, [ebp + 0xc]
call fcn.004144d0
mov esi, eax
mov eax, dword [ebx + 0x220]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x43b4de
test cl, cl
je 0x43b4da
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x43b4de
add eax, 2
add esi, 2
test cl, cl
jne 0x43b4ba
xor eax, eax
jmp 0x43b4e3
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x43b535
mov eax, dword [edi + 0x23c]
mov byte [ebp + 0xb], 1
push eax
call dword [sym.imp.MSVCRT.dll_ftell]
mov ecx, dword [ebp - 0x18]
mov edx, dword [edi + 0x23c]
push 0
push ecx
push edx
mov esi, eax
call dword [sym.imp.MSVCRT.dll_fseek]
mov eax, dword [edi + 0x23c]
lea ecx, [ebp + 0xb]
push eax
push 1
push 1
push ecx
call dword [sym.imp.MSVCRT.dll_fwrite]
mov edx, dword [edi + 0x23c]
push 0
push esi
push edx
call dword [sym.imp.MSVCRT.dll_fseek]
add esp, 0x2c
mov eax, dword [edi + 0x23c]
push eax
call dword [sym.imp.MSVCRT.dll_ftell]
add esp, 4
mov dword [ebp - 0x18], eax
jmp 0x43b438
xor esi, esi
cmp ebx, esi
je 0x43b33c
lea ecx, [ebx + 0x21c]
call fcn.004142e0
push ebx
call fcn.004b7a35
add esp, 4
jmp 0x43b33c