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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xd8
mov rax, qword [0x1402ddc80]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xe8]
mov eax, dword [rax]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0x40
je 0x14016ca9b
cmp dword [rsp + 0x50], 0x80
je 0x14016ced9
jmp 0x14016d07e
mov rax, qword [rsp + 0xe8]
movsxd rax, dword [rax + 0x2c]
mov rcx, qword [rsp + 0xe8]
add rax, qword [rcx + 0x18]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0xe8]
mov rax, qword [rax + 0x18]
cmp qword [rsp + 0x30], rax
jbe 0x14016cb24
mov eax, 1
imul rax, rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x30]
movzx eax, byte [rcx + rax]
mov byte [rsp + 0x20], al
movsx eax, byte [rsp + 0x20]
cmp eax, 0x20
je 0x14016cb13
movsx eax, byte [rsp + 0x20]
cmp eax, 9
je 0x14016cb13
movsx eax, byte [rsp + 0x20]
cmp eax, 0x2c
je 0x14016cb13
movsx eax, byte [rsp + 0x20]
cmp eax, 0x3b
jne 0x14016cb15
jmp 0x14016cb24
mov rax, qword [rsp + 0x30]
dec rax
mov qword [rsp + 0x30], rax
jmp 0x14016cac2
lea rcx, [rsp + 0xb0]
call fcn.14014b570
nop
mov dword [rsp + 0x38], 0
jmp 0x14016cb46
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0xe0]
mov eax, dword [rax + 0x110]
cmp dword [rsp + 0x38], eax
jge 0x14016cbe9
mov rax, qword [rsp + 0xe0]
add rax, 0x110
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x48]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x70]
call fcn.1400f7620
mov rcx, qword [rsp + 0x78]
mov r8d, ecx
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rax]
call fcn.14016c940
test eax, eax
jne 0x14016cbe4
mov rax, qword [rsp + 0xe0]
add rax, 0x110
mov qword [rsp + 0x80], rax
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x80]
call fcn.1400f7620
mov rdx, rax
lea rcx, [rsp + 0xb0]
call fcn.14016dac0
jmp 0x14016cb3c
cmp dword [rsp + 0xb0], 0
jne 0x14016cc24
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x48]
sub rcx, rax
mov rax, rcx
mov r9, qword [rsp + 0x30]
mov r8d, eax
lea rdx, str.No_match_for___.s___n
mov rcx, qword [rsp + 0xe0]
call fcn.14014c140
jmp 0x14016ceb9
cmp dword [rsp + 0xb0], 1
jne 0x14016ccd7
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x48]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0xe8]
mov rcx, qword [rcx + 0x18]
mov rdx, qword [rsp + 0x30]
sub rdx, rcx
mov rcx, rdx
mov r8d, eax
mov edx, ecx
mov rcx, qword [rsp + 0xe8]
call fcn.1401c7850
xor edx, edx
lea rcx, [rsp + 0xb0]
call fcn.1400f7620
mov rax, qword [rax]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0xe8]
mov eax, dword [rax + 0x2c]
mov dword [rsp + 0x58], eax
xor r9d, r9d
mov r8, qword [rsp + 0x88]
mov edx, dword [rsp + 0x58]
mov rcx, qword [rsp + 0xe8]
call fcn.1401d1ec0
xor r9d, r9d
lea r8, [0x140222ce4]
mov rax, qword [rsp + 0xe8]
mov edx, dword [rax + 0x2c]
mov rcx, qword [rsp + 0xe8]
call fcn.1401d1ec0
jmp 0x14016ceb9
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x48]
sub rcx, rax
mov rax, rcx
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x40], 0
mov byte [rsp + 0x21], 1
mov dword [rsp + 0x24], 0
jmp 0x14016cd0c
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0xb0]
cmp dword [rsp + 0x24], eax
jge 0x14016cd90
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x14016cd90
cmp dword [rsp + 0x24], 0
jne 0x14016cd54
mov edx, dword [rsp + 0x24]
lea rcx, [rsp + 0xb0]
call fcn.1400f7620
movsxd rcx, dword [rsp + 0x28]
mov rax, qword [rax]
movsx eax, byte [rax + rcx]
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_toupper]
mov dword [rsp + 0x40], eax
jmp 0x14016cd8b
cmp dword [rsp + 0x40], 0
je 0x14016cd86
mov edx, dword [rsp + 0x24]
lea rcx, [rsp + 0xb0]
call fcn.1400f7620
movsxd rcx, dword [rsp + 0x28]
mov rax, qword [rax]
movsx eax, byte [rax + rcx]
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_toupper]
cmp dword [rsp + 0x40], eax
je 0x14016cd8b
mov byte [rsp + 0x21], 0
jmp 0x14016cd02
movzx eax, byte [rsp + 0x21]
test eax, eax
jne 0x14016cd9b
jmp 0x14016cdaa
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
jmp 0x14016cceb
cmp dword [rsp + 0x28], 0
jle 0x14016ce5a
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x48]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0xe8]
mov rcx, qword [rcx + 0x18]
mov rdx, qword [rsp + 0x30]
sub rdx, rcx
mov rcx, rdx
mov r8d, eax
mov edx, ecx
mov rcx, qword [rsp + 0xe8]
call fcn.1401c7850
xor edx, edx
lea rcx, [rsp + 0xb0]
call fcn.1400f7620
movsxd rcx, dword [rsp + 0x28]
add rcx, qword [rax]
mov rax, rcx
mov qword [rsp + 0x90], rax
xor edx, edx
lea rcx, [rsp + 0xb0]
call fcn.1400f7620
mov rax, qword [rax]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0xe8]
mov eax, dword [rax + 0x2c]
mov dword [rsp + 0x5c], eax
mov r9, qword [rsp + 0x90]
mov r8, qword [rsp + 0x98]
mov edx, dword [rsp + 0x5c]
mov rcx, qword [rsp + 0xe8]
call fcn.1401d1ec0
lea rdx, str.Possible_matches:_n
mov rcx, qword [rsp + 0xe0]
call fcn.14014c140
mov dword [rsp + 0x3c], 0
jmp 0x14016ce82
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0xb0]
cmp dword [rsp + 0x3c], eax
jge 0x14016ceb9
mov edx, dword [rsp + 0x3c]
lea rcx, [rsp + 0xb0]
call fcn.1400f7620
mov r8, qword [rax]
lea rdx, str.___s_n
mov rcx, qword [rsp + 0xe0]
call fcn.14014c140
jmp 0x14016ce78
lea rcx, [rsp + 0xb0]
call fcn.14014bc70
jmp 0x14016d07e
mov rax, qword [rsp + 0xe0]
mov eax, dword [rax + 0x130]
mov dword [rsp + 0x60], eax
mov rax, qword [rsp + 0xe8]
cmp dword [rax + 0x14], 0x203
jne 0x14016cf5e
mov rax, qword [rsp + 0xe0]
cmp dword [rax + 0x130], 0xffffffff
jne 0x14016cf2d
mov rax, qword [rsp + 0xe0]
mov eax, dword [rax + 0x120]
dec eax
mov rcx, qword [rsp + 0xe0]
mov dword [rcx + 0x130], eax
jmp 0x14016cf5c
mov rax, qword [rsp + 0xe0]
cmp dword [rax + 0x130], 0
jle 0x14016cf5c
mov rax, qword [rsp + 0xe0]
mov eax, dword [rax + 0x130]
dec eax
mov rcx, qword [rsp + 0xe0]
mov dword [rcx + 0x130], eax
jmp 0x14016cfcc
mov rax, qword [rsp + 0xe8]
cmp dword [rax + 0x14], 0x204
jne 0x14016cfcc
mov rax, qword [rsp + 0xe0]
cmp dword [rax + 0x130], 0xffffffff
je 0x14016cfcc
mov rax, qword [rsp + 0xe0]
mov eax, dword [rax + 0x130]
inc eax
mov dword [rsp + 0x54], eax
mov rax, qword [rsp + 0xe0]
mov ecx, dword [rsp + 0x54]
mov dword [rax + 0x130], ecx
mov rax, qword [rsp + 0xe0]
mov eax, dword [rax + 0x120]
cmp dword [rsp + 0x54], eax
jl 0x14016cfcc
mov rax, qword [rsp + 0xe0]
mov dword [rax + 0x130], 0xffffffff
mov rax, qword [rsp + 0xe0]
mov eax, dword [rax + 0x130]
cmp dword [rsp + 0x60], eax
je 0x14016d07e
mov rax, qword [rsp + 0xe0]
cmp dword [rax + 0x130], 0
jl 0x14016d030
mov rax, qword [rsp + 0xe0]
add rax, 0x120
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xe0]
mov edx, dword [rax + 0x130]
mov rcx, qword [rsp + 0xa0]
call fcn.14014bec0
mov rax, qword [rax]
mov qword [rsp + 0x68], rax
jmp 0x14016d03c
lea rax, [0x14022072b]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xe8]
mov r8d, dword [rax + 0x20]
xor edx, edx
mov rcx, qword [rsp + 0xe8]
call fcn.1401c7850
xor r9d, r9d
mov r8, qword [rsp + 0xa8]
xor edx, edx
mov rcx, qword [rsp + 0xe8]
call fcn.1401d1ec0
xor eax, eax
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1401f4e50
add rsp, 0xd8
ret