Function at 0x1060ecb
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, eax
mov eax, dword [esi + 0x75348]
lea eax, [eax + eax*2]
push edi
mov edi, dword [sym.imp.msvcrt.dll_malloc]
shl eax, 3
push eax
call edi
xor ebx, ebx
cmp eax, ebx
pop ecx
mov dword [esi + 4], eax
jne 0x1060f01
push dword [esi + 0x75348]
push 0x100ee24
jmp 0x1060f40
cmp dword [esi + 0x75348], ebx
mov dword [ebp - 4], ebx
jbe 0x1060f22
mov eax, dword [ebp - 4]
call fcn.01060c3a
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [esi + 0x75348]
jb 0x1060f0c
mov eax, dword [esi + 0x7534c]
shl eax, 3
push eax
call edi
cmp eax, ebx
pop ecx
mov dword [esi], eax
jne 0x1060f5a
push dword [esi + 0x7534c]
push 0x100ede8
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push eax
call dword [sym.imp.msvcrt.dll_fprintf]
add esp, 0xc
push 1
call dword [sym.imp.msvcrt.dll_exit]
xor eax, eax
cmp dword [esi + 0x7534c], ebx
jbe 0x1060f8c
mov ecx, dword [0x107c48c]
mov ecx, dword [ecx]
mov dword [ecx + eax*8], 0xdeadbeef
mov ecx, dword [0x107c48c]
mov ecx, dword [ecx]
mov dword [ecx + eax*8 + 4], 0x100ecac
inc eax
cmp eax, dword [esi + 0x7534c]
jb 0x1060f64
mov eax, dword [esi + 4]
mov dword [eax], ebx
mov eax, dword [esi]
mov dword [eax], ebx
mov eax, dword [esi]
mov dword [eax + 4], 0x100e1b8
add esi, 0x10
mov eax, 0x2710
or dword [esi - 8], 0xffffffff
or dword [esi], 0xffffffff
mov dword [esi - 4], ebx
add esi, 0x30
dec eax
jne 0x1060fa6
mov esi, dword [ebp + 8]
lea edi, [esi + 0x134]
cmp dword [edi], ebx
jne 0x1060fed
push ebx
push edi
call fcn.0106cc8b
cmp eax, ebx
je 0x1060fed
push eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push 0x100eda8
push eax
call dword [sym.imp.msvcrt.dll_fprintf]
add esp, 0xc
xor al, al
jmp 0x1061135
cmp byte [esi + 6], 0
je 0x1061133
cmp byte [esi + 0x13a], 0
je 0x1061133
mov eax, dword [edi]
mov ecx, dword [eax + 0x14c]
mov edx, dword [eax + 0x154]
cmp dword [eax + 0x148], ebx
mov dword [ebp - 4], ebx
mov ebx, dword [sym.imp.msvcrt.dll_printf]
lea ecx, [ecx + eax + 0x1f0]
lea esi, [edx + eax + 0x1f0]
jbe 0x1061071
lea eax, [ecx + 8]
mov dword [ebp - 8], eax
jmp 0x106103c
mov eax, dword [ebp - 8]
push dword [eax + 0xc]
push dword [eax + 8]
push dword [eax + 4]
push dword [eax]
mov eax, dword [ebp + 8]
push dword [ebp - 4]
push dword [eax + 0x6c]
push 0x100ed7c
call ebx
mov eax, dword [edi]
add dword [ebp - 8], 0x130
add esp, 0x1c
inc dword [ebp - 4]
mov ecx, dword [ebp - 4]
cmp ecx, dword [eax + 0x148]
jb 0x1061039
mov eax, dword [edi]
and dword [ebp - 4], 0
cmp dword [eax + 0x150], 0
jbe 0x1061133
test byte [esi + 4], 1
je 0x10610b7
mov eax, dword [esi + 0x2c]
imul eax, dword [esi + 0x28]
push eax
push dword [esi + 0x24]
lea eax, [esi + 8]
push dword [esi + 0x20]
push dword [esi + 0x1c]
push dword [esi + 0x18]
push eax
push dword [esi + 0xc]
mov eax, dword [ebp + 8]
push dword [eax + 0x6c]
push 0x100ed38
call ebx
add esp, 0x24
jmp 0x106110d
and dword [ebp - 8], 0
cmp dword [esi + 0x50], 0
lea edi, [esi + 0x58]
jbe 0x106110d
mov edx, dword [esi + 0x2c]
imul edx, dword [esi + 0x28]
mov ecx, dword [edi + 8]
mov eax, dword [edi + 0xc]
push edx
mov edx, dword [edi + 0x10]
add edx, ecx
mov ecx, dword [edi + 0x14]
adc ecx, eax
push ecx
push edx
push eax
push dword [edi + 8]
lea eax, [esi + 8]
push eax
push dword [edi]
mov eax, dword [ebp + 8]
push dword [eax + 0x6c]
push 0x100ed38
call ebx
push 0x1007dc4
add edi, 0x18
call ebx
add esp, 0x28
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
cmp eax, dword [esi + 0x50]
jb 0x10610c4
push 0x1007dc4
call ebx
add esi, dword [esi]
mov eax, dword [ebp + 8]
inc dword [ebp - 4]
add eax, 0x134
mov eax, dword [eax]
pop ecx
mov ecx, dword [ebp - 4]
cmp ecx, dword [eax + 0x150]
jb 0x1061084
mov al, 1
pop edi
pop esi
pop ebx
leave
ret 4