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

Disassembly:
mov rax, rsp
sub rsp, 0x78
mov r8, qword [0x140127ee8]
mov rcx, qword [0x140127ef0]
cmp r8, rcx
je 0x1400534e6
cmp byte [0x140127f3e], 0
je 0x1400534e6
mov qword [rax - 8], rdi
xor edi, edi
cmp byte [0x140128190], dil
mov qword [rax + 8], rbx
je 0x14005348a
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 0x140052f30
test ebx, ebx
jns 0x14005345f
lea rax, [r9 + r9*2]
lea r13, [r8 + rax*8]
test ebx, ebx
jne 0x140052f51
test dl, dl
jne 0x140052f51
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 0x140053445
movsx r10d, byte [0x140128148]
movsxd r14, ebx
lea rax, [r14 + r14*2]
lea r12, [rax*4]
movzx ebp, byte [r12 + rcx]
cmp ebp, r10d
je 0x140052fad
mov ecx, ebp
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isspace]
movzx r10d, byte [0x140128148]
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 0x140052ff9
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 0x14005300b
jne 0x140053006
cmp dword [rsp + 0x24], ebx
jle 0x14005300b
xor r8b, r8b
jmp 0x14005300e
mov r8b, 2
cmp byte [rsp + 0x21], 0
je 0x14005311d
movzx eax, byte [r12 + r9 + 8]
and al, 0xfd
or al, r8b
mov byte [r12 + r9 + 8], al
cmp bpl, 0x22
jne 0x1400530cd
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 0x1400530c6
lea rax, [r14 + 1]
lea rax, [rax + rax*2]
cmp byte [r9 + rax*4], bpl
lea rcx, [r9 + rax*4]
jne 0x1400530c6
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 0x1400533a3
mov eax, 6
jmp 0x1400533e5
mov byte [rsp + 0x21], 0
jmp 0x140053082
movabs r14, 0x2aaaaaaaaaaaaaab
cmp bpl, 0x5c
jne 0x14005308c
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 0x14005308c
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 0x14005308c
cmp byte [rsp + 0x34], 0
je 0x140053138
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 0x140053158
movzx eax, byte [r12 + r9 + 8]
and al, 0xfd
mov byte [rsp + 0x21], 1
or al, r8b
mov byte [r12 + r9 + 8], al
jmp 0x140053082
mov rcx, qword [0x140128138]
add r9, r12
test rcx, rcx
je 0x1400531ee
lea rax, [r14 + rcx]
cmp rax, rsi
ja 0x1400531ee
cmp qword [0x140128140], 0xf
lea rax, [rcx + rcx*2]
lea rdi, [0x140128128]
mov r8, rdi
lea rdx, [r9 + rax*4]
cmova r8, qword [0x140128128]
mov rax, r9
add r8, rcx
mov rcx, rdi
cmp qword [0x140128140], 0xf
cmova rcx, qword [0x140128128]
cmp rcx, r8
je 0x1400531d2
cmp rax, rdx
je 0x1400531e9
movzx r11d, byte [rax]
movsx r10d, byte [rcx]
cmp r10d, r11d
jne 0x1400531e9
inc rcx
add rax, 0xc
cmp rcx, r8
jne 0x1400531b4
mov r11, qword [rsp + 0x28]
cmp rax, rdx
jne 0x1400531ee
mov r10b, 1
mov byte [rsp + 0x20], r10b
jmp 0x140053369
mov r11, qword [rsp + 0x28]
movzx r10d, byte [rsp + 0x20]
test r10b, r10b
jne 0x140053369
mov rcx, qword [0x1401280f8]
lea rax, [r14 + rcx]
cmp rax, rsi
ja 0x140053369
cmp qword [0x140128100], 0xf
lea rax, [rcx + rcx*2]
lea rdi, [0x1401280e8]
mov r8, rdi
lea rdx, [r9 + rax*4]
cmova r8, qword [0x1401280e8]
mov rax, r9
add r8, rcx
mov rcx, rdi
cmp qword [0x140128100], 0xf
cmova rcx, qword [0x1401280e8]
cmp rcx, r8
je 0x140053277
cmp rax, rdx
je 0x14005335e
movzx r11d, byte [rax]
movsx r10d, byte [rcx]
cmp r10d, r11d
jne 0x14005335e
inc rcx
add rax, 0xc
cmp rcx, r8
jne 0x140053251
cmp rax, rdx
jne 0x14005335e
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 [0x140128118]
jl 0x140053082
mov r8, qword [0x140128118]
lea r12, [0x140128108]
imul rax, r8, 0xfffffffffffffff4
lea rdx, [r9 + 0xc]
mov rcx, r12
add rax, rdx
cmp qword [0x140128120], 0xf
cmova rcx, qword [0x140128108]
add r8, rcx
mov rcx, r12
cmp qword [0x140128120], 0xf
cmova rcx, qword [0x140128108]
cmp rcx, r8
je 0x140053336
nop dword [rax]
cmp rax, rdx
je 0x140053082
movsx r10d, byte [rcx]
movzx r9d, byte [rax]
cmp r10d, r9d
jne 0x140053082
inc rcx
add rax, 0xc
cmp rcx, r8
jne 0x140053310
xor edi, edi
movabs r14, 0x2aaaaaaaaaaaaaab
cmp rax, rdx
jne 0x14005308e
mov r11, qword [rsp + 0x48]
mov qword [rsp + 0x28], r11
mov dword [rsp + 0x24], edi
jmp 0x14005308e
mov r11, qword [rsp + 0x28]
movzx r10d, byte [rsp + 0x20]
cmp r11, r15
jb 0x14005328c
mov edx, dword [rsp + 0x24]
mov dword [rsp + 0x24], edx
mov qword [rsp + 0x28], r11
mov byte [rsp + 0x20], r10b
jne 0x14005339c
mov qword [rsp + 0x28], r11
mov dword [rsp + 0x24], edx
mov byte [rsp + 0x20], r10b
cmp edx, ebx
jle 0x14005328c
xor cl, cl
jmp 0x140053294
movzx eax, bpl
and al, 0xfc
cmp al, 0xf8
jne 0x1400533b4
mov eax, 5
jmp 0x1400533e5
movzx eax, bpl
and al, 0xf8
cmp al, 0xf0
jne 0x1400533c5
mov eax, 4
jmp 0x1400533e5
movzx eax, bpl
and al, 0xf0
cmp al, 0xe0
jne 0x1400533d6
mov eax, 3
jmp 0x1400533e5
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 0x140053423
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 [0x140127ee8]
jmp 0x140052f20
mov rcx, qword [rsp + 0x48]
inc r10d
inc r9
mov dword [rsp + 0x38], r10d
mov qword [rsp + 0x40], r9
jmp 0x140052f19
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 [0x140128190], 0
mov edx, dword [0x140127f4c]
mov ecx, dword [0x140127f50]
cmp edx, ecx
jge 0x1400534d9
cmp qword [0x140128150], 0
mov r8d, 0xa
mov ebx, 0x2710
cmove ebx, r8d
add ebx, edx
cmp ecx, ebx
cmovl ebx, ecx
mov r8d, ebx
call fcn.1400527a0
cmp dword [0x140127f50], ebx
mov dword [0x140127f4c], ebx
jne 0x1400534d9
mov qword [0x140127f4c], 0x7fffffff
mov rbx, qword [rsp + 0x80]
mov rdi, qword [rsp + 0x70]
add rsp, 0x78
ret