Function at 0x140013f10
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
sub rsp, 0x78
mov dword [rsp], 1
mov dword [rsp + 0x30], 0x11
mov dword [rsp + 0x14], 1
jmp 0x140013f37
mov eax, dword [rsp + 0x14]
inc eax
mov dword [rsp + 0x14], eax
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0x14], eax
jg 0x140014008
mov eax, dword [rsp + 0x14]
cdq
mov ecx, 5
idiv ecx
mov eax, edx
test eax, eax
jne 0x140013f66
mov eax, dword [rsp]
mov ecx, dword [rsp + 0x14]
lea eax, [rax + rcx*2]
mov dword [rsp], eax
jmp 0x140013fbe
mov eax, dword [rsp + 0x14]
cdq
and edx, 3
add eax, edx
and eax, 3
sub eax, edx
test eax, eax
jne 0x140013f91
mov eax, dword [rsp + 0x14]
cdq
mov ecx, 5
idiv ecx
mov ecx, dword [rsp]
sub ecx, eax
mov eax, ecx
mov dword [rsp], eax
jmp 0x140013fbe
mov eax, dword [rsp + 0x14]
cdq
mov ecx, 3
idiv ecx
mov eax, edx
test eax, eax
jne 0x140013fb0
mov eax, dword [rsp]
imul eax, dword [rsp + 0x14]
mov dword [rsp], eax
jmp 0x140013fbe
mov eax, dword [rsp + 0x14]
mov ecx, dword [rsp]
add ecx, eax
mov eax, ecx
mov dword [rsp], eax
mov eax, dword [rsp + 0x14]
add eax, 2
mov dword [rsp + 0x34], eax
mov eax, dword [rsp]
cdq
mov ecx, dword [rsp + 0x34]
idiv ecx
mov dword [rsp], eax
mov eax, dword [rsp + 0x14]
mov ecx, dword [rsp]
xor ecx, eax
mov eax, ecx
mov dword [rsp], eax
mov eax, dword [rsp]
shl eax, 5
mov dword [rsp], eax
mov eax, dword [rsp]
sar eax, 5
mov dword [rsp], eax
mov eax, dword [rsp]
mov ecx, dword [rsp + 0x14]
lea eax, [rax + rcx*4]
mov dword [rsp], eax
jmp 0x140013f2d
mov rax, qword gs:[0x60]
add rax, 0x30
mov qword [rsp + 0x50], rax
mov dword [rsp + 4], 5
mov dword [rsp + 0x38], 0x13
mov dword [rsp + 0x18], 1
jmp 0x14001403e
mov eax, dword [rsp + 0x18]
inc eax
mov dword [rsp + 0x18], eax
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x18], eax
jg 0x140014125
mov eax, dword [rsp + 0x18]
cdq
mov ecx, 5
idiv ecx
mov eax, edx
test eax, eax
jne 0x14001406f
mov eax, dword [rsp + 4]
mov ecx, dword [rsp + 0x18]
lea eax, [rax + rcx*4]
mov dword [rsp + 4], eax
jmp 0x1400140d0
mov eax, dword [rsp + 0x18]
cdq
and edx, 3
add eax, edx
and eax, 3
sub eax, edx
test eax, eax
jne 0x140014099
mov eax, dword [rsp + 0x18]
cdq
sub eax, edx
sar eax, 1
mov ecx, dword [rsp + 4]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 4], eax
jmp 0x1400140d0
mov eax, dword [rsp + 0x18]
cdq
mov ecx, 3
idiv ecx
mov eax, edx
test eax, eax
jne 0x1400140c0
mov eax, dword [rsp + 0x18]
shl eax, 1
mov ecx, dword [rsp + 4]
imul ecx, eax
mov eax, ecx
mov dword [rsp + 4], eax
jmp 0x1400140d0
mov eax, dword [rsp + 0x18]
mov ecx, dword [rsp + 4]
add ecx, eax
mov eax, ecx
mov dword [rsp + 4], eax
mov eax, dword [rsp + 0x18]
add eax, 5
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 4]
cdq
mov ecx, dword [rsp + 0x3c]
idiv ecx
mov dword [rsp + 4], eax
mov eax, dword [rsp + 0x18]
mov ecx, dword [rsp + 4]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 4], eax
mov eax, dword [rsp + 4]
shl eax, 4
mov dword [rsp + 4], eax
mov eax, dword [rsp + 4]
sar eax, 3
mov dword [rsp + 4], eax
mov eax, dword [rsp + 0x18]
mov ecx, dword [rsp + 4]
add ecx, eax
mov eax, ecx
mov dword [rsp + 4], eax
jmp 0x140014034
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
add rax, 0x70
mov qword [rsp + 0x58], rax
mov dword [rsp + 8], 2
mov dword [rsp + 0x40], 0x13
mov dword [rsp + 0x1c], 1
jmp 0x14001415a
mov eax, dword [rsp + 0x1c]
inc eax
mov dword [rsp + 0x1c], eax
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x1c], eax
jg 0x140014230
mov eax, dword [rsp + 0x1c]
cdq
and edx, 3
add eax, edx
and eax, 3
sub eax, edx
test eax, eax
jne 0x14001418e
imul eax, dword [rsp + 0x1c], 3
mov ecx, dword [rsp + 8]
add ecx, eax
mov eax, ecx
mov dword [rsp + 8], eax
jmp 0x1400141ca
mov eax, dword [rsp + 0x1c]
cdq
mov ecx, 3
idiv ecx
mov eax, edx
test eax, eax
jne 0x1400141ba
mov eax, dword [rsp + 0x1c]
cdq
mov ecx, 3
idiv ecx
mov ecx, dword [rsp + 8]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 8], eax
jmp 0x1400141ca
mov eax, dword [rsp + 0x1c]
mov ecx, dword [rsp + 8]
add ecx, eax
mov eax, ecx
mov dword [rsp + 8], eax
imul eax, dword [rsp + 0x1c], 3
mov ecx, dword [rsp + 8]
imul ecx, eax
mov eax, ecx
mov dword [rsp + 8], eax
mov eax, dword [rsp + 0x1c]
cdq
mov ecx, 3
idiv ecx
mov ecx, dword [rsp + 8]
add ecx, eax
mov eax, ecx
mov dword [rsp + 8], eax
mov eax, dword [rsp + 0x1c]
mov ecx, dword [rsp + 8]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 8], eax
mov eax, dword [rsp + 8]
shl eax, 5
mov dword [rsp + 8], eax
mov eax, dword [rsp + 8]
sar eax, 2
mov dword [rsp + 8], eax
imul eax, dword [rsp + 0x1c], 3
mov ecx, dword [rsp + 8]
add ecx, eax
mov eax, ecx
mov dword [rsp + 8], eax
jmp 0x140014150
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
add rax, 0x74
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x10], 3
mov dword [rsp + 0x44], 0xe
mov dword [rsp + 0x24], 1
jmp 0x140014265
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x44]
cmp dword [rsp + 0x24], eax
jg 0x1400142f9
mov eax, dword [rsp + 0x24]
cdq
and eax, 1
xor eax, edx
sub eax, edx
test eax, eax
jne 0x14001429a
mov eax, dword [rsp + 0x24]
imul eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x10]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x10], eax
jmp 0x1400142aa
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x10]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x10], eax
mov eax, dword [rsp + 0x24]
add eax, 4
mov ecx, dword [rsp + 0x10]
imul ecx, eax
mov eax, ecx
mov dword [rsp + 0x10], eax
mov eax, dword [rsp + 0x10]
mov ecx, dword [rsp + 0x24]
lea eax, [rax + rcx - 2]
mov dword [rsp + 0x10], eax
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x10]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x10], eax
mov eax, dword [rsp + 0x10]
shl eax, 4
mov dword [rsp + 0x10], eax
mov eax, dword [rsp + 0x10]
sar eax, 4
mov dword [rsp + 0x10], eax
jmp 0x14001425b
mov dword [rsp + 0xc], 2
mov dword [rsp + 0x48], 0x12
mov dword [rsp + 0x20], 1
jmp 0x14001431d
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x48]
cmp dword [rsp + 0x20], eax
jg 0x1400143f1
mov eax, dword [rsp + 0x20]
cdq
and edx, 3
add eax, edx
and eax, 3
sub eax, edx
test eax, eax
jne 0x140014350
mov eax, dword [rsp + 0x20]
mov ecx, dword [rsp + 0xc]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0xc], eax
jmp 0x14001438c
mov eax, dword [rsp + 0x20]
cdq
mov ecx, 3
idiv ecx
mov eax, edx
test eax, eax
jne 0x14001437c
mov eax, dword [rsp + 0x20]
cdq
mov ecx, 5
idiv ecx
mov ecx, dword [rsp + 0xc]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0xc], eax
jmp 0x14001438c
mov eax, dword [rsp + 0x20]
mov ecx, dword [rsp + 0xc]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0xc], eax
mov eax, dword [rsp + 0x20]
shl eax, 2
mov ecx, dword [rsp + 0xc]
imul ecx, eax
mov eax, ecx
mov dword [rsp + 0xc], eax
mov eax, dword [rsp + 0x20]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov ecx, dword [rsp + 0xc]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0xc], eax
mov eax, dword [rsp + 0x20]
mov ecx, dword [rsp + 0xc]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0xc], eax
mov eax, dword [rsp + 0xc]
add eax, eax
mov dword [rsp + 0xc], eax
mov eax, dword [rsp + 0xc]
sar eax, 1
mov dword [rsp + 0xc], eax
mov eax, dword [rsp + 0xc]
mov ecx, dword [rsp + 0x20]
lea eax, [rax + rcx*4]
mov dword [rsp + 0xc], eax
jmp 0x140014313
mov rax, qword [rsp + 0x58]
mov eax, dword [rax]
and eax, 0xfffffffd
test eax, eax
jne 0x140014409
mov rax, qword [rsp + 0x60]
cmp dword [rax], 0
je 0x140014413
mov eax, 1
jmp 0x1400144a1
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x4c], 0xc
mov dword [rsp + 0x2c], 1
jmp 0x140014437
mov eax, dword [rsp + 0x2c]
inc eax
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x4c]
cmp dword [rsp + 0x2c], eax
jge 0x14001449f
mov eax, dword [rsp + 0x2c]
cdq
and eax, 1
xor eax, edx
sub eax, edx
test eax, eax
jne 0x140014463
mov eax, dword [rsp + 0x2c]
mov ecx, dword [rsp + 0x28]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x28], eax
jmp 0x140014473
mov eax, dword [rsp + 0x2c]
mov ecx, dword [rsp + 0x28]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
imul eax, dword [rsp + 0x2c]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
cdq
idiv dword [rsp + 0x2c]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x2c]
mov ecx, dword [rsp + 0x28]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x28], eax
jmp 0x14001442d
xor eax, eax
add rsp, 0x78
ret