Function at 0x1029eb50
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
push ebx
push esi
push edi
mov ecx, 0x104f67a8
call fcn.1015f0d9
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x78]
push eax
call fcn.1029e650
add esp, 0x10
mov ecx, dword [eax]
mov dword [ebp - 0x6c], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x68], edx
mov eax, dword [eax + 8]
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x68]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x64]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1029ebbb
mov eax, dword [ebp - 8]
add eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0xc]
cmp eax, dword [ecx + 4]
jg 0x1029ebbb
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x1c], 0
jne 0x1029ebde
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
mov edx, dword [ebp - 8]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 4]
mov dword [eax + 8], ecx
mov eax, dword [ebp + 8]
jmp 0x1029ed6d
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x1c]
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov cx, word [ebp - 0xc]
mov word [eax], cx
mov eax, dword [ebp - 8]
add eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x10]
mov word [ecx + 2], ax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
mov dword [eax + 0x1c], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
movzx ecx, word [eax]
cmp ecx, dword [ebp - 0xc]
jge 0x1029ec37
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
jmp 0x1029ec3f
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
mov eax, dword [ebp - 0x14]
cmp dword [eax + 4], 0
je 0x1029ec81
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 4]
movzx edx, word [ecx]
mov eax, dword [ebp - 0xc]
add eax, dword [ebp + 0x10]
cmp edx, eax
jg 0x1029ec81
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x1c]
mov dword [eax + 4], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0x1c], ecx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
jmp 0x1029ec3f
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 0x14]
movzx ecx, word [eax]
mov edx, dword [ebp - 0xc]
add edx, dword [ebp + 0x10]
cmp ecx, edx
jge 0x1029eca6
mov eax, dword [ebp - 0xc]
add eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x14]
mov word [ecx], ax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
movzx ecx, word [eax]
mov edx, dword [ebp + 0xc]
cmp ecx, dword [edx]
jge 0x1029ece2
mov eax, dword [ebp - 0x14]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 4]
movzx edx, word [eax]
cmp ecx, edx
jl 0x1029ecd7
push 0
call dword [sym.imp.ucrtbased.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x14], ecx
jmp 0x1029ecaf
mov eax, dword [ebp - 0x14]
cmp dword [eax + 4], 0
je 0x1029ecf3
push 0
call dword [sym.imp.ucrtbased.dll_exit]
mov dword [ebp - 0x20], 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 0
je 0x1029ed1d
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [ebp - 0x20], eax
jmp 0x1029ed03
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x1c]
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 0
je 0x1029ed40
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [ebp - 0x20], eax
jmp 0x1029ed26
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x14]
add ecx, 2
cmp dword [ebp - 0x20], ecx
je 0x1029ed56
push 0
call dword [sym.imp.ucrtbased.dll_exit]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
mov edx, dword [ebp - 8]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 4]
mov dword [eax + 8], ecx
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret