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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x80]
mov dword [rax + 4], 1
mov rax, qword [rsp + 0x88]
movzx eax, byte [rax + 9]
and al, 7
movzx eax, al
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 6
ja case.default.0x1400cd54d
movsxd rax, dword [rsp + 0x20]
lea rcx, [0x140000000]
mov eax, dword [rcx + rax*4 + 0xcd790]
add rax, rcx
jmp rax
mov eax, 0x1ff
mov rcx, qword [rsp + 0x88]
movzx ecx, word [rcx + 0xa]
and cx, ax
movzx eax, cx
movzx eax, ax
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0x20], eax
jmp case.default.0x1400cd54d
mov rax, qword [rsp + 0x88]
movzx eax, byte [rax + 0xa]
and al, 0x3f
mov rcx, qword [rsp + 0x70]
movzx ecx, byte [rcx + 0x24]
lea rdx, [0x14015b7e0]
mov qword [rsp + 0x50], rdx
movzx edx, al
mov rax, qword [rsp + 0x50]
mov ecx, dword [rax + rcx*4]
call qword [sym.WhacAMole.exe_ZydisRegisterEncode]
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0x20], eax
jmp case.default.0x1400cd54d
mov rax, qword [rsp + 0x78]
movzx eax, byte [rax + 0x17]
cmp eax, 0x10
jne 0x1400cd5d5
mov dword [rsp + 0x28], 2
jmp 0x1400cd5fd
mov rax, qword [rsp + 0x78]
movzx eax, byte [rax + 0x17]
cmp eax, 0x20
jne 0x1400cd5ed
mov dword [rsp + 0x24], 3
jmp 0x1400cd5f5
mov dword [rsp + 0x24], 4
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x88]
movzx eax, byte [rax + 0xa]
and al, 0x3f
movzx edx, al
mov ecx, dword [rsp + 0x28]
call qword [sym.WhacAMole.exe_ZydisRegisterEncode]
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0x20], eax
jmp case.default.0x1400cd54d
mov rax, qword [rsp + 0x70]
mov rax, qword [rax]
cmp dword [rax + 4], 0
jne 0x1400cd640
mov dword [rsp + 0x30], 2
jmp 0x1400cd668
mov rax, qword [rsp + 0x70]
mov rax, qword [rax]
cmp dword [rax + 4], 1
jne 0x1400cd658
mov dword [rsp + 0x2c], 3
jmp 0x1400cd660
mov dword [rsp + 0x2c], 4
mov eax, dword [rsp + 0x2c]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x88]
movzx eax, byte [rax + 0xa]
and al, 0x3f
movzx edx, al
mov ecx, dword [rsp + 0x30]
call qword [sym.WhacAMole.exe_ZydisRegisterEncode]
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0x20], eax
jmp case.default.0x1400cd54d
mov rax, qword [rsp + 0x78]
movzx eax, byte [rax + 0x17]
cmp eax, 0x10
jne 0x1400cd6ab
mov dword [rsp + 0x38], 0xbb
jmp 0x1400cd6d3
mov rax, qword [rsp + 0x78]
movzx eax, byte [rax + 0x17]
cmp eax, 0x20
jne 0x1400cd6c3
mov dword [rsp + 0x34], 0xbc
jmp 0x1400cd6cb
mov dword [rsp + 0x34], 0xbd
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x80]
mov ecx, dword [rsp + 0x38]
mov dword [rax + 0x20], ecx
jmp case.default.0x1400cd54d
mov rax, qword [rsp + 0x70]
mov rax, qword [rax]
cmp dword [rax + 4], 0
jne 0x1400cd6ff
mov dword [rsp + 0x40], 0xbc
jmp 0x1400cd727
mov rax, qword [rsp + 0x70]
mov rax, qword [rax]
cmp dword [rax + 4], 1
jne 0x1400cd717
mov dword [rsp + 0x3c], 0xbc
jmp 0x1400cd71f
mov dword [rsp + 0x3c], 0xbd
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x80]
mov ecx, dword [rsp + 0x40]
mov dword [rax + 0x20], ecx
jmp case.default.0x1400cd54d
mov rax, qword [rsp + 0x70]
mov rax, qword [rax]
cmp dword [rax + 4], 0
jne 0x1400cd750
mov dword [rsp + 0x48], 0xb8
jmp 0x1400cd778
mov rax, qword [rsp + 0x70]
mov rax, qword [rax]
cmp dword [rax + 4], 1
jne 0x1400cd768
mov dword [rsp + 0x44], 0xb9
jmp 0x1400cd770
mov dword [rsp + 0x44], 0xba
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x80]
mov ecx, dword [rsp + 0x48]
mov dword [rax + 0x20], ecx
jmp case.default.0x1400cd54d
add rsp, 0x68
ret