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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xd8
mov rax, qword [0x140435c18]
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 0x140122beb
cmp dword [rsp + 0x50], 0x80
je 0x140123027
jmp 0x1401231cc
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 0x140122c74
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 0x140122c63
movsx eax, byte [rsp + 0x20]
cmp eax, 9
je 0x140122c63
movsx eax, byte [rsp + 0x20]
cmp eax, 0x2c
je 0x140122c63
movsx eax, byte [rsp + 0x20]
cmp eax, 0x3b
jne 0x140122c65
jmp 0x140122c74
mov rax, qword [rsp + 0x30]
dec rax
mov qword [rsp + 0x30], rax
jmp 0x140122c12
lea rcx, [rsp + 0xb0]
call fcn.1400e1780
nop
mov dword [rsp + 0x38], 0
jmp 0x140122c96
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 0x140122d39
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.1400e4080
mov rcx, qword [rsp + 0x78]
mov r8d, ecx
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rax]
call fcn.140122aa0
test eax, eax
jne 0x140122d34
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.1400e4080
mov rdx, rax
lea rcx, [rsp + 0xb0]
call fcn.1400e7450
jmp 0x140122c8c
cmp dword [rsp + 0xb0], 0
jne 0x140122d74
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.140121580
jmp 0x140123007
cmp dword [rsp + 0xb0], 1
jne 0x140122e27
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.1401ce470
xor edx, edx
lea rcx, [rsp + 0xb0]
call fcn.1400e4080
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.1401ce5a0
xor r9d, r9d
lea r8, reloc.WLDAP32.dll_Ordinal_32
mov rax, qword [rsp + 0xe8]
mov edx, dword [rax + 0x2c]
mov rcx, qword [rsp + 0xe8]
call fcn.1401ce5a0
jmp 0x140123007
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 0x140122e5c
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0xb0]
cmp dword [rsp + 0x24], eax
jge 0x140122ede
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x140122ede
cmp dword [rsp + 0x24], 0
jne 0x140122ea3
mov edx, dword [rsp + 0x24]
lea rcx, [rsp + 0xb0]
call fcn.1400e4080
movsxd rcx, dword [rsp + 0x28]
mov rax, qword [rax]
movsx eax, byte [rax + rcx]
mov ecx, eax
call fcn.14032c334
mov dword [rsp + 0x40], eax
jmp 0x140122ed9
cmp dword [rsp + 0x40], 0
je 0x140122ed4
mov edx, dword [rsp + 0x24]
lea rcx, [rsp + 0xb0]
call fcn.1400e4080
movsxd rcx, dword [rsp + 0x28]
mov rax, qword [rax]
movsx eax, byte [rax + rcx]
mov ecx, eax
call fcn.14032c334
cmp dword [rsp + 0x40], eax
je 0x140122ed9
mov byte [rsp + 0x21], 0
jmp 0x140122e52
movzx eax, byte [rsp + 0x21]
test eax, eax
jne 0x140122ee9
jmp 0x140122ef8
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
jmp 0x140122e3b
cmp dword [rsp + 0x28], 0
jle 0x140122fa8
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.1401ce470
xor edx, edx
lea rcx, [rsp + 0xb0]
call fcn.1400e4080
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.1400e4080
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.1401ce5a0
lea rdx, str.Possible_matches:_n
mov rcx, qword [rsp + 0xe0]
call fcn.140121580
mov dword [rsp + 0x3c], 0
jmp 0x140122fd0
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0xb0]
cmp dword [rsp + 0x3c], eax
jge 0x140123007
mov edx, dword [rsp + 0x3c]
lea rcx, [rsp + 0xb0]
call fcn.1400e4080
mov r8, qword [rax]
lea rdx, str.___s_n
mov rcx, qword [rsp + 0xe0]
call fcn.140121580
jmp 0x140122fc6
lea rcx, [rsp + 0xb0]
call fcn.1400e38c0
jmp 0x1401231cc
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 0x1401230ac
mov rax, qword [rsp + 0xe0]
cmp dword [rax + 0x130], 0xffffffff
jne 0x14012307b
mov rax, qword [rsp + 0xe0]
mov eax, dword [rax + 0x120]
dec eax
mov rcx, qword [rsp + 0xe0]
mov dword [rcx + 0x130], eax
jmp 0x1401230aa
mov rax, qword [rsp + 0xe0]
cmp dword [rax + 0x130], 0
jle 0x1401230aa
mov rax, qword [rsp + 0xe0]
mov eax, dword [rax + 0x130]
dec eax
mov rcx, qword [rsp + 0xe0]
mov dword [rcx + 0x130], eax
jmp 0x14012311a
mov rax, qword [rsp + 0xe8]
cmp dword [rax + 0x14], 0x204
jne 0x14012311a
mov rax, qword [rsp + 0xe0]
cmp dword [rax + 0x130], 0xffffffff
je 0x14012311a
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 0x14012311a
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 0x1401231cc
mov rax, qword [rsp + 0xe0]
cmp dword [rax + 0x130], 0
jl 0x14012317e
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.1400e4080
mov rax, qword [rax]
mov qword [rsp + 0x68], rax
jmp 0x14012318a
lea rax, [0x14035f610]
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.1401ce470
xor r9d, r9d
mov r8, qword [rsp + 0xa8]
xor edx, edx
mov rcx, qword [rsp + 0xe8]
call fcn.1401ce5a0
xor eax, eax
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140314b10
add rsp, 0xd8
ret