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

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
mov r13, rdx
mov r12, rcx
xor edx, edx
mov rcx, r13
call fcn.140013408
mov ebx, dword [r13 + 0x40]
cmp ebx, 6
je 0x14000a7fc
mov edx, ebx
cmp ebx, 0xb
je 0x14000a7fc
cmp edx, 8
jne 0x14000aad8
cmp byte [r12 + 0x108], 0
jne 0x14000a80b
mov eax, dword [r12 + 0x100]
test eax, eax
jle 0x14000a873
cmp eax, 2
jg 0x14008dd21
mov rcx, qword [r12]
call fcn.14001473f
nop
jmp 0x14008dd21
cmp byte [r12 + 0x91], 0
je 0x14000a828
xor r13d, r13d
mov eax, r13d
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rdi, qword [0x1400aef30]
mov edx, eax
mov rcx, qword [rdi]
call fcn.140036b27
test eax, eax
jne 0x14000ab18
mov edx, dword [r13 + 0x40]
cmp edx, 0xb
jne 0x14000a7b8
cmp byte [r12 + 0x88], 1
mov eax, dword [r12 + 0x100]
sbb ebx, ebx
and ebx, 2
add ebx, 4
mov dword [r13 + 0x40], ebx
test eax, eax
jg 0x14000a7e0
cmp byte [r12 + 0x44], 0
mov ecx, dword [r13 + 0x44]
je 0x14000a88e
cmp dword [r13 + 0x40], 6
je 0x14000ab48
test ecx, ecx
je 0x14000a900
cmp dword [r12 + 0x8c], ecx
je 0x14000a900
mov edx, dword [r12 + 0x104]
mov r8, qword [r12 + 0xc0]
call qword [r12 + 0xb8]
test eax, eax
je 0x14000a80b
mov r11d, dword [r12 + 0x60]
test r11d, r11d
jg 0x14000adf8
movsxd rdx, dword [r13 + 0x44]
mov rax, qword [r12 + 0x50]
movsxd rax, dword [rax + rdx*4]
test eax, eax
je 0x14000ade8
mov dword [r13 + 0x40], eax
cmp eax, 1
jne 0x14000a904
jmp 0x14000a80b
movsxd rax, dword [r13 + 0x40]
cmp eax, 8
je 0x14000a916
cmp eax, 3
jne 0x14000ab58
add dword [r12 + 0x100], 1
cmp eax, 3
je 0x14000aa90
cmp eax, 0xe
je 0x14000aa90
cmp eax, 4
jne 0x14000a943
cmp ebx, 6
je 0x14000add8
add dword [r12 + rax*4 + 8], 1
mov eax, dword [r12 + 0x134]
test eax, eax
jne 0x14000a977
mov rdx, qword [r12 + 0x138]
test rdx, rdx
je 0x14000a977
mov rcx, r12
call rdx
mov eax, dword [r12 + 0x134]
add eax, 1
mov rdx, r13
mov dword [r12 + 0x134], eax
lea rax, [r13 + 0x38]
mov qword [r13 + 0x18], rax
mov qword [r13 + 0x38], 0
mov rcx, qword [r12]
call fcn.140014df0
mov rdx, r13
mov rcx, r12
call qword [r12 + 0x98]
mov rcx, qword [r12]
call fcn.1400145cc
cmp byte [r12 + 0x7f], 0
jne 0x14000acf0
cmp byte [r12 + 0x85], 0
jne 0x14000aba0
mov r8d, ebx
mov rdx, r13
mov rcx, r12
call qword [r12 + 0xa8]
mov eax, dword [r12 + 0x114]
cmp eax, 1
je 0x14000ab70
cmp eax, 2
jne 0x14000aa1c
mov rcx, qword [r12]
mov rdx, qword [r13 + 0x28]
xor r8d, r8d
mov r9d, dword [r12 + 0x120]
call fcn.14000bdff
mov rcx, qword [r12]
call fcn.140013a61
mov edx, dword [r13 + 0x40]
mov rcx, r12
call fcn.14000a5f0
mov qword [r13 + 0x38], 0
mov rdx, qword [r13 + 0x28]
mov rcx, qword [r12 + 0x128]
test rcx, rcx
je 0x14000aa52
cmp byte [rdx + 0xa1], 0
je 0x14000adb8
sub dword [r12 + 0x100], 1
mov rdx, qword [rdx + 0xa8]
test rdx, rdx
je 0x14000adc8
mov rax, qword [r12 + 0xd8]
mov r13d, 1
test rax, rax
je 0x14000a80e
mov rcx, r12
call rax
jmp 0x14000a80e
mov r10d, dword [r12 + 0x18]
test r10d, r10d
jle 0x14000ab30
cmp byte [r12 + 0x86], 0
je 0x14000aed7
mov r9, qword [r12 + 0xb0]
test r9, r9
je 0x14000a931
mov r8, qword [r13 + 8]
mov rdx, qword [r13]
mov rcx, r12
call r9
movsxd rax, dword [r13 + 0x40]
jmp 0x14000a931
mov eax, dword [r12 + 0x100]
test eax, eax
jle 0x14000a873
cmp edx, 3
sete cl
cmp edx, 0xe
sete dl
or cl, dl
je 0x14000a7e0
cmp eax, 1
jne 0x14000a7e0
mov rcx, qword [r12]
call fcn.14001473f
jmp 0x14000a873
cmp byte [r12 + 0x92], 0
jne 0x14000a841
jmp 0x14000a80b
mov r9d, dword [r12 + 0x1c]
test r9d, r9d
jg 0x14000aa9e
jmp 0x14000aaad
mov dword [r13 + 0x40], 4
test ecx, ecx
jne 0x14000a896
xor edx, edx
mov rcx, r12
call fcn.14000a571
movsxd rax, dword [r13 + 0x40]
jmp 0x14000a916
mov rcx, qword [r12]
mov rdx, qword [r13 + 0x28]
mov r8d, 1
mov r9d, dword [r12 + 0x120]
call fcn.14000bdff
mov rcx, qword [r12]
call fcn.140013a61
jmp 0x14000aa1c
mov edx, dword [r13 + 0x44]
mov r9d, dword [r13 + 0x40]
mov r8d, ebx
mov rcx, r12
call qword [r12 + 0xc8]
mov r15, rax
test rax, rax
je 0x14000a9d0
mov rax, qword [r12 + 0xd0]
mov r14, qword [r12]
test rax, rax
je 0x14000ac98
mov edx, dword [r14 + 0x44]
test edx, edx
je 0x14000ac98
mov edx, dword [r13 + 0x44]
mov rcx, r12
call rax
mov r14, qword [r12]
lea rdx, [0x14009d000]
mov rsi, rax
mov rcx, r14
call fcn.1400146b7
movsxd rdx, dword [r13 + 0x40]
lea rax, [0x14009d480]
mov rdi, qword [rax + rdx*8]
mov rcx, rdi
call sub.msvcrt.dll_strlen
movzx ecx, byte [r14 + 0x43]
mov rdx, rdi
mov r8, rax
call fcn.14000cec0
mov rcx, r14
mov rdx, rax
call fcn.1400146b7
test rsi, rsi
je 0x14000acd9
mov rdx, rsi
mov rcx, r14
call fcn.140014c86
mov rdx, r15
mov rcx, r14
call fcn.1400146b7
mov rcx, r14
call fcn.140016495
mov rcx, rsi
call fcn.1400771af
movzx ecx, byte [r14 + 0x43]
call fcn.14000cf57
mov rcx, r14
mov rdx, rax
call fcn.1400146b7
mov rcx, r14
mov edx, 0x5d
call fcn.140013f11
mov rcx, r15
call fcn.1400771af
jmp 0x14000a9d0
lea rdx, [0x14009d000]
mov rcx, r14
call fcn.1400146b7
movsxd rdx, dword [r13 + 0x40]
lea rax, [0x14009d480]
mov rsi, qword [rax + rdx*8]
mov rcx, rsi
call sub.msvcrt.dll_strlen
movzx ecx, byte [r14 + 0x43]
mov rdx, rsi
mov r8, rax
call fcn.14000cec0
mov rcx, r14
mov rdx, rax
call fcn.1400146b7
mov rdx, r15
mov rcx, r14
call fcn.1400146b7
jmp 0x14000ac63
mov rax, qword [r13 + 0x30]
test rax, rax
je 0x14000a9c1
mov esi, dword [rax]
test esi, esi
je 0x14000a9c1
mov r14, qword [r12]
mov rcx, r14
call fcn.140013c38
lea rdx, [0x14009d000]
mov rcx, r14
mov r15, rax
call fcn.1400146b7
movsxd rdx, dword [r13 + 0x40]
lea rax, [0x14009d480]
mov rdi, qword [rax + rdx*8]
mov rcx, rdi
call sub.msvcrt.dll_strlen
movzx ecx, byte [r14 + 0x43]
mov rdx, rdi
mov r8, rax
call fcn.14000cec0
mov rcx, r14
mov rdx, rax
call fcn.1400146b7
mov r8d, dword [r14 + 0x44]
test r8d, r8d
jne 0x14000aeae
mov r8d, esi
lea rdx, str.CWE__i
mov rcx, r14
call fcn.1400163b5
mov rcx, qword [r12]
mov rdx, r15
call fcn.140013bb9
mov ecx, dword [r14 + 0x44]
test ecx, ecx
jne 0x14000ae9e
movzx ecx, byte [r14 + 0x43]
call fcn.14000cf57
mov rcx, r14
mov rdx, rax
call fcn.1400146b7
mov edx, 0x5d
mov rcx, r14
call fcn.140013f11
jmp 0x14000a9c1
call fcn.140011949
mov rdx, qword [r13 + 0x28]
jmp 0x14000aa52
mov r13d, 1
jmp 0x14000a80e
add dword [r12 + 0x3c], 1
jmp 0x14000a949
movsxd rax, dword [r13 + 0x40]
jmp 0x14000a8eb
xor edx, edx
mov rcx, r13
call fcn.140013408
mov esi, dword [r12 + 0x60]
mov r14d, eax
sub esi, 1
js 0x14000a8d2
mov rdi, qword [0x1400aef30]
jmp 0x14000ae3e
test edx, edx
je 0x14000ae8e
cmp dword [r13 + 0x44], edx
je 0x14000ae8e
sub esi, 1
js 0x14000a8d2
mov rdx, qword [r12 + 0x58]
movsxd rax, esi
mov rcx, qword [rdi]
mov r8d, r14d
lea rax, [rax + rax*2]
mov edx, dword [rdx + rax*4]
lea rbp, [rax*4]
call fcn.140037018
test eax, eax
js 0x14000ae35
mov rdx, qword [r12 + 0x58]
add rdx, rbp
movsxd rax, dword [rdx + 8]
mov edx, dword [rdx + 4]
cmp eax, 0x10
jne 0x14000ae23
mov esi, edx
jmp 0x14000ae35
test eax, eax
je 0x14000a8d2
jmp 0x14000a8e7
mov rcx, r14
call fcn.140016495
jmp 0x14000ad8e
mov edx, esi
lea rcx, str.https:__cwe.mitre.org_data_definitions__i.html
call fcn.14006408e
mov rcx, r14
mov rdi, rax
mov rdx, rax
call fcn.140014c86
mov rcx, rdi
call fcn.1400771af
jmp 0x14000ad64
xor edx, edx
mov rcx, r13
call fcn.140013408
lea rcx, [rsp + 0x20]
mov edx, eax
call fcn.1400181c3
mov esi, dword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
mov ecx, 2
call qword [fcn.140077a8f]
lea rdx, str._s:_d:_confused_by_earlier_errors__bailing_out_n
mov rcx, rax
mov r9d, esi
mov r8, rbx
call fcn.14000a1b9
mov ecx, 4
call sub.msvcrt.dll_exit
nop word cs:[rax + rax]
nop dword [rax]