Function at 0x10074d60
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x18], 0x40000000
lea ecx, [edx - 1]
mov dword [ebp - 0xc], edi
mov ebx, 0x40000000
mov dword [ebp - 0x14], 0
mov dword [ebp - 8], ebx
mov esi, dword [edi + 8]
add ecx, esi
mov eax, ecx
cdq
idiv esi
sub ecx, edx
mov eax, ecx
mov dword [ebp - 0x10], ecx
cdq
idiv esi
test edx, edx
jne 0x10074f19
mov edx, dword [ebp - 0x10]
lea eax, [edi + 0x18]
mov edi, dword [eax]
mov esi, eax
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
movzx ecx, word [edi]
lea eax, [edx + ecx]
cmp eax, dword [ebx]
mov ebx, dword [ebp - 8]
jg 0x10074e30
lea eax, [ebp - 8]
push eax
push edx
movzx eax, cx
mov edx, edi
push eax
call fcn.10074c60
mov edx, dword [ebp - 0xc]
mov ecx, eax
add esp, 0xc
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x10074de8
cmp ecx, ebx
jge 0x10074e08
jmp 0x10074e03
mov eax, dword [ebp + 0xc]
add eax, ecx
cmp eax, dword [edx + 4]
jg 0x10074e08
mov eax, dword [ebp - 8]
cmp ecx, ebx
jl 0x10074e00
jne 0x10074e08
cmp eax, dword [ebp - 0x18]
jge 0x10074e08
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], esi
mov ebx, ecx
lea esi, [edi + 4]
mov edi, dword [esi]
movzx eax, word [edi]
mov ecx, eax
add eax, dword [ebp - 0x10]
cmp eax, dword [edx]
mov edx, dword [ebp - 0x10]
jle 0x10074dc0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 8], ebx
test eax, eax
je 0x10074e38
mov eax, dword [eax]
movzx ecx, word [eax]
mov eax, dword [ebp - 0x20]
jmp 0x10074e3d
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x10]
jmp 0x10074e3b
mov eax, dword [ebp - 0x20]
xor ecx, ecx
mov dword [ebp - 4], ecx
cmp eax, 1
jne 0x10074f01
mov ebx, dword [ebp - 0x1c]
mov ebx, dword [ebx]
mov edi, ebx
movzx eax, word [ebx]
cmp eax, edx
jge 0x10074e61
mov ebx, dword [ebx + 4]
movzx eax, word [ebx]
cmp eax, edx
jl 0x10074e57
movzx esi, word [ebx]
sub esi, edx
js 0x10074f19
mov edx, dword [edi + 4]
lea ecx, [edi + 4]
movzx eax, word [edx]
cmp eax, esi
jg 0x10074e92
nop dword [eax]
mov edi, edx
mov dword [ebp - 0x1c], ecx
mov edx, dword [edi + 4]
lea ecx, [edi + 4]
movzx eax, word [edx]
cmp eax, esi
jle 0x10074e80
mov eax, dword [edi + 4]
movzx eax, word [eax]
cmp eax, esi
jle 0x10074f19
movzx eax, word [edi]
cmp eax, esi
jg 0x10074f19
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x20]
push eax
push ecx
push esi
mov edx, edi
call fcn.10074c60
mov ecx, dword [ebp + 0xc]
mov edx, eax
mov eax, dword [ebp - 0xc]
add ecx, edx
add esp, 0xc
cmp ecx, dword [eax + 4]
jge 0x10074ef0
cmp edx, dword [ebp - 8]
jg 0x10074ef0
mov eax, dword [ebp - 0x20]
jl 0x10074edd
cmp eax, dword [ebp - 0x18]
jl 0x10074edd
mov ecx, dword [ebp - 4]
jne 0x10074ef3
cmp esi, ecx
jge 0x10074ef3
mov ecx, esi
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 0x14], eax
jmp 0x10074ef3
mov ecx, dword [ebp - 4]
mov ebx, dword [ebx + 4]
mov edx, dword [ebp - 0x10]
test ebx, ebx
jne 0x10074e61
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x14]
pop edi
pop esi
mov dword [eax], ecx
mov ecx, dword [ebp - 8]
mov dword [eax + 8], edx
mov dword [eax + 4], 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