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

Disassembly:
mov rax, rsp
sub rsp, 0x78
mov r8, qword [0x1400f4c48]
mov rcx, qword [0x1400f4c50]
cmp r8, rcx
je 0x140053126
cmp byte [0x1400f4c9e], 0
je 0x140053126
mov qword [rax - 8], rdi
xor edi, edi
cmp byte [0x1400f4ef0], dil
mov qword [rax + 8], rbx
je 0x1400530ca
mov qword [rax + 0x18], rsi
sub rcx, r8
mov qword [rax - 0x20], r14
mov sil, 1
mov qword [rax - 0x28], r15
mov r10d, edi
mov qword [rsp + 0x88], rbp
movabs rax, 0x2aaaaaaaaaaaaaab
imul rcx
mov qword [rsp + 0x68], r12
mov r9d, edi
mov rcx, rdx
mov dword [rsp + 0x24], edi
sar rcx, 2
mov rax, rcx
mov byte [rsp + 0x21], dil
shr rax, 0x3f
add rcx, rax
mov dword [rsp + 0x34], esi
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], edi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x60], r13
mov ebx, edi
nop dword [rax + rax]
movsxd r15, r10d
cmp r15, rcx
jb 0x140052b70
test ebx, ebx
jns 0x14005309f
lea rax, [r9 + r9*2]
lea r13, [r8 + rax*8]
test ebx, ebx
jne 0x140052b91
test dl, dl
jne 0x140052b91
xor al, al
mov sil, 1
mov byte [rsp + 0x20], al
mov byte [rsp + 0x30], al
mov dword [rsp + 0x34], esi
mov rcx, qword [r13]
xor dl, dl
mov dword [rsp + 0x3c], edx
cmp rcx, qword [r13 + 8]
je 0x140053085
movsx r10d, byte [0x1400f4ea8]
movsxd r14, ebx
lea rax, [r14 + r14*2]
lea r12, [rax*4]
movzx ebp, byte [r12 + rcx]
cmp ebp, r10d
je 0x140052bed
mov ecx, ebp
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isspace]
movzx r10d, byte [0x1400f4ea8]
test eax, eax
mov r11, qword [rsp + 0x28]
mov eax, 0
movzx esi, sil
cmove esi, eax
mov dword [rsp + 0x34], esi
mov r9, qword [r13]
movabs rax, 0x2aaaaaaaaaaaaaab
mov rcx, qword [r13 + 8]
sub rcx, r9
imul rcx
mov rsi, rdx
mov edx, 1
sar rsi, 1
mov rax, rsi
shr rax, 0x3f
add rsi, rax
lea eax, [rsi - 1]
cmp ebx, eax
jne 0x140052c39
mov ecx, dword [rsp + 0x3c]
lea rax, [rsi + rsi*2]
cmp byte [r9 + rax*4 - 0xc], 0x5c
movzx ecx, cl
cmove ecx, edx
mov dword [rsp + 0x3c], ecx
cmp r11, r15
jb 0x140052c4b
jne 0x140052c46
cmp dword [rsp + 0x24], ebx
jle 0x140052c4b
xor r8b, r8b
jmp 0x140052c4e
mov r8b, 2
cmp byte [rsp + 0x21], 0
je 0x140052d5d
movzx eax, byte [r12 + r9 + 8]
and al, 0xfd
or al, r8b
mov byte [r12 + r9 + 8], al
cmp bpl, 0x22
jne 0x140052d0d
mov r9, qword [r13]
lea r10d, [rbx + 1]
mov rcx, qword [r13 + 8]
movabs rax, 0x2aaaaaaaaaaaaaab
sub rcx, r9
imul rcx
sar rdx, 1
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp r10d, edx
jge 0x140052d06
lea rax, [r14 + 1]
lea rax, [rax + rax*2]
cmp byte [r9 + rax*4], bpl
lea rcx, [r9 + rax*4]
jne 0x140052d06
movzx eax, byte [rcx + 8]
mov ebx, r10d
and al, 0xfd
or al, r8b
mov byte [rcx + 8], al
movabs r14, 0x2aaaaaaaaaaaaaab
xor edi, edi
movsxd rax, ebx
lea rcx, [rax + rax*2]
mov rax, qword [r13]
lea rdx, [rax + rcx*4]
movzx ecx, byte [rsp + 0x30]
shl cl, 2
movzx eax, bpl
xor cl, byte [rdx + 8]
and al, 0xfe
and cl, 4
xor byte [rdx + 8], cl
cmp al, 0xfc
jne 0x140052fe3
mov eax, 6
jmp 0x140053025
mov byte [rsp + 0x21], 0
jmp 0x140052cc2
movabs r14, 0x2aaaaaaaaaaaaaab
cmp bpl, 0x5c
jne 0x140052ccc
mov r9, qword [r13]
mov rax, r14
mov rcx, qword [r13 + 8]
inc ebx
sub rcx, r9
imul rcx
sar rdx, 1
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp ebx, edx
jge 0x140052ccc
movsxd rax, ebx
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 0x140052ccc
cmp byte [rsp + 0x34], 0
je 0x140052d78
mov ecx, dword [rsp + 0x30]
movsx eax, r10b
cmp ebp, eax
movzx ecx, cl
cmove ecx, edx
mov dword [rsp + 0x30], ecx
cmp bpl, 0x22
jne 0x140052d98
movzx eax, byte [r12 + r9 + 8]
and al, 0xfd
mov byte [rsp + 0x21], 1
or al, r8b
mov byte [r12 + r9 + 8], al
jmp 0x140052cc2
mov rcx, qword [0x1400f4e98]
add r9, r12
test rcx, rcx
je 0x140052e2e
lea rax, [r14 + rcx]
cmp rax, rsi
ja 0x140052e2e
cmp qword [0x1400f4ea0], 0xf
lea rax, [rcx + rcx*2]
lea rdi, [0x1400f4e88]
mov r8, rdi
lea rdx, [r9 + rax*4]
cmova r8, qword [0x1400f4e88]
mov rax, r9
add r8, rcx
mov rcx, rdi
cmp qword [0x1400f4ea0], 0xf
cmova rcx, qword [0x1400f4e88]
cmp rcx, r8
je 0x140052e12
cmp rax, rdx
je 0x140052e29
movzx r11d, byte [rax]
movsx r10d, byte [rcx]
cmp r10d, r11d
jne 0x140052e29
inc rcx
add rax, 0xc
cmp rcx, r8
jne 0x140052df4
mov r11, qword [rsp + 0x28]
cmp rax, rdx
jne 0x140052e2e
mov r10b, 1
mov byte [rsp + 0x20], r10b
jmp 0x140052fa9
mov r11, qword [rsp + 0x28]
movzx r10d, byte [rsp + 0x20]
test r10b, r10b
jne 0x140052fa9
mov rcx, qword [0x1400f4e58]
lea rax, [r14 + rcx]
cmp rax, rsi
ja 0x140052fa9
cmp qword [0x1400f4e60], 0xf
lea rax, [rcx + rcx*2]
lea rdi, [0x1400f4e48]
mov r8, rdi
lea rdx, [r9 + rax*4]
cmova r8, qword [0x1400f4e48]
mov rax, r9
add r8, rcx
mov rcx, rdi
cmp qword [0x1400f4e60], 0xf
cmova rcx, qword [0x1400f4e48]
cmp rcx, r8
je 0x140052eb7
cmp rax, rdx
je 0x140052f9e
movzx r11d, byte [rax]
movsx r10d, byte [rcx]
cmp r10d, r11d
jne 0x140052f9e
inc rcx
add rax, 0xc
cmp rcx, r8
jne 0x140052e91
cmp rax, rdx
jne 0x140052f9e
mov r11, r15
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x24], ebx
movzx r10d, byte [rsp + 0x20]
mov cl, 2
movzx eax, byte [r9 + 8]
and al, 0xfd
or al, cl
mov byte [r9 + 8], al
lea eax, [rbx + 1]
mov rdx, qword [r13]
movzx ecx, byte [rdx + r12 + 8]
xor cl, r10b
and cl, 1
xor byte [rdx + r12 + 8], cl
cmp eax, dword [0x1400f4e78]
jl 0x140052cc2
mov r8, qword [0x1400f4e78]
lea r12, [0x1400f4e68]
imul rax, r8, 0xfffffffffffffff4
lea rdx, [r9 + 0xc]
mov rcx, r12
add rax, rdx
cmp qword [0x1400f4e80], 0xf
cmova rcx, qword [0x1400f4e68]
add r8, rcx
mov rcx, r12
cmp qword [0x1400f4e80], 0xf
cmova rcx, qword [0x1400f4e68]
cmp rcx, r8
je 0x140052f76
nop dword [rax]
cmp rax, rdx
je 0x140052cc2
movsx r10d, byte [rcx]
movzx r9d, byte [rax]
cmp r10d, r9d
jne 0x140052cc2
inc rcx
add rax, 0xc
cmp rcx, r8
jne 0x140052f50
xor edi, edi
movabs r14, 0x2aaaaaaaaaaaaaab
cmp rax, rdx
jne 0x140052cce
mov r11, qword [rsp + 0x48]
mov qword [rsp + 0x28], r11
mov dword [rsp + 0x24], edi
jmp 0x140052cce
mov r11, qword [rsp + 0x28]
movzx r10d, byte [rsp + 0x20]
cmp r11, r15
jb 0x140052ecc
mov edx, dword [rsp + 0x24]
mov dword [rsp + 0x24], edx
mov qword [rsp + 0x28], r11
mov byte [rsp + 0x20], r10b
jne 0x140052fdc
mov qword [rsp + 0x28], r11
mov dword [rsp + 0x24], edx
mov byte [rsp + 0x20], r10b
cmp edx, ebx
jle 0x140052ecc
xor cl, cl
jmp 0x140052ed4
movzx eax, bpl
and al, 0xfc
cmp al, 0xf8
jne 0x140052ff4
mov eax, 5
jmp 0x140053025
movzx eax, bpl
and al, 0xf8
cmp al, 0xf0
jne 0x140053005
mov eax, 4
jmp 0x140053025
movzx eax, bpl
and al, 0xf0
cmp al, 0xe0
jne 0x140053016
mov eax, 3
jmp 0x140053025
and bpl, 0xe0
mov eax, edi
cmp bpl, 0xc0
sete al
inc eax
mov rcx, qword [r13 + 8]
lea r8d, [rax + rbx]
sub rcx, qword [r13]
mov rax, r14
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 0x140053063
inc r10d
inc r9
mov dword [rsp + 0x38], r10d
mov qword [rsp + 0x40], r9
mov esi, dword [rsp + 0x34]
cmp r8d, edx
mov edx, dword [rsp + 0x3c]
mov ebx, edi
mov rcx, qword [rsp + 0x48]
cmovl ebx, r8d
mov r8, qword [0x1400f4c48]
jmp 0x140052b60
mov rcx, qword [rsp + 0x48]
inc r10d
inc r9
mov dword [rsp + 0x38], r10d
mov qword [rsp + 0x40], r9
jmp 0x140052b59
mov r15, qword [rsp + 0x50]
mov r14, qword [rsp + 0x58]
mov r13, qword [rsp + 0x60]
mov r12, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x90]
mov rbp, qword [rsp + 0x88]
mov byte [0x1400f4ef0], 0
mov edx, dword [0x1400f4cac]
mov ecx, dword [0x1400f4cb0]
cmp edx, ecx
jge 0x140053119
cmp qword [0x1400f4eb0], 0
mov r8d, 0xa
mov ebx, 0x2710
cmove ebx, r8d
add ebx, edx
cmp ecx, ebx
cmovl ebx, ecx
mov r8d, ebx
call fcn.1400523e0
cmp dword [0x1400f4cb0], ebx
mov dword [0x1400f4cac], ebx
jne 0x140053119
mov qword [0x1400f4cac], 0x7fffffff
mov rbx, qword [rsp + 0x80]
mov rdi, qword [rsp + 0x70]
add rsp, 0x78
ret