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

Disassembly:
mov rax, rsp
sub rsp, 0x78
mov r8, qword [0x1401ca3a8]
mov rcx, qword [0x1401ca3b0]
cmp r8, rcx
je 0x1400d0da5
cmp byte [0x1401ca3fe], 0
je 0x1400d0da5
mov qword [rax - 0x20], r14
xor r14d, r14d
cmp byte [0x1401ca650], r14b
mov qword [rax + 8], rbx
je 0x1400d0d4b
mov qword [rax + 0x10], rbp
sub rcx, r8
mov qword [rax + 0x18], rsi
mov r10d, r14d
mov qword [rax - 8], rdi
mov r9d, r14d
mov qword [rsp + 0x68], r12
movabs rax, 0x2aaaaaaaaaaaaaab
imul rcx
mov dil, 1
mov qword [rsp + 0x60], r13
mov rcx, rdx
mov dword [rsp + 0x24], r14d
sar rcx, 2
mov rax, rcx
mov byte [rsp + 0x21], r14b
shr rax, 0x3f
add rcx, rax
mov dword [rsp + 0x34], edi
xor al, al
mov qword [rsp + 0x48], rcx
mov byte [rsp + 0x20], al
xor dl, dl
mov byte [rsp + 0x30], al
mov r11, rcx
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x38], r14d
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x50], r15
mov esi, r14d
nop dword [rax]
movsxd rbp, r10d
cmp rbp, rcx
jb 0x1400d0840
test esi, esi
jns 0x1400d0d20
lea rax, [r9 + r9*2]
lea r13, [r8 + rax*8]
test esi, esi
jne 0x1400d0861
test dl, dl
jne 0x1400d0861
xor al, al
mov dil, 1
mov byte [rsp + 0x20], al
mov byte [rsp + 0x30], al
mov dword [rsp + 0x34], edi
mov rcx, qword [r13]
xor dl, dl
mov dword [rsp + 0x3c], edx
cmp rcx, qword [r13 + 8]
je 0x1400d0d06
movsx r10d, byte [0x1401ca608]
movsxd r14, esi
lea rax, [r14 + r14*2]
lea r12, [rax*4]
movzx r15d, byte [r12 + rcx]
mov ebx, r15d
cmp r15d, r10d
je 0x1400d08c0
mov ecx, ebx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isspace]
movzx r10d, byte [0x1401ca608]
test eax, eax
mov r11, qword [rsp + 0x28]
mov eax, 0
movzx edi, dil
cmove edi, eax
mov dword [rsp + 0x34], edi
mov r9, qword [r13]
movabs rax, 0x2aaaaaaaaaaaaaab
mov rcx, qword [r13 + 8]
sub rcx, r9
imul rcx
mov rdi, rdx
mov edx, 1
sar rdi, 1
mov rax, rdi
shr rax, 0x3f
add rdi, rax
lea eax, [rdi - 1]
cmp esi, eax
jne 0x1400d090c
mov ecx, dword [rsp + 0x3c]
lea rax, [rdi + rdi*2]
cmp byte [r9 + rax*4 - 0xc], 0x5c
movzx ecx, cl
cmove ecx, edx
mov dword [rsp + 0x3c], ecx
cmp r11, rbp
jb 0x1400d091e
jne 0x1400d0919
cmp dword [rsp + 0x24], esi
jle 0x1400d091e
xor r8b, r8b
jmp 0x1400d0921
mov r8b, 2
cmp byte [rsp + 0x21], 0
je 0x1400d09e6
movzx eax, byte [r12 + r9 + 8]
movabs rbx, 0x2aaaaaaaaaaaaaab
and al, 0xfd
or al, r8b
mov byte [r12 + r9 + 8], al
cmp r15b, 0x22
jne 0x1400d09a3
mov r9, qword [r13]
lea r10d, [rsi + 1]
mov rcx, qword [r13 + 8]
mov rax, rbx
sub rcx, r9
imul rcx
sar rdx, 1
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp r10d, edx
jge 0x1400d0999
lea rax, [r14 + 1]
lea rax, [rax + rax*2]
cmp byte [r9 + rax*4], r15b
lea rcx, [r9 + rax*4]
jne 0x1400d0999
movzx eax, byte [rcx + 8]
mov esi, r10d
and al, 0xfd
or al, r8b
mov byte [rcx + 8], al
jmp 0x1400d0a26
mov byte [rsp + 0x21], 0
jmp 0x1400d0a26
cmp r15b, 0x5c
jne 0x1400d0a26
mov r9, qword [r13]
mov rax, rbx
mov rcx, qword [r13 + 8]
inc esi
sub rcx, r9
imul rcx
sar rdx, 1
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp esi, edx
jge 0x1400d0a26
movsxd rax, esi
lea rcx, [rax + rax*2]
movzx eax, byte [r9 + rcx*4 + 8]
and al, 0xfd
or al, r8b
mov byte [r9 + rcx*4 + 8], al
jmp 0x1400d0a26
cmp byte [rsp + 0x34], 0
je 0x1400d0a01
mov ecx, dword [rsp + 0x30]
movsx eax, r10b
cmp ebx, eax
movzx ecx, cl
cmove ecx, edx
mov dword [rsp + 0x30], ecx
cmp r15b, 0x22
jne 0x1400d0a61
movzx eax, byte [r12 + r9 + 8]
and al, 0xfd
mov byte [rsp + 0x21], 1
or al, r8b
mov byte [r12 + r9 + 8], al
movabs rbx, 0x2aaaaaaaaaaaaaab
xor r14d, r14d
movsxd rax, esi
lea rcx, [rax + rax*2]
mov rax, qword [r13]
lea rdx, [rax + rcx*4]
movzx ecx, byte [rsp + 0x30]
shl cl, 2
movzx eax, r15b
xor cl, byte [rdx + 8]
and al, 0xfe
and cl, 4
xor byte [rdx + 8], cl
cmp al, 0xfc
jne 0x1400d0c62
mov eax, 6
jmp 0x1400d0ca5
mov rdx, qword [0x1401ca5f8]
add r9, r12
test rdx, rdx
je 0x1400d0ae3
lea rax, [r14 + rdx]
cmp rax, rdi
ja 0x1400d0ae3
cmp qword [0x1401ca600], 0xf
lea rax, [rdx + rdx*2]
lea r8, [r9 + rax*4]
jbe 0x1400d0a97
mov rcx, qword [0x1401ca5e8]
add rdx, rcx
jmp 0x1400d0aa4
lea rax, [0x1401ca5e8]
add rdx, rax
mov rcx, rax
mov rax, r9
cmp rcx, rdx
je 0x1400d0ad3
nop dword [rax]
cmp rax, r8
je 0x1400d0ae3
movzx r11d, byte [rax]
movsx r10d, byte [rcx]
cmp r10d, r11d
jne 0x1400d0ae3
inc rcx
add rax, 0xc
cmp rcx, rdx
jne 0x1400d0ab0
mov r11, qword [rsp + 0x28]
cmp rax, r8
jne 0x1400d0ae3
mov bl, 1
mov byte [rsp + 0x20], bl
jmp 0x1400d0c2a
movzx ebx, byte [rsp + 0x20]
test bl, bl
jne 0x1400d0c25
mov rcx, qword [0x1401ca5b8]
lea rax, [r14 + rcx]
cmp rax, rdi
ja 0x1400d0c25
cmp qword [0x1401ca5c0], 0xf
lea rax, [rcx + rcx*2]
lea r8, [r9 + rax*4]
jbe 0x1400d0b23
mov rax, qword [0x1401ca5a8]
lea rdx, [rcx + rax]
jmp 0x1400d0b2e
lea rax, [0x1401ca5a8]
lea rdx, [rax + rcx]
mov rcx, r9
cmp rax, rdx
je 0x1400d0b5c
cmp rcx, r8
je 0x1400d0c25
movzx r11d, byte [rcx]
movsx r10d, byte [rax]
cmp r10d, r11d
jne 0x1400d0c25
inc rax
add rcx, 0xc
cmp rax, rdx
jne 0x1400d0b36
cmp rcx, r8
jne 0x1400d0c25
mov r11, rbp
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x24], esi
mov cl, 2
movzx eax, byte [r9 + 8]
and al, 0xfd
or al, cl
mov byte [r9 + 8], al
lea eax, [rsi + 1]
mov rdx, qword [r13]
movzx ecx, byte [rdx + r12 + 8]
xor cl, bl
and cl, 1
xor byte [rdx + r12 + 8], cl
cmp eax, dword [0x1401ca5d8]
jl 0x1400d0a1c
mov rdx, qword [0x1401ca5d8]
lea r8, [r9 + 0xc]
mov rax, qword [0x1401ca5c8]
imul rcx, rdx, 0xfffffffffffffff4
add rcx, r8
cmp qword [0x1401ca5e0], 0xf
ja 0x1400d0bcd
lea rax, [0x1401ca5c8]
add rdx, rax
cmp rax, rdx
je 0x1400d0bfb
cmp rcx, r8
je 0x1400d0a1c
movsx r10d, byte [rax]
movzx r9d, byte [rcx]
cmp r10d, r9d
jne 0x1400d0a1c
inc rax
add rcx, 0xc
cmp rax, rdx
jne 0x1400d0bd5
xor r14d, r14d
movabs rbx, 0x2aaaaaaaaaaaaaab
cmp rcx, r8
jne 0x1400d0a29
mov r11, qword [rsp + 0x48]
mov qword [rsp + 0x28], r11
mov dword [rsp + 0x24], r14d
jmp 0x1400d0a29
mov r11, qword [rsp + 0x28]
cmp r11, rbp
jb 0x1400d0b71
mov edx, dword [rsp + 0x24]
mov dword [rsp + 0x24], edx
mov qword [rsp + 0x28], r11
mov byte [rsp + 0x20], bl
jne 0x1400d0c5b
mov qword [rsp + 0x28], r11
mov dword [rsp + 0x24], edx
mov byte [rsp + 0x20], bl
cmp edx, esi
jle 0x1400d0b71
xor cl, cl
jmp 0x1400d0b73
movzx eax, r15b
and al, 0xfc
cmp al, 0xf8
jne 0x1400d0c73
mov eax, 5
jmp 0x1400d0ca5
movzx eax, r15b
and al, 0xf8
cmp al, 0xf0
jne 0x1400d0c84
mov eax, 4
jmp 0x1400d0ca5
movzx eax, r15b
and al, 0xf0
cmp al, 0xe0
jne 0x1400d0c95
mov eax, 3
jmp 0x1400d0ca5
and r15b, 0xe0
mov eax, r14d
cmp r15b, 0xc0
sete al
inc eax
mov rcx, qword [r13 + 8]
lea r8d, [rax + rsi]
sub rcx, qword [r13]
mov rax, rbx
mov r10d, dword [rsp + 0x38]
mov r9, qword [rsp + 0x40]
imul rcx
sar rdx, 1
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp r8d, edx
jl 0x1400d0ce3
inc r10d
inc r9
mov dword [rsp + 0x38], r10d
mov qword [rsp + 0x40], r9
mov edi, dword [rsp + 0x34]
cmp r8d, edx
mov edx, dword [rsp + 0x3c]
mov esi, r14d
mov rcx, qword [rsp + 0x48]
cmovl esi, r8d
mov r8, qword [0x1401ca3a8]
jmp 0x1400d0830
mov rcx, qword [rsp + 0x48]
inc r10d
inc r9
mov dword [rsp + 0x38], r10d
mov qword [rsp + 0x40], r9
jmp 0x1400d0829
mov r15, qword [rsp + 0x50]
mov r13, qword [rsp + 0x60]
mov r12, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x90]
mov rbp, qword [rsp + 0x88]
mov byte [0x1401ca650], 0
mov edx, dword [0x1401ca40c]
mov eax, dword [0x1401ca410]
cmp edx, eax
jge 0x1400d0d98
cmp qword [0x1401ca610], 0
mov ecx, 0xa
mov ebx, 0x2710
cmove ebx, ecx
add ebx, edx
cmp eax, ebx
cmovl ebx, eax
mov r8d, ebx
call fcn.1400d0160
cmp dword [0x1401ca410], ebx
mov dword [0x1401ca40c], ebx
jne 0x1400d0d98
mov qword [0x1401ca40c], 0x7fffffff
mov rbx, qword [rsp + 0x80]
mov r14, qword [rsp + 0x58]
add rsp, 0x78
ret