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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push r14
mov eax, 0xc0
call fcn.1401b9e30
sub rsp, rax
mov rsi, rcx
mov ebp, 1
xor ecx, ecx
mov dword [rsp + 0x60], ebp
mov r14, r9
mov dword [rsp + 0x8c], ecx
movzx eax, byte [rsi]
test al, al
je 0x14018a674
mov qword [rsp + 0xb8], rbx
movabs rcx, 0xc00100100000000
mov qword [rsp + 0xb0], rdi
mov qword [rsp + 0xa8], r12
mov qword [rsp + 0xa0], r13
movabs r13, 0x3ffffff11ffb
mov qword [rsp + 0x98], r15
nop
cmp al, 0x2d
jne 0x14018a167
mov dword [rsp + 0x88], 3
inc rsi
mov dword [rsp + 0x84], 3
mov r12d, 3
mov dword [rsp + 0x80], r12d
xor ebx, ebx
xor r10d, r10d
xor r11d, r11d
mov dword [rsp + 0x74], r10d
xor edi, edi
mov dword [rsp + 0x6c], r11d
xor r8d, r8d
mov dword [rsp + 0x70], ebx
mov dword [rsp + 0x64], r8d
mov dword [rsp + 0x68], edi
mov dword [rsp + 0xe0], ebx
nop word [rax + rax]
xor r15d, r15d
mov qword [rsp + 0x78], rsi
xor ebp, ebp
mov r9, rsi
movzx edx, byte [rsi]
lea eax, [rdx - 0x2d]
cmp al, 0x2d
ja 0x14018a151
movsx rcx, al
bt r13, rcx
jb 0x14018a15c
lea eax, [rdx - 0x61]
cmp al, 0x19
ja 0x14018a221
inc rsi
inc r15d
inc rbp
jmp 0x14018a13d
cmp al, 0x2b
jne 0x14018a18f
mov dword [rsp + 0x88], 4
inc rsi
mov dword [rsp + 0x84], 4
mov r12d, 4
jmp 0x14018a0f7
cmp al, 0x21
jne 0x14018a1b7
mov dword [rsp + 0x88], 2
inc rsi
mov dword [rsp + 0x84], 2
mov r12d, 2
jmp 0x14018a0f7
cmp al, 0x40
jne 0x14018a1df
mov dword [rsp + 0x88], 5
inc rsi
mov dword [rsp + 0x84], 5
mov r12d, 5
jmp 0x14018a0f7
mov dword [rsp + 0x88], 1
mov r12d, 1
mov dword [rsp + 0x80], r12d
mov dword [rsp + 0x84], 1
cmp al, 0x3b
ja 0x14018a0ff
movsx rax, al
bt rcx, rax
jae 0x14018a0ff
inc rsi
jmp 0x14018a5a3
test r15d, r15d
je 0x14018a4ae
cmp r12d, 5
je 0x14018a4a6
cmp dl, 0x2b
jne 0x14018a244
mov r13d, 1
inc rsi
jmp 0x14018a247
xor r13d, r13d
xor edi, edi
xor r12d, r12d
mov dword [rsp + 0x8c], edi
cmp qword [r14], rdi
je 0x14018a2ba
mov rbx, qword [rsp + 0xf8]
movsxd r14, r15d
mov rdx, qword [rbx]
mov r8, r14
mov rcx, r9
mov rdx, qword [rdx + 8]
call fcn.1401c1000
test eax, eax
jne 0x14018a28a
mov rax, qword [rbx]
mov rcx, qword [rax + 8]
cmp byte [rcx + rbp], r12b
je 0x14018a319
mov rax, qword [rsp + 0xf8]
inc rdi
mov r9, qword [rsp + 0x78]
cmp qword [rax + rdi*8], r12
lea rbx, [rax + rdi*8]
jne 0x14018a263
mov r10d, dword [rsp + 0x74]
mov r14, rax
mov r11d, dword [rsp + 0x6c]
mov ebx, dword [rsp + 0x70]
mov r8d, dword [rsp + 0x64]
mov edi, dword [rsp + 0x68]
mov ecx, dword [rsp + 0xe0]
mov ebp, dword [rsp + 0x60]
cmp dword [rsp + 0x84], 5
jne 0x14018a5e4
xor ebx, ebx
cmp r15d, 8
jne 0x14018a4f7
mov r8d, r15d
lea rdx, str.STRENGTH
mov rcx, r9
call fcn.1401c1000
test eax, eax
jne 0x14018a539
mov rdx, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0xe8]
call fcn.14018a690
mov ebx, eax
jmp 0x14018a553
mov r14, qword [rsp + 0xf8]
mov r12d, 1
mov r10d, dword [rsp + 0x74]
mov rdx, qword [r14 + rdi*8]
mov eax, dword [rdx + 0x1c]
test eax, eax
je 0x14018a35a
test r10d, r10d
je 0x14018a353
and r10d, eax
mov dword [rsp + 0x74], r10d
jne 0x14018a35a
mov r9, qword [rsp + 0x78]
xor r12d, r12d
jmp 0x14018a2ac
mov r10d, eax
mov dword [rsp + 0x74], eax
mov eax, dword [rdx + 0x20]
mov r11d, dword [rsp + 0x6c]
test eax, eax
je 0x14018a389
test r11d, r11d
je 0x14018a382
and r11d, eax
mov dword [rsp + 0x6c], r11d
jne 0x14018a389
mov r9, qword [rsp + 0x78]
xor r12d, r12d
jmp 0x14018a2b1
mov r11d, eax
mov dword [rsp + 0x6c], eax
mov eax, dword [rdx + 0x24]
mov ebx, dword [rsp + 0x70]
test eax, eax
je 0x14018a3b3
test ebx, ebx
je 0x14018a3ad
and ebx, eax
mov dword [rsp + 0x70], ebx
jne 0x14018a3b3
mov r9, qword [rsp + 0x78]
xor r12d, r12d
jmp 0x14018a2b5
mov ebx, eax
mov dword [rsp + 0x70], eax
mov eax, dword [rdx + 0x28]
mov edi, dword [rsp + 0x68]
test eax, eax
je 0x14018a3e2
test edi, edi
je 0x14018a3dc
and edi, eax
mov dword [rsp + 0x68], edi
jne 0x14018a3e2
mov r8d, dword [rsp + 0x64]
xor r12d, r12d
mov r9, qword [rsp + 0x78]
jmp 0x14018a2be
mov edi, eax
mov dword [rsp + 0x68], eax
mov ecx, dword [rdx + 0x3c]
mov eax, ecx
mov r8d, dword [rsp + 0x64]
and eax, 0x1f
je 0x14018a41e
test r8b, 0x1f
je 0x14018a417
mov eax, ecx
or eax, 0xffffffe0
and r8d, eax
mov dword [rsp + 0x64], r8d
test r8b, 0x1f
jne 0x14018a41e
mov r9, qword [rsp + 0x78]
xor r12d, r12d
jmp 0x14018a2be
mov r8d, eax
mov dword [rsp + 0x64], eax
mov eax, ecx
and eax, 0x20
je 0x14018a446
test r8b, 0x20
je 0x14018a43e
or ecx, 0xffffffdf
and r8d, ecx
mov dword [rsp + 0x64], r8d
test r8b, 0x20
je 0x14018a40a
jmp 0x14018a446
or r8d, eax
mov dword [rsp + 0x64], r8d
cmp dword [rdx], 0
je 0x14018a478
mov eax, dword [rdx + 0x18]
mov dword [rsp + 0x8c], eax
mov ecx, dword [rsp + 0xe0]
test r13d, r13d
je 0x14018a49c
mov r12d, dword [rsp + 0x80]
movabs r13, 0x3ffffff11ffb
jmp 0x14018a130
mov eax, dword [rdx + 0x2c]
test eax, eax
je 0x14018a455
mov ecx, dword [rsp + 0xe0]
test ecx, ecx
je 0x14018a48e
cmp ecx, eax
jne 0x14018a499
mov ecx, eax
mov dword [rsp + 0xe0], eax
jmp 0x14018a45c
xor r12d, r12d
mov r9, qword [rsp + 0x78]
jmp 0x14018a2c5
xor r12d, r12d
jmp 0x14018a2be
xor r9d, r9d
mov dword [rsp + 0x20], 0
mov edx, 0xe6
lea ecx, [r9 + 0x14]
lea r8d, [rdx + 0x32]
call fcn.1400bd090
mov r8d, dword [rsp + 0x64]
xor ebp, ebp
mov r9, qword [rsp + 0x78]
xor r12d, r12d
mov r10d, dword [rsp + 0x74]
inc rsi
mov r11d, dword [rsp + 0x6c]
mov ecx, dword [rsp + 0xe0]
mov dword [rsp + 0x60], ebp
jmp 0x14018a2c9
cmp r15d, 0xa
jne 0x14018a539
lea r8d, [r15 - 1]
mov rcx, r9
lea rdx, str.SECLEVEL
call fcn.1401c1000
test eax, eax
jne 0x14018a539
mov rax, qword [rsp + 0x78]
movsx eax, byte [rax + 9]
sub eax, 0x30
cmp eax, 5
ja 0x14018a539
mov rcx, qword [rsp + 0x100]
lea ebx, [r15 - 9]
mov dword [rcx + 0x1f0], eax
jmp 0x14018a553
xor r9d, r9d
mov dword [rsp + 0x20], ebx
mov r8d, 0x118
lea ecx, [r9 + 0x14]
lea edx, [r8 - 0x32]
call fcn.1400bd090
xor eax, eax
test ebx, ebx
cmovne eax, ebp
mov ebp, eax
mov dword [rsp + 0x60], eax
movzx eax, byte [rsi]
test al, al
je 0x14018a58a
movabs rcx, 0xc00100100000000
cmp al, 0x3b
ja 0x14018a57f
movsx rax, al
bt rcx, rax
jb 0x14018a58a
movzx eax, byte [rsi + 1]
inc rsi
test al, al
jne 0x14018a571
movabs rcx, 0xc00100100000000
cmp byte [rsi], 0
je 0x14018a5ae
movabs r13, 0x3ffffff11ffb
movzx eax, byte [rsi]
test al, al
jne 0x14018a0d0
mov r13, qword [rsp + 0xa0]
mov eax, ebp
mov r12, qword [rsp + 0xa8]
mov rdi, qword [rsp + 0xb0]
mov rbx, qword [rsp + 0xb8]
mov r15, qword [rsp + 0x98]
add rsp, 0xc0
pop r14
pop rsi
pop rbp
ret
test r12d, r12d
je 0x14018a63d
mov rax, qword [rsp + 0xe8]
mov r9d, ebx
mov r13, qword [rsp + 0xf0]
mov edx, r10d
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x40], 0xffffffff
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], r8d
mov r8d, r11d
mov dword [rsp + 0x28], ecx
mov ecx, dword [rsp + 0x8c]
mov dword [rsp + 0x20], edi
call fcn.140189640
jmp 0x14018a58a
movzx eax, byte [rsi]
test al, al
je 0x14018a5ae
cmp al, 0x3b
ja 0x14018a664
movsx rax, al
movabs rcx, 0xc00100100000000
bt rcx, rax
jb 0x14018a594
movzx eax, byte [rsi + 1]
inc rsi
test al, al
jne 0x14018a648
jmp 0x14018a5ae
mov eax, ebp
add rsp, 0xc0
pop r14
pop rsi
pop rbp
ret