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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x68
cmp qword [rsp + 0x70], 0
je 0x1800013c5
cmp qword [rsp + 0x80], 0
je 0x1800013c5
cmp qword [rsp + 0x88], 0
jne 0x1800013cc
xor eax, eax
jmp 0x18000178e
mov edx, dword [rsp + 0x90]
mov ecx, dword [rsp + 0x78]
call fcn.180001260
mov rcx, qword [rsp + 0x88]
cmp dword [rcx], eax
jge 0x1800013ef
xor eax, eax
jmp 0x18000178e
mov dword [rsp + 0x20], 0
mov eax, dword [rsp + 0x78]
cdq
mov ecx, 3
idiv ecx
shl eax, 2
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x54]
cdq
mov ecx, 0x4c
idiv ecx
mov dword [rsp + 0x24], eax
mov dword [rsp + 0x34], 0x13
mov dword [rsp + 0x38], 0
jmp 0x180001436
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x24]
cmp dword [rsp + 0x38], eax
jg 0x1800015aa
mov eax, dword [rsp + 0x24]
cmp dword [rsp + 0x38], eax
jne 0x180001469
mov eax, dword [rsp + 0x54]
cdq
mov ecx, 0x4c
idiv ecx
mov eax, edx
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x40], 0
jmp 0x18000147d
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x34]
cmp dword [rsp + 0x40], eax
jge 0x180001541
mov dword [rsp + 0x2c], 0
mov dword [rsp + 0x44], 0
jmp 0x1800014a7
mov eax, dword [rsp + 0x44]
inc eax
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 3
jge 0x1800014dc
mov rax, qword [rsp + 0x70]
movzx eax, byte [rax]
mov ecx, dword [rsp + 0x2c]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x2c], eax
mov rax, qword [rsp + 0x70]
inc rax
mov qword [rsp + 0x70], rax
mov eax, dword [rsp + 0x2c]
shl eax, 8
mov dword [rsp + 0x2c], eax
jmp 0x18000149d
mov dword [rsp + 0x48], 0
jmp 0x1800014f0
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 4
jge 0x18000153c
mov eax, dword [rsp + 0x2c]
shr eax, 0x1a
mov byte [rsp + 0x28], al
movzx eax, byte [rsp + 0x28]
lea rcx, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
mov rdx, qword [rsp + 0x80]
movzx eax, byte [rcx + rax]
mov byte [rdx], al
mov rax, qword [rsp + 0x80]
inc rax
mov qword [rsp + 0x80], rax
mov eax, dword [rsp + 0x2c]
shl eax, 6
mov dword [rsp + 0x2c], eax
jmp 0x1800014e6
jmp 0x180001473
mov eax, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x34]
lea eax, [rax + rcx*4]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x90]
and eax, 2
test eax, eax
jne 0x1800015a5
mov rax, qword [rsp + 0x80]
mov byte [rax], 0xd
mov rax, qword [rsp + 0x80]
inc rax
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov byte [rax], 0xa
mov rax, qword [rsp + 0x80]
inc rax
mov qword [rsp + 0x80], rax
mov eax, dword [rsp + 0x20]
add eax, 2
mov dword [rsp + 0x20], eax
jmp 0x18000142c
cmp dword [rsp + 0x20], 0
je 0x1800015de
mov eax, dword [rsp + 0x90]
and eax, 2
test eax, eax
jne 0x1800015de
mov rax, qword [rsp + 0x80]
sub rax, 2
mov qword [rsp + 0x80], rax
mov eax, dword [rsp + 0x20]
sub eax, 2
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x78]
cdq
mov ecx, 3
idiv ecx
mov eax, edx
test eax, eax
je 0x180001606
mov eax, dword [rsp + 0x78]
cdq
mov ecx, 3
idiv ecx
mov eax, edx
inc eax
mov dword [rsp + 0x58], eax
jmp 0x18000160e
mov dword [rsp + 0x58], 0
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
je 0x18000177b
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x3c], 0
jmp 0x18000163d
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x3c], 3
jge 0x180001686
mov eax, dword [rsp + 0x78]
cdq
mov ecx, 3
idiv ecx
mov eax, edx
cmp dword [rsp + 0x3c], eax
jge 0x180001679
mov rax, qword [rsp + 0x70]
movzx eax, byte [rax]
mov ecx, dword [rsp + 0x30]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x70]
inc rax
mov qword [rsp + 0x70], rax
mov eax, dword [rsp + 0x30]
shl eax, 8
mov dword [rsp + 0x30], eax
jmp 0x180001633
mov dword [rsp + 0x4c], 0
jmp 0x18000169a
mov eax, dword [rsp + 0x4c]
inc eax
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x24]
cmp dword [rsp + 0x4c], eax
jge 0x1800016e9
mov eax, dword [rsp + 0x30]
shr eax, 0x1a
mov byte [rsp + 0x29], al
movzx eax, byte [rsp + 0x29]
lea rcx, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
mov rdx, qword [rsp + 0x80]
movzx eax, byte [rcx + rax]
mov byte [rdx], al
mov rax, qword [rsp + 0x80]
inc rax
mov qword [rsp + 0x80], rax
mov eax, dword [rsp + 0x30]
shl eax, 6
mov dword [rsp + 0x30], eax
jmp 0x180001690
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x20]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x90]
and eax, 1
test eax, eax
jne 0x18000177b
cmp dword [rsp + 0x24], 0
je 0x18000171d
mov eax, 4
sub eax, dword [rsp + 0x24]
mov dword [rsp + 0x5c], eax
jmp 0x180001725
mov dword [rsp + 0x5c], 0
mov eax, dword [rsp + 0x5c]
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x50], 0
jmp 0x180001741
mov eax, dword [rsp + 0x50]
inc eax
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x34]
cmp dword [rsp + 0x50], eax
jge 0x18000176b
mov rax, qword [rsp + 0x80]
mov byte [rax], 0x3d
mov rax, qword [rsp + 0x80]
inc rax
mov qword [rsp + 0x80], rax
jmp 0x180001737
mov eax, dword [rsp + 0x34]
mov ecx, dword [rsp + 0x20]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x88]
mov ecx, dword [rsp + 0x20]
mov dword [rax], ecx
mov eax, 1
add rsp, 0x68
ret