Function at 0x10053fa0
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 0x100541a1
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 0x100540b1
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.10053ec0
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 0x1005403b
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 0x10054060
mov eax, dword [ebp + 0xc]
add eax, ecx
cmp eax, dword [edx + 4]
jg 0x1005405d
mov eax, dword [ebp - 0x10]
cmp ecx, ebx
jl 0x10054052
jne 0x1005405d
cmp eax, edi
jge 0x1005405d
mov edi, eax
mov ebx, ecx
mov eax, esi
mov dword [ebp - 4], eax
jmp 0x10054060
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 0x10054000
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 0x100540be
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 0x100540c8
mov eax, dword [ebp - 8]
xor ecx, ecx
mov dword [ebp - 0x18], edx
mov eax, dword [eax + 0x10]
jmp 0x100540c1
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], 0
cmp eax, 1
jne 0x1005418c
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 0x100540f3
mov ecx, dword [ecx + 4]
movzx eax, word [ecx]
cmp eax, edx
jl 0x100540e6
mov dword [ebp - 0x1c], ecx
movzx esi, word [ecx]
sub esi, edx
js 0x100541a1
mov edx, dword [edi + 4]
lea ecx, [edi + 4]
movzx eax, word [edx]
cmp eax, esi
jg 0x10054122
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 0x10054110
mov eax, dword [edi + 4]
movzx eax, word [eax]
cmp eax, esi
jle 0x100541a1
movzx eax, word [edi]
cmp eax, esi
jg 0x100541a1
lea eax, [ebp - 0x24]
mov edx, edi
push eax
push dword [ebp - 0xc]
push esi
call fcn.10053ec0
mov edx, dword [ebp - 8]
add esp, 0xc
mov ecx, dword [ebp + 0xc]
add ecx, eax
cmp ecx, dword [edx + 4]
jge 0x10054175
cmp eax, ebx
jg 0x10054175
mov ecx, dword [ebp - 0x24]
jl 0x10054167
cmp ecx, dword [ebp - 0x10]
jl 0x10054167
jne 0x10054175
cmp esi, dword [ebp - 0x14]
jge 0x10054175
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 0x100540f3
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