Function at 0x180006890
Capabilities:
Terminate process

Disassembly:
jmp 0x180006890
push rdi
sub rsp, 0xe0
mov qword [rsp + 0x20], 0
mov ecx, 0x5f5e100
call qword [sym.imp.ucrtbased.dll_malloc]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 0
movsd xmm0, qword [0x1800247c8]
call fcn.180003790
mov dword [rsp + 0x34], eax
movzx ecx, byte [0x18003c015]
movsx ecx, cl
mov dword [rsp + 0x38], ecx
call fcn.180003770
movsx eax, al
mov ecx, dword [rsp + 0x38]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x3c], eax
call fcn.180003740
movsx eax, al
mov dword [rsp + 0x40], eax
call fcn.180003730
movsx eax, al
mov ecx, dword [rsp + 0x40]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x3c]
add ecx, eax
mov eax, ecx
movzx ecx, byte [0x18003c014]
movsx ecx, cl
xor edx, edx
div ecx
movzx ecx, byte [0x18003c011]
movsx ecx, cl
sub eax, ecx
mov ecx, dword [rsp + 0x34]
imul ecx, eax
mov eax, ecx
test eax, eax
je 0x180006f61
xor eax, eax
cmp eax, 2
je 0x180006f61
movsxd rax, dword [rsp + 0x28]
cvtsi2sd xmm0, rax
call fcn.180003790
mov dword [rsp + 0x44], eax
movzx ecx, byte [0x18003c015]
movsx ecx, cl
mov dword [rsp + 0x48], ecx
call fcn.180003770
movsx eax, al
mov ecx, dword [rsp + 0x48]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x4c], eax
call fcn.180003740
movsx eax, al
imul eax, eax, 7
mov dword [rsp + 0x50], eax
call fcn.180003730
movsx eax, al
mov ecx, dword [rsp + 0x50]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x4c]
add ecx, eax
mov eax, ecx
movzx ecx, byte [0x18003c014]
movsx ecx, cl
xor edx, edx
div ecx
movzx ecx, byte [0x18003c011]
movsx ecx, cl
sub eax, ecx
mov ecx, dword [rsp + 0x44]
imul ecx, eax
mov eax, ecx
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0
je 0x1800069f9
cmp dword [rsp + 0x54], 1
je 0x180006e5d
cmp dword [rsp + 0x54], 2
je 0x180006e87
cmp dword [rsp + 0x54], 3
je 0x180006e9c
jmp 0x180006f5c
movzx eax, byte [0x18003c015]
movsx eax, al
mov dword [rsp + 0x58], eax
call fcn.180003770
movsx eax, al
mov ecx, dword [rsp + 0x58]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x5c], eax
call fcn.180003740
movsx eax, al
shl eax, 1
mov dword [rsp + 0x60], eax
call fcn.180003730
movsx eax, al
mov ecx, dword [rsp + 0x60]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x5c]
add ecx, eax
mov eax, ecx
movzx ecx, byte [0x18003c014]
movsx ecx, cl
xor edx, edx
div ecx
movzx ecx, byte [0x18003c011]
movsx ecx, cl
sub eax, ecx
test eax, eax
je 0x180006e58
cmp qword [rsp + 0x20], 0
je 0x180006a77
mov qword [rsp + 0x68], 1
jmp 0x180006a80
mov qword [rsp + 0x68], 0
cvtsi2sd xmm0, qword [rsp + 0x68]
call fcn.180003790
mov dword [rsp + 0x70], eax
movzx ecx, byte [0x18003c015]
movsx ecx, cl
mov dword [rsp + 0x74], ecx
call fcn.180003770
movsx eax, al
mov ecx, dword [rsp + 0x74]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x78], eax
call fcn.180003740
movsx eax, al
imul eax, eax, 3
mov dword [rsp + 0x7c], eax
call fcn.180003730
movsx eax, al
mov ecx, dword [rsp + 0x7c]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x78]
add ecx, eax
mov eax, ecx
movzx ecx, byte [0x18003c014]
movsx ecx, cl
xor edx, edx
div ecx
movzx ecx, byte [0x18003c011]
movsx ecx, cl
sub eax, ecx
mov ecx, dword [rsp + 0x70]
imul ecx, eax
mov eax, ecx
test eax, eax
je 0x180006b15
xor eax, eax
cmp eax, 8
je 0x180006b15
mov dword [rsp + 0x28], 1
jmp 0x180006e58
movzx eax, byte [0x18003c015]
movsx eax, al
mov dword [rsp + 0x80], eax
call fcn.180003770
movsx eax, al
mov ecx, dword [rsp + 0x80]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x84], eax
call fcn.180003740
movsx eax, al
imul eax, eax, 6
mov dword [rsp + 0x88], eax
call fcn.180003730
movsx eax, al
mov ecx, dword [rsp + 0x88]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x84]
add ecx, eax
mov eax, ecx
movzx ecx, byte [0x18003c014]
movsx ecx, cl
xor edx, edx
div ecx
movzx ecx, byte [0x18003c011]
movsx ecx, cl
sub eax, ecx
test eax, eax
je 0x180006e58
movzx eax, byte [0x18003c012]
movsx eax, al
mov dword [rsp + 0x8c], eax
call fcn.180003760
movsx eax, al
mov ecx, dword [rsp + 0x8c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x90], eax
call fcn.180003750
movsx eax, al
movzx ecx, byte [0x18003c4bc]
movsx ecx, cl
imul eax, ecx
mov ecx, dword [rsp + 0x90]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x94], eax
call fcn.180003780
movsx eax, al
mov ecx, dword [rsp + 0x94]
sub ecx, eax
mov eax, ecx
mov eax, eax
cvtsi2sd xmm0, rax
call fcn.180003790
mov dword [rsp + 0x98], eax
movzx ecx, byte [0x18003c015]
movsx ecx, cl
mov dword [rsp + 0x9c], ecx
call fcn.180003770
movsx eax, al
mov ecx, dword [rsp + 0x9c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0xa0], eax
call fcn.180003740
movsx eax, al
imul eax, eax, 7
mov dword [rsp + 0xa4], eax
call fcn.180003730
movsx eax, al
mov ecx, dword [rsp + 0xa4]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0xa0]
add ecx, eax
mov eax, ecx
movzx ecx, byte [0x18003c014]
movsx ecx, cl
xor edx, edx
div ecx
movzx ecx, byte [0x18003c011]
movsx ecx, cl
sub eax, ecx
mov ecx, dword [rsp + 0x98]
imul ecx, eax
mov eax, ecx
test eax, eax
je 0x180006e50
xor eax, eax
cmp eax, 2
je 0x180006e50
movsd xmm0, qword [0x180024828]
call fcn.180003790
movzx eax, byte [0x18003c015]
movsx eax, al
mov dword [rsp + 0xa8], eax
call fcn.180003770
movsx eax, al
mov ecx, dword [rsp + 0xa8]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0xac], eax
call fcn.180003740
movsx eax, al
imul eax, eax, 0xa
mov dword [rsp + 0xb0], eax
call fcn.180003730
movsx eax, al
mov ecx, dword [rsp + 0xb0]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0xac]
add ecx, eax
mov eax, ecx
movzx ecx, byte [0x18003c014]
movsx ecx, cl
xor edx, edx
div ecx
movzx ecx, byte [0x18003c011]
movsx ecx, cl
sub eax, ecx
test eax, eax
je 0x180006e4e
movzx eax, byte [0x18003c015]
movsx eax, al
mov dword [rsp + 0xb4], eax
call fcn.180003770
movsx eax, al
mov ecx, dword [rsp + 0xb4]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0xb8], eax
call fcn.180003740
movsx eax, al
imul eax, eax, 9
mov dword [rsp + 0xbc], eax
call fcn.180003730
movsx eax, al
mov ecx, dword [rsp + 0xbc]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0xb8]
add ecx, eax
mov eax, ecx
movzx ecx, byte [0x18003c014]
movsx ecx, cl
xor edx, edx
div ecx
movzx ecx, byte [0x18003c011]
movsx ecx, cl
sub eax, ecx
mov eax, eax
cvtsi2sd xmm0, rax
call fcn.180003790
mov dword [rsp + 0xc0], eax
movzx ecx, byte [0x18003c015]
movsx ecx, cl
mov dword [rsp + 0xc4], ecx
call fcn.180003770
movsx eax, al
mov ecx, dword [rsp + 0xc4]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0xc8], eax
call fcn.180003740
movsx eax, al
imul eax, eax, 5
mov dword [rsp + 0xcc], eax
call fcn.180003730
movsx eax, al
mov ecx, dword [rsp + 0xcc]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0xc8]
add ecx, eax
mov eax, ecx
movzx ecx, byte [0x18003c014]
movsx ecx, cl
xor edx, edx
div ecx
movzx ecx, byte [0x18003c011]
movsx ecx, cl
sub eax, ecx
mov ecx, dword [rsp + 0xc0]
imul ecx, eax
mov eax, ecx
test eax, eax
je 0x180006e4e
xor eax, eax
cmp eax, 6
je 0x180006e4e
movsd xmm0, qword [0x1800247f8]
call fcn.180003790
jmp 0x180006e58
mov dword [rsp + 0x28], 2
jmp 0x180006f5c
mov r8d, 0x5f5e100
xor edx, edx
mov rcx, qword [rsp + 0x20]
call sub.VCRUNTIME140D.dll_memset
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ucrtbased.dll_free]
mov dword [rsp + 0x28], 3
jmp 0x180006f5c
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll_exit]
mov dword [rsp + 0x28], 3
jmp 0x180006f5c
mov dword [rsp + 0x2c], 0
jmp 0x180006eb0
mov eax, dword [rsp + 0x2c]
inc eax
mov dword [rsp + 0x2c], eax
movzx eax, byte [0x18003c015]
movsx eax, al
mov dword [rsp + 0xd0], eax
call fcn.180003770
movsx eax, al
mov ecx, dword [rsp + 0xd0]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0xd4], eax
call fcn.180003740
movsx eax, al
shl eax, 3
mov dword [rsp + 0xd8], eax
call fcn.180003730
movsx eax, al
mov ecx, dword [rsp + 0xd8]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0xd4]
add ecx, eax
mov eax, ecx
movzx ecx, byte [0x18003c014]
movsx ecx, cl
xor edx, edx
div ecx
movzx ecx, byte [0x18003c011]
movsx ecx, cl
sub eax, ecx
mov eax, eax
cvtsi2sd xmm0, rax
call fcn.180003790
cmp dword [rsp + 0x2c], eax
jge 0x180006f5c
mov dword [rsp + 0x30], 0
jmp 0x180006f4c
cmp dword [rsp + 0x30], 0x57
jae 0x180006f57
jmp 0x180006f61
jmp 0x180006ea6
jmp 0x1800068ba
add rsp, 0xe0
pop rdi
ret