Function at 0x140008210
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x60
mov rdi, rsp
mov ecx, 0x18
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x70]
cmp qword [rsp + 0x70], 0
jne 0x140008260
mov r8d, 0x58e
lea rdx, [0x1400610f0]
lea rcx, [0x14005d218]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__wassert
xor eax, eax
cmp qword [rsp + 0x78], 0
jne 0x140008283
mov r8d, 0x58f
lea rdx, [0x140061170]
lea rcx, [0x14005d228]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__wassert
xor eax, eax
cmp qword [rsp + 0x80], 0
jne 0x1400082a9
mov r8d, 0x590
lea rdx, [0x1400611f0]
lea rcx, [0x14005d2b8]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__wassert
xor eax, eax
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 0x430]
and rax, 1
test rax, rax
jne 0x1400082d9
mov r8d, 0x591
lea rdx, [0x140061270]
lea rcx, str.instruction__attributes__0x0000000000000001
call sub.api_ms_win_crt_runtime_l1_1_0.dll__wassert
xor eax, eax
mov rax, qword [rsp + 0x78]
movzx eax, byte [rax + 0x578]
cmp eax, 3
jne 0x140008305
mov r8d, 0x592
lea rdx, [0x140061350]
lea rcx, [0x1400613d0]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__wassert
xor eax, eax
cmp dword [rsp + 0x88], 0
je 0x140008357
mov rax, qword [rsp + 0x78]
movzx eax, byte [rax + 0x57a]
cmp eax, 4
jne 0x14000833c
mov rax, qword [rsp + 0x78]
movzx eax, byte [rax + 0x17]
cmp eax, 0x20
je 0x140008357
mov rax, qword [rsp + 0x78]
movzx eax, byte [rax + 0x17]
cmp eax, 0x40
je 0x140008357
mov r8d, 0x594
lea rdx, [0x140061410]
lea rcx, str._vidx_register_class____instruction__raw.modrm.rm__4_____instruction__address_width__32____instruction__address_width__64___
call sub.api_ms_win_crt_runtime_l1_1_0.dll__wassert
xor eax, eax
mov rax, qword [rsp + 0x80]
mov dword [rax + 4], 2
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x28], 1
mov rax, qword [rsp + 0x78]
movzx eax, byte [rax + 0x57a]
mov byte [rsp + 0x20], al
mov byte [rsp + 0x21], 0
mov rax, qword [rsp + 0x78]
movzx eax, byte [rax + 0x17]
mov byte [rsp + 0x24], al
cmp byte [rsp + 0x24], 0x10
je 0x1400083b9
cmp byte [rsp + 0x24], 0x20
je 0x14000849d
cmp byte [rsp + 0x24], 0x40
je 0x1400086f7
jmp 0x14000895f
movzx eax, byte [rsp + 0x20]
lea rcx, [0x140014098]
mov rdx, qword [rsp + 0x80]
mov eax, dword [rcx + rax*4]
mov dword [rdx + 0x30], eax
movzx eax, byte [rsp + 0x20]
lea rcx, [0x1400140b8]
mov rdx, qword [rsp + 0x80]
mov eax, dword [rcx + rax*4]
mov dword [rdx + 0x34], eax
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x34], 0
jne 0x140008405
mov dword [rsp + 0x28], 0
jmp 0x14000840d
mov dword [rsp + 0x28], 1
mov rax, qword [rsp + 0x80]
movzx ecx, byte [rsp + 0x28]
mov byte [rax + 0x38], cl
mov rax, qword [rsp + 0x78]
movzx eax, byte [rax + 0x578]
mov byte [rsp + 0x2c], al
cmp byte [rsp + 0x2c], 0
je 0x140008444
cmp byte [rsp + 0x2c], 1
je 0x140008464
cmp byte [rsp + 0x2c], 2
je 0x14000846b
jmp 0x140008472
movzx eax, byte [rsp + 0x20]
cmp eax, 6
jne 0x140008462
mov byte [rsp + 0x21], 0x10
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x30], 0
jmp 0x140008498
mov byte [rsp + 0x21], 8
jmp 0x140008498
mov byte [rsp + 0x21], 0x10
jmp 0x140008498
xor eax, eax
test eax, eax
jne 0x140008493
mov r8d, 0x5bc
lea rdx, [0x1400615b0]
lea rcx, [0x14005d2c8]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__wassert
xor eax, eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
jmp 0x140008985
mov r9d, 3
mov r8d, 5
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call fcn.140006c60
movzx eax, al
add eax, 0x25
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0x30], eax
mov rax, qword [rsp + 0x78]
movzx eax, byte [rax + 0x578]
mov byte [rsp + 0x30], al
cmp byte [rsp + 0x30], 0
je 0x1400084f0
cmp byte [rsp + 0x30], 1
je 0x14000852e
cmp byte [rsp + 0x30], 2
je 0x140008535
jmp 0x14000853c
movzx eax, byte [rsp + 0x20]
cmp eax, 5
jne 0x14000852c
mov rax, qword [rsp + 0x70]
mov rax, qword [rax]
cmp dword [rax], 0
jne 0x140008518
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x30], 0xbc
jmp 0x140008527
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x30], 0
mov byte [rsp + 0x21], 0x20
jmp 0x140008562
mov byte [rsp + 0x21], 8
jmp 0x140008562
mov byte [rsp + 0x21], 0x20
jmp 0x140008562
xor eax, eax
test eax, eax
jne 0x14000855d
mov r8d, 0x5da
lea rdx, [0x140061630]
lea rcx, [0x14005d344]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__wassert
xor eax, eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
movzx eax, byte [rsp + 0x20]
cmp eax, 4
jne 0x1400086d7
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 0x430]
and rax, 2
test rax, rax
jne 0x1400085a0
mov r8d, 0x5de
lea rdx, [0x1400616b0]
lea rcx, [0x140061730]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__wassert
xor eax, eax
cmp dword [rsp + 0x88], 0
je 0x1400085b7
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x34], eax
jmp 0x1400085bf
mov dword [rsp + 0x34], 3
cmp dword [rsp + 0x88], 0
je 0x1400085d3
mov dword [rsp + 0x38], 7
jmp 0x1400085db
mov dword [rsp + 0x38], 6
cmp dword [rsp + 0x88], 0
je 0x1400085f2
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x3c], eax
jmp 0x1400085fa
mov dword [rsp + 0x3c], 3
mov r9d, dword [rsp + 0x34]
mov r8d, dword [rsp + 0x38]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call fcn.140006c60
movzx edx, al
mov ecx, dword [rsp + 0x3c]
call fcn.140011330
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0x34], eax
mov rax, qword [rsp + 0x78]
movzx eax, byte [rax + 0x57c]
mov ecx, 1
mov dword [rsp + 0x40], ecx
movzx ecx, al
mov eax, dword [rsp + 0x40]
shl eax, cl
mov rcx, qword [rsp + 0x80]
mov byte [rcx + 0x38], al
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x34], 0x29
jne 0x14000867c
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x34], 0
mov rax, qword [rsp + 0x80]
mov byte [rax + 0x38], 0
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x30], 0x2a
jne 0x1400086d5
mov rax, qword [rsp + 0x78]
movzx eax, byte [rax + 0x578]
test eax, eax
jne 0x1400086a9
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x30], 0
mov rax, qword [rsp + 0x78]
movzx eax, byte [rax + 0x578]
cmp eax, 1
jne 0x1400086c4
mov dword [rsp + 0x44], 8
jmp 0x1400086cc
mov dword [rsp + 0x44], 0x20
movzx eax, byte [rsp + 0x44]
mov byte [rsp + 0x21], al
jmp 0x1400086f2
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x34], 0
mov rax, qword [rsp + 0x80]
mov byte [rax + 0x38], 0
jmp 0x140008985
mov r9d, 4
mov r8d, 5
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call fcn.140006c60
movzx eax, al
add eax, 0x35
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0x30], eax
mov rax, qword [rsp + 0x78]
movzx eax, byte [rax + 0x578]
mov byte [rsp + 0x48], al
cmp byte [rsp + 0x48], 0
je 0x14000874a
cmp byte [rsp + 0x48], 1
je 0x140008788
cmp byte [rsp + 0x48], 2
je 0x14000878f
jmp 0x140008796
movzx eax, byte [rsp + 0x20]
cmp eax, 5
jne 0x140008786
mov rax, qword [rsp + 0x70]
mov rax, qword [rax]
cmp dword [rax], 0
jne 0x140008772
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x30], 0xbd
jmp 0x140008781
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x30], 0
mov byte [rsp + 0x21], 0x20
jmp 0x1400087bc
mov byte [rsp + 0x21], 8
jmp 0x1400087bc
mov byte [rsp + 0x21], 0x20
jmp 0x1400087bc
xor eax, eax
test eax, eax
jne 0x1400087b7
mov r8d, 0x613
lea rdx, [0x140061790]
lea rcx, [0x14005d348]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__wassert
xor eax, eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
movzx eax, byte [rsp + 0x20]
and eax, 7
cmp eax, 4
jne 0x140008942
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 0x430]
and rax, 2
test rax, rax
jne 0x1400087fd
mov r8d, 0x617
lea rdx, [0x140061810]
lea rcx, str.instruction__attributes__0x0000000000000002
call sub.api_ms_win_crt_runtime_l1_1_0.dll__wassert
xor eax, eax
cmp dword [rsp + 0x88], 0
je 0x140008814
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x4c], eax
jmp 0x14000881c
mov dword [rsp + 0x4c], 4
cmp dword [rsp + 0x88], 0
je 0x140008830
mov dword [rsp + 0x50], 7
jmp 0x140008838
mov dword [rsp + 0x50], 6
cmp dword [rsp + 0x88], 0
je 0x14000884f
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x54], eax
jmp 0x140008857
mov dword [rsp + 0x54], 4
mov r9d, dword [rsp + 0x4c]
mov r8d, dword [rsp + 0x50]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call fcn.140006c60
movzx edx, al
mov ecx, dword [rsp + 0x54]
call fcn.140011330
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0x34], eax
mov rax, qword [rsp + 0x78]
movzx eax, byte [rax + 0x57c]
mov ecx, 1
mov dword [rsp + 0x58], ecx
movzx ecx, al
mov eax, dword [rsp + 0x58]
shl eax, cl
mov rcx, qword [rsp + 0x80]
mov byte [rcx + 0x38], al
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x34], 0x39
jne 0x1400088d9
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x34], 0
mov rax, qword [rsp + 0x80]
mov byte [rax + 0x38], 0
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x30], 0x3a
je 0x1400088f5
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x30], 0x42
jne 0x140008940
mov rax, qword [rsp + 0x78]
movzx eax, byte [rax + 0x578]
test eax, eax
jne 0x140008914
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x30], 0
mov rax, qword [rsp + 0x78]
movzx eax, byte [rax + 0x578]
cmp eax, 1
jne 0x14000892f
mov dword [rsp + 0x5c], 8
jmp 0x140008937
mov dword [rsp + 0x5c], 0x20
movzx eax, byte [rsp + 0x5c]
mov byte [rsp + 0x21], al
jmp 0x14000895d
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x34], 0
mov rax, qword [rsp + 0x80]
mov byte [rax + 0x38], 0
jmp 0x140008985
xor eax, eax
test eax, eax
jne 0x140008980
mov r8d, 0x634
lea rdx, [0x1400618f0]
lea rcx, [0x14005d434]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__wassert
xor eax, eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x1400089e2
mov rax, qword [rsp + 0x78]
movzx eax, byte [rax + 0x588]
movzx ecx, byte [rsp + 0x21]
cmp eax, ecx
je 0x1400089be
mov r8d, 0x638
lea rdx, [0x140061970]
lea rcx, str.instruction__raw.disp.size__displacement_size
call sub.api_ms_win_crt_runtime_l1_1_0.dll__wassert
xor eax, eax
mov rax, qword [rsp + 0x80]
mov byte [rax + 0x40], 1
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x78]
mov rcx, qword [rcx + 0x580]
mov qword [rax + 0x48], rcx
mov eax, 0x100000
add rsp, 0x60
pop rdi
ret