Function at 0x1012df00
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, ecx
mov dword [ebp - 4], 0
push ebx
lea ecx, [edx - 1]
mov dword [ebp - 8], eax
push esi
mov esi, dword [eax + 8]
add ecx, esi
mov eax, ecx
cdq
idiv esi
push edi
sub ecx, edx
mov edi, 0x40000000
mov eax, ecx
mov dword [ebp - 0x10], edi
cdq
mov ebx, edi
idiv esi
mov dword [ebp - 0xc], ecx
test edx, edx
jne 0x1012e101
mov edx, dword [ebp - 8]
mov edi, dword [ebp - 8]
add edx, 0x18
mov esi, edx
mov eax, dword [edx]
mov dword [ebp - 0x14], eax
movzx ecx, word [eax]
mov eax, ecx
add eax, dword [ebp - 0xc]
cmp eax, dword [edi]
mov edi, ebx
jg 0x1012e011
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0xc]
movzx eax, cx
push eax
mov dword [ebp - 0x18], ebx
call fcn.1012e110
mov edx, dword [ebp - 8]
mov ecx, eax
add esp, 0xc
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x1012df9b
cmp ecx, ebx
cmovl ebx, ecx
cmp ecx, dword [ebp - 0x18]
cmovge esi, dword [ebp - 4]
mov eax, esi
mov dword [ebp - 4], eax
jmp 0x1012dfc0
mov eax, dword [ebp + 0xc]
add eax, ecx
cmp eax, dword [edx + 4]
jg 0x1012dfbd
mov eax, dword [ebp - 0x10]
cmp ecx, ebx
jl 0x1012dfb2
jne 0x1012dfbd
cmp eax, edi
jge 0x1012dfbd
mov edi, eax
mov ebx, ecx
mov eax, esi
mov dword [ebp - 4], eax
jmp 0x1012dfc0
mov eax, dword [ebp - 4]
mov esi, dword [ebp - 0x14]
add esi, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], edi
mov eax, dword [esi]
mov dword [ebp - 0x14], eax
movzx eax, word [eax]
mov ecx, eax
add eax, dword [ebp - 0xc]
cmp eax, dword [edx]
mov edx, dword [ebp - 0x18]
jle 0x1012df60
mov eax, dword [ebp - 8]
mov ecx, edx
add eax, 0x18
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x18], eax
mov esi, ebx
mov dword [ebp - 4], ecx
test edx, edx
je 0x1012e01e
mov eax, dword [edx]
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], ecx
movzx eax, word [eax]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x1c]
jmp 0x1012e028
mov eax, dword [ebp - 8]
xor ecx, ecx
mov dword [ebp - 0x18], edx
mov eax, dword [eax + 0x10]
jmp 0x1012e021
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], 0
cmp eax, 1
jne 0x1012e0ec
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
mov ecx, dword [ecx + 0x18]
mov edi, ecx
mov dword [ebp - 0x1c], ecx
movzx eax, word [ecx]
cmp eax, edx
jge 0x1012e053
mov ecx, dword [ecx + 4]
movzx eax, word [ecx]
cmp eax, edx
jl 0x1012e046
mov dword [ebp - 0x1c], ecx
movzx esi, word [ecx]
sub esi, edx
js 0x1012e101
mov edx, dword [edi + 4]
lea ecx, [edi + 4]
movzx eax, word [edx]
cmp eax, esi
jg 0x1012e082
nop dword [eax + eax]
mov edi, edx
mov dword [ebp - 0x18], ecx
mov edx, dword [edi + 4]
lea ecx, [edi + 4]
movzx eax, word [edx]
cmp eax, esi
jle 0x1012e070
mov eax, dword [edi + 4]
movzx eax, word [eax]
cmp eax, esi
jle 0x1012e101
movzx eax, word [edi]
cmp eax, esi
jg 0x1012e101
lea eax, [ebp - 0x24]
mov edx, edi
push eax
push dword [ebp - 0xc]
push esi
call fcn.1012e110
mov edx, dword [ebp - 8]
add esp, 0xc
mov ecx, dword [ebp + 0xc]
add ecx, eax
cmp ecx, dword [edx + 4]
jge 0x1012e0d5
cmp eax, ebx
jg 0x1012e0d5
mov ecx, dword [ebp - 0x24]
jl 0x1012e0c7
cmp ecx, dword [ebp - 0x10]
jl 0x1012e0c7
jne 0x1012e0d5
cmp esi, dword [ebp - 0x14]
jge 0x1012e0d5
mov ebx, eax
mov dword [ebp - 0x14], esi
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0xc]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x1c], ecx
test ecx, ecx
jne 0x1012e053
mov ecx, dword [ebp - 4]
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0x14]
mov dword [eax + 4], ebx
mov dword [eax], ecx
pop ebx
mov esp, ebp
pop ebp
ret
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3