Function at 0x42e000
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ca15b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x20], esi
call fcn.0042c590
xor ebx, ebx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ebx
mov eax, dword [esi + 0x220]
test eax, eax
je 0x42e06c
mov ecx, dword [esi + 0x224]
sub ecx, eax
sar ecx, 2
cmp ebx, ecx
jae 0x42e06c
mov edx, eax
mov edi, dword [edx + ebx*4]
test edi, edi
je 0x42e069
lea ecx, [edi + 0x21c]
call fcn.00410330
push edi
call fcn.00495c27
add esp, 4
inc ebx
jmp 0x42e033
mov ecx, dword [esi + 0x224]
mov edx, dword [esi + 0x220]
cmp ecx, ecx
mov eax, ecx
je 0x42e08c
mov edi, dword [eax]
add eax, 4
mov dword [edx], edi
add edx, 4
cmp eax, ecx
jne 0x42e07e
mov eax, dword [esi + 0x224]
mov dword [esi + 0x224], edx
mov edx, dword [esi + 8]
mov dword [ebp - 0x24], eax
xor eax, eax
test edx, edx
jle 0x42e0be
mov ebx, dword [esi + 4]
mov edi, dword [ebp - 0x18]
mov ecx, ebx
cmp dword [ecx], edi
jne 0x42e0b6
cmp byte [ecx + 8], 0
je 0x42e0cf
inc eax
add ecx, 0xc
cmp eax, edx
jl 0x42e0ac
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 0x42e0e5
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 0x42e0be
add esi, 0x10
push 0x4e9358
push esi
mov dword [ebp - 4], 0
call dword [sym.imp.MSVCRT.dll__wfopen]
mov esi, eax
add esp, 8
test esi, esi
mov dword [ebp - 0x24], esi
je 0x42e0be
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x42e12a
push 2
push 0
push esi
call dword [sym.imp.MSVCRT.dll_fseek]
push esi
call dword [sym.imp.MSVCRT.dll_ftell]
add esp, 0x10
mov dword [ebp - 0x1c], eax
push 0
push edi
push esi
call dword [sym.imp.MSVCRT.dll_fseek]
push esi
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 - 0x18], edi
test edi, edi
mov byte [ebp - 4], 1
je 0x42e167
lea ecx, [edi + 0x21c]
call fcn.004102e0
mov dword [ebp - 0x18], edi
jmp 0x42e171
mov dword [ebp - 0x18], 0
mov edi, dword [ebp - 0x18]
mov byte [ebp - 4], 0
cmp ebx, dword [ebp - 0x1c]
jge 0x42e1e2
test edi, edi
je 0x42e1fa
mov ecx, 0x8a
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 0x11], al
lea eax, [ebp - 0x11]
push esi
push eax
push ecx
mov ecx, dword [ebp - 0x20]
call fcn.0042ccd0
cmp eax, 0xffffffff
je 0x42e1df
push esi
mov byte [ebp - 0x11], 1
call dword [sym.imp.MSVCRT.dll_ftell]
push 0
push ebx
mov ebx, dword [sym.imp.MSVCRT.dll_fseek]
push esi
mov edi, eax
call ebx
push esi
push 1
lea edx, [ebp - 0x11]
push 1
push edx
call dword [sym.imp.MSVCRT.dll_fwrite]
push 0
push edi
push esi
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_ftell]
mov edi, dword [ebp - 0x18]
add esp, 0x30
mov ebx, eax
jmp 0x42e175
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x42e1fa
lea ecx, [edi + 0x21c]
call fcn.00410330
push edi
call fcn.00495c27
add esp, 4
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
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