Function at 0x1029e650
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x104e6584]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ecx, 0x104f67a8
call fcn.1015f0d9
mov dword [ebp - 8], 0x40000000
mov dword [ebp - 0x10], 0x40000000
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 8]
mov edx, dword [ebp + 0x10]
lea eax, [edx + ecx - 1]
mov dword [ebp + 0x10], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
cdq
idiv dword [ecx + 8]
mov eax, dword [ebp + 0x10]
sub eax, edx
mov dword [ebp + 0x10], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
cdq
idiv dword [ecx + 8]
test edx, edx
je 0x1029e6bd
push 0
call dword [sym.imp.ucrtbased.dll_exit]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp + 0xc]
add eax, 0x18
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x24]
movzx ecx, word [eax]
add ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
cmp ecx, dword [edx]
jg 0x1029e773
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x24]
movzx eax, word [edx]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.1029e9b0
add esp, 0x14
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x10], 0
jne 0x1029e724
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x10]
jge 0x1029e722
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x2c], eax
jmp 0x1029e75c
mov eax, dword [ebp - 0x30]
add eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0xc]
cmp eax, dword [ecx + 4]
jg 0x1029e75c
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x10]
jl 0x1029e74a
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x10]
jne 0x1029e75c
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 8]
jge 0x1029e75c
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x24]
add eax, 4
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x24], ecx
jmp 0x1029e6cf
cmp dword [ebp - 0x2c], 0
jne 0x1029e785
mov dword [ebp - 0x84], 0
jmp 0x1029e793
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
movzx edx, word [ecx]
mov dword [ebp - 0x84], edx
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x10], 1
jne 0x1029e8c8
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp + 0xc]
add eax, 0x18
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x28]
movzx ecx, word [eax]
cmp ecx, dword [ebp + 0x10]
jge 0x1029e7da
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x28], ecx
jmp 0x1029e7c4
cmp dword [ebp - 0x28], 0
je 0x1029e8c8
mov eax, dword [ebp - 0x28]
movzx ecx, word [eax]
sub ecx, dword [ebp + 0x10]
mov dword [ebp - 0x38], ecx
jns 0x1029e7fa
push 0
call dword [sym.imp.ucrtbased.dll_exit]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 4]
movzx edx, word [ecx]
cmp edx, dword [ebp - 0x38]
jg 0x1029e81c
mov eax, dword [ebp - 0x24]
add eax, 4
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x24], ecx
jmp 0x1029e7fa
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 4]
movzx edx, word [ecx]
cmp edx, dword [ebp - 0x38]
jle 0x1029e835
mov eax, dword [ebp - 0x24]
movzx ecx, word [eax]
cmp ecx, dword [ebp - 0x38]
jle 0x1029e83d
push 0
call dword [sym.imp.ucrtbased.dll_exit]
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x38]
push edx
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.1029e9b0
add esp, 0x14
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
add eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0xc]
cmp eax, dword [ecx + 4]
jge 0x1029e8ba
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x10]
jg 0x1029e8ba
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x10]
jl 0x1029e892
mov eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 8]
jl 0x1029e892
mov eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 8]
jne 0x1029e8ba
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebp - 0xc]
jge 0x1029e8ba
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x10]
jle 0x1029e8a8
push 0
call dword [sym.imp.ucrtbased.dll_exit]
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x28], ecx
jmp 0x1029e7da
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
mov edx, dword [ebp - 0x18]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x14]
mov dword [eax + 8], ecx
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1015ebf2
mov esp, ebp
pop ebp
ret