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

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xe8
mov rax, qword [0x14017d080]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x30], 0
mov rax, qword [rsp + 0x100]
cmp qword [rsp + 0xf8], rax
je 0x140005250
mov rax, qword [rsp + 0xf8]
movzx eax, byte [rax]
test eax, eax
jne 0x140005250
mov rax, qword [rsp + 0xf8]
inc rax
mov qword [rsp + 0xf8], rax
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
jmp 0x140005210
mov rax, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0x100]
sub rcx, rax
mov rax, rcx
imul rax, rax, 0x8a
cqo
mov ecx, 0x64
idiv rcx
inc rax
mov dword [rsp + 0x34], eax
mov edx, 0x18
lea rcx, [rsp + 0xb8]
call fcn.140004430
lea rcx, [rsp + 0x2c]
call fcn.140001b00
movsxd rcx, dword [rsp + 0x34]
mov r8, rax
mov rdx, rcx
lea rcx, [rsp + 0xb8]
call fcn.140004d20
nop
mov rax, qword [rsp + 0x100]
cmp qword [rsp + 0xf8], rax
je 0x1400053e3
mov rax, qword [rsp + 0xf8]
movzx eax, byte [rax]
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x24], 0
mov edx, 8
lea rcx, [rsp + 0xb0]
call fcn.140004430
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0xb8]
call fcn.140005a10
nop
jmp 0x140005329
xor r8d, r8d
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0xb0]
call fcn.140004ef0
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x20], 0
jne 0x14000533e
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0x24], eax
jge 0x1400053c3
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0xb8]
call fcn.140005a50
mov rdx, rax
lea rcx, [rsp + 0xb0]
call fcn.140004630
movzx eax, al
test eax, eax
je 0x1400053c3
lea rcx, [rsp + 0xb0]
call fcn.140004e20
movzx eax, byte [rax]
imul eax, eax, 0x100
mov ecx, dword [rsp + 0x20]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
cdq
mov ecx, 0x3a
idiv ecx
mov eax, edx
mov dword [rsp + 0x3c], eax
lea rcx, [rsp + 0xb0]
call fcn.140004e20
mov ecx, dword [rsp + 0x3c]
mov byte [rax], cl
mov eax, dword [rsp + 0x20]
cdq
mov ecx, 0x3a
idiv ecx
mov dword [rsp + 0x20], eax
jmp 0x14000530a
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0xf8]
inc rax
mov qword [rsp + 0xf8], rax
jmp 0x1400052b3
mov edx, 8
lea rcx, [rsp + 0xa8]
call fcn.140004430
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0xb8]
call fcn.1400044b0
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x34]
sub ecx, eax
mov eax, ecx
cdqe
mov r8, rax
lea rdx, [rsp + 0xa8]
mov rcx, qword [rsp + 0x40]
call fcn.140004fc0
nop
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0xb8]
call fcn.140004580
mov rdx, rax
lea rcx, [rsp + 0xa8]
call fcn.140004dc0
movzx eax, al
test eax, eax
je 0x140005488
lea rcx, [rsp + 0xa8]
call fcn.140004e00
movzx eax, byte [rax]
test eax, eax
jne 0x140005488
xor r8d, r8d
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0xa8]
call fcn.140004ea0
nop
jmp 0x140005430
mov rcx, qword [rsp + 0xf0]
call fcn.140002690
mov qword [rsp + 0x88], rax
mov eax, dword [rsp + 0x38]
or eax, 1
mov dword [rsp + 0x38], eax
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0xb8]
call fcn.140004580
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0xa8]
mov rcx, qword [rsp + 0x48]
call fcn.140004f80
movsxd rcx, dword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov rdx, rax
mov rcx, qword [rsp + 0xf0]
call fcn.140005a90
nop
movsxd rax, dword [rsp + 0x28]
mov r8b, 0x31
mov rdx, rax
mov rcx, qword [rsp + 0xf0]
call fcn.140005900
nop
lea rdx, [rsp + 0x98]
lea rcx, [rsp + 0xb8]
call fcn.140004580
mov rdx, rax
lea rcx, [rsp + 0xa8]
call fcn.140004dc0
movzx eax, al
test eax, eax
je 0x14000558f
mov rax, qword [str.123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0xa8]
call fcn.140004ea0
mov rcx, rax
call fcn.140004e00
movzx eax, byte [rax]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
add rcx, rax
mov rax, rcx
movzx edx, byte [rax]
mov rcx, qword [rsp + 0xf0]
call fcn.140005120
nop
jmp 0x140005509
lea rcx, [rsp + 0xb8]
call fcn.140004130
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.14002baf0
add rsp, 0xe8
ret