Function at 0x1400cd7b0
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
sub rsp, 0x68
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 + 0x21], al
mov byte [rsp + 0x20], 0
mov rax, qword [rsp + 0x78]
movzx eax, byte [rax + 0x17]
mov byte [rsp + 0x24], al
cmp byte [rsp + 0x24], 0x10
je 0x1400cd825
cmp byte [rsp + 0x24], 0x20
je 0x1400cd8df
cmp byte [rsp + 0x24], 0x40
je 0x1400cdae0
movzx eax, byte [rsp + 0x21]
lea rcx, [0x14015b7a0]
mov rdx, qword [rsp + 0x80]
mov eax, dword [rcx + rax*4]
mov dword [rdx + 0x30], eax
movzx eax, byte [rsp + 0x21]
lea rcx, [0x14015b7c0]
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 0x1400cd871
mov dword [rsp + 0x34], 0
jmp 0x1400cd879
mov dword [rsp + 0x34], 1
mov rax, qword [rsp + 0x80]
movzx ecx, byte [rsp + 0x34]
mov byte [rax + 0x38], cl
mov rax, qword [rsp + 0x78]
movzx eax, byte [rax + 0x578]
mov byte [rsp + 0x28], al
cmp byte [rsp + 0x28], 0
je 0x1400cd8ae
cmp byte [rsp + 0x28], 1
je 0x1400cd8ce
cmp byte [rsp + 0x28], 2
je 0x1400cd8d5
movzx eax, byte [rsp + 0x21]
cmp eax, 6
jne 0x1400cd8cc
mov byte [rsp + 0x20], 0x10
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x30], 0
jmp 0x1400cd8da
mov byte [rsp + 0x20], 8
jmp 0x1400cd8da
mov byte [rsp + 0x20], 0x10
jmp 0x1400cdced
mov r9d, 3
mov r8d, 5
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call fcn.1400caf50
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 + 0x2c], al
cmp byte [rsp + 0x2c], 0
je 0x1400cd930
cmp byte [rsp + 0x2c], 1
je 0x1400cd96e
cmp byte [rsp + 0x2c], 2
je 0x1400cd975
movzx eax, byte [rsp + 0x21]
cmp eax, 5
jne 0x1400cd96c
mov rax, qword [rsp + 0x70]
mov rax, qword [rax]
cmp dword [rax], 0
jne 0x1400cd958
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x30], 0xbc
jmp 0x1400cd967
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x30], 0
mov byte [rsp + 0x20], 0x20
jmp 0x1400cd97a
mov byte [rsp + 0x20], 8
jmp 0x1400cd97a
mov byte [rsp + 0x20], 0x20
movzx eax, byte [rsp + 0x21]
cmp eax, 4
jne 0x1400cdac0
cmp dword [rsp + 0x88], 0
je 0x1400cd99f
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x38], eax
jmp 0x1400cd9a7
mov dword [rsp + 0x38], 3
cmp dword [rsp + 0x88], 0
je 0x1400cd9bb
mov dword [rsp + 0x3c], 7
jmp 0x1400cd9c3
mov dword [rsp + 0x3c], 6
cmp dword [rsp + 0x88], 0
je 0x1400cd9da
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x40], eax
jmp 0x1400cd9e2
mov dword [rsp + 0x40], 3
mov r9d, dword [rsp + 0x38]
mov r8d, dword [rsp + 0x3c]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call fcn.1400caf50
movzx edx, al
mov ecx, dword [rsp + 0x40]
call qword [sym.WhacAMole.exe_ZydisRegisterEncode]
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], 0x29
jne 0x1400cda65
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 0x1400cdabe
mov rax, qword [rsp + 0x78]
movzx eax, byte [rax + 0x578]
test eax, eax
jne 0x1400cda92
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x30], 0
mov rax, qword [rsp + 0x78]
movzx eax, byte [rax + 0x578]
cmp eax, 1
jne 0x1400cdaad
mov dword [rsp + 0x44], 8
jmp 0x1400cdab5
mov dword [rsp + 0x44], 0x20
movzx eax, byte [rsp + 0x44]
mov byte [rsp + 0x20], al
jmp 0x1400cdadb
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x34], 0
mov rax, qword [rsp + 0x80]
mov byte [rax + 0x38], 0
jmp 0x1400cdced
mov r9d, 4
mov r8d, 5
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call fcn.1400caf50
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 + 0x30], al
cmp byte [rsp + 0x30], 0
je 0x1400cdb31
cmp byte [rsp + 0x30], 1
je 0x1400cdb6f
cmp byte [rsp + 0x30], 2
je 0x1400cdb76
movzx eax, byte [rsp + 0x21]
cmp eax, 5
jne 0x1400cdb6d
mov rax, qword [rsp + 0x70]
mov rax, qword [rax]
cmp dword [rax], 0
jne 0x1400cdb59
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x30], 0xbd
jmp 0x1400cdb68
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x30], 0
mov byte [rsp + 0x20], 0x20
jmp 0x1400cdb7b
mov byte [rsp + 0x20], 8
jmp 0x1400cdb7b
mov byte [rsp + 0x20], 0x20
movzx eax, byte [rsp + 0x21]
and eax, 7
cmp eax, 4
jne 0x1400cdcd2
cmp dword [rsp + 0x88], 0
je 0x1400cdba3
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x48], eax
jmp 0x1400cdbab
mov dword [rsp + 0x48], 4
cmp dword [rsp + 0x88], 0
je 0x1400cdbbf
mov dword [rsp + 0x4c], 7
jmp 0x1400cdbc7
mov dword [rsp + 0x4c], 6
cmp dword [rsp + 0x88], 0
je 0x1400cdbde
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x50], eax
jmp 0x1400cdbe6
mov dword [rsp + 0x50], 4
mov r9d, dword [rsp + 0x48]
mov r8d, dword [rsp + 0x4c]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call fcn.1400caf50
movzx edx, al
mov ecx, dword [rsp + 0x50]
call qword [sym.WhacAMole.exe_ZydisRegisterEncode]
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 + 0x5c], ecx
movzx ecx, al
mov eax, dword [rsp + 0x5c]
shl eax, cl
mov rcx, qword [rsp + 0x80]
mov byte [rcx + 0x38], al
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x34], 0x39
jne 0x1400cdc69
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 0x1400cdc85
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x30], 0x42
jne 0x1400cdcd0
mov rax, qword [rsp + 0x78]
movzx eax, byte [rax + 0x578]
test eax, eax
jne 0x1400cdca4
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x30], 0
mov rax, qword [rsp + 0x78]
movzx eax, byte [rax + 0x578]
cmp eax, 1
jne 0x1400cdcbf
mov dword [rsp + 0x54], 8
jmp 0x1400cdcc7
mov dword [rsp + 0x54], 0x20
movzx eax, byte [rsp + 0x54]
mov byte [rsp + 0x20], al
jmp 0x1400cdced
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x34], 0
mov rax, qword [rsp + 0x80]
mov byte [rax + 0x38], 0
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x1400cdd1a
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, 0x68
ret