Function at 0x432ee0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cefeb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], esp
call fcn.004312a0
xor ebx, ebx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ebx
mov eax, dword [esi + 0x220]
test eax, eax
je 0x432f49
mov ecx, dword [esi + 0x224]
sub ecx, eax
sar ecx, 2
cmp ebx, ecx
jae 0x432f49
mov edx, eax
mov edi, dword [edx + ebx*4]
test edi, edi
je 0x432f46
lea ecx, [edi + 0x21c]
call fcn.004106e0
push edi
call fcn.0049bb1b
add esp, 4
inc ebx
jmp 0x432f10
mov ecx, dword [esi + 0x224]
mov edx, dword [esi + 0x220]
cmp ecx, ecx
mov eax, ecx
je 0x432f69
mov edi, dword [eax]
add eax, 4
mov dword [edx], edi
add edx, 4
cmp eax, ecx
jne 0x432f5b
mov eax, dword [esi + 0x224]
mov dword [esi + 0x224], edx
mov edx, dword [esi + 8]
mov dword [ebp - 0x20], eax
xor eax, eax
test edx, edx
jle 0x432f9b
mov ebx, dword [esi + 4]
mov edi, dword [ebp - 0x18]
mov ecx, ebx
cmp dword [ecx], edi
jne 0x432f93
cmp byte [ecx + 8], 0
je 0x432fac
inc eax
add ecx, 0xc
cmp eax, edx
jl 0x432f89
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [ecx + 4]
dec edx
cmp eax, edx
je 0x432fc2
lea ecx, [eax + eax*2 + 3]
mov edx, dword [ebx + ecx*4 + 4]
lea eax, [ebx + ecx*4]
mov dword [ebp - 0x1c], edx
test edi, edi
jle 0x432f9b
mov eax, dword [esi + 0x22c]
mov dword [ebp - 4], 0
test eax, eax
je 0x432f9b
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
jne 0x432ffc
push 2
push 0
push eax
call dword [sym.imp.MSVCRT.dll_fseek]
mov eax, dword [esi + 0x22c]
push eax
call dword [sym.imp.MSVCRT.dll_ftell]
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov ecx, dword [esi + 0x22c]
push 0
push edi
push ecx
call dword [sym.imp.MSVCRT.dll_fseek]
mov edx, dword [esi + 0x22c]
push edx
call dword [sym.imp.MSVCRT.dll_ftell]
push 0x228
mov ebx, eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
add esp, 0x14
mov dword [ebp - 0x20], edi
test edi, edi
mov byte [ebp - 4], 1
je 0x433045
lea ecx, [edi + 0x21c]
call fcn.00410690
mov dword [ebp - 0x18], edi
jmp 0x43304f
mov dword [ebp - 0x18], 0
mov edi, dword [ebp - 0x18]
mov byte [ebp - 4], 0
cmp ebx, dword [ebp - 0x1c]
jge 0x4330ee
test edi, edi
je 0x432f9b
mov edx, dword [ebp - 0x18]
mov ecx, 0x8a
xor eax, eax
rep stosd dword es:[edi], eax
mov byte [ebp - 0x11], al
mov eax, dword [esi + 0x22c]
lea ecx, [ebp - 0x11]
push eax
push ecx
push edx
mov ecx, esi
call fcn.00431a90
cmp eax, 0xffffffff
je 0x4330eb
mov eax, dword [esi + 0x22c]
mov byte [ebp - 0x11], 1
push eax
call dword [sym.imp.MSVCRT.dll_ftell]
mov ecx, dword [esi + 0x22c]
push 0
push ebx
mov ebx, dword [sym.imp.MSVCRT.dll_fseek]
push ecx
mov edi, eax
call ebx
mov edx, dword [esi + 0x22c]
lea eax, [ebp - 0x11]
push edx
push 1
push 1
push eax
call dword [sym.imp.MSVCRT.dll_fwrite]
mov ecx, dword [esi + 0x22c]
push 0
push edi
push ecx
call ebx
mov edx, dword [esi + 0x22c]
push edx
call dword [sym.imp.MSVCRT.dll_ftell]
mov edi, dword [ebp - 0x18]
add esp, 0x30
mov ebx, eax
jmp 0x433053
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x432f9b
lea ecx, [edi + 0x21c]
call fcn.004106e0
push edi
call fcn.0049bb1b
mov ecx, dword [ebp - 0xc]
add esp, 4
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret