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

Disassembly:
push rbx
push rsi
push r12
push r13
push r15
sub rsp, 0xa0
mov rax, qword [0x14020b948]
xor rax, rsp
mov qword [rsp + 0x70], rax
cmp dword [rdx + 0x1c], 0
mov r12, r9
mov r13d, dword [rdx + 0x60]
mov r15, r8
mov qword [rsp + 0x50], r9
mov rsi, rdx
mov qword [rsp + 0x48], r8
mov rbx, rcx
jne 0x1400a86a9
lea r8, [rcx + 0x2f4]
mov rcx, rsi
lea rdx, [rsp + 0x38]
call fcn.1400ac620
mov dword [rsp + 0x30], eax
jmp 0x1400a86bd
mov eax, dword [rcx + 0xb88]
mov dword [rsp + 0x30], eax
mov eax, dword [rcx + 0xb84]
mov dword [rsp + 0x38], eax
mov ecx, dword [rsi + 0x18]
mov eax, 1
mov edx, dword [rsi + 0x24]
sub edx, ecx
mov qword [rsp + 0x98], rbp
inc edx
mov qword [rsp + 0x90], rdi
mov qword [rsp + 0x88], r14
cmp edx, 0x111
jae 0x1400a86f7
cmp edx, 2
jb 0x1400a891e
jmp 0x1400a86fc
mov edx, 0x111
mov r14d, dword [rbx + 0x2e4]
mov edi, 2
mov r10, qword [rsi]
dec r10
mov qword [rsp + 0x58], r14
add r10, rcx
mov r9, r10
sub r9, r14
movzx ebp, word [r10]
cmp bp, word [r9 - 1]
je 0x1400a8731
xor r11d, r11d
mov dword [rsp + 0x34], r11d
jmp 0x1400a875b
mov ecx, edi
cmp edx, ecx
jbe 0x1400a8754
nop word [rax + rax]
mov eax, ecx
mov r8, qword [rax + r10]
sub r8, qword [rax + r9 - 1]
jne 0x1400a8780
add ecx, 8
cmp ecx, edx
jb 0x1400a8740
mov r11d, edx
mov dword [rsp + 0x34], edx
mov eax, dword [rbx + 0x2e8]
mov r9, r10
sub r9, rax
mov dword [rsp + 0x60], r11d
cmp bp, word [r9 - 1]
je 0x1400a8799
mov dword [rsp + 0x64], 0
xor r8d, r8d
jmp 0x1400a87c9
bsf rax, r8
mov r11d, edx
shr eax, 3
add ecx, eax
cmp ecx, edx
cmovb r11d, ecx
mov dword [rsp + 0x34], r11d
jmp 0x1400a875b
mov ecx, edi
cmp edx, ecx
jbe 0x1400a87b4
nop
mov eax, ecx
mov r8, qword [rax + r10]
sub r8, qword [rax + r9 - 1]
jne 0x1400a87e6
add ecx, 8
cmp ecx, edx
jb 0x1400a87a0
mov eax, edx
xor r8d, r8d
mov dword [rsp + 0x64], eax
cmp eax, r11d
mov eax, 1
cmova r8d, eax
mov eax, dword [rbx + 0x2ec]
mov r11, r10
sub r11, rax
cmp bp, word [r11 - 1]
je 0x1400a87f8
mov dword [rsp + 0x68], 0
jmp 0x1400a8825
bsf rax, r8
shr eax, 3
add ecx, eax
mov eax, edx
cmp ecx, edx
cmovb eax, ecx
jmp 0x1400a87b6
mov ecx, edi
cmp edx, ecx
jbe 0x1400a8814
nop
mov eax, ecx
mov r9, qword [rax + r10]
sub r9, qword [rax + r11 - 1]
jne 0x1400a8842
add ecx, 8
cmp ecx, edx
jb 0x1400a8800
mov r9d, edx
mov dword [rsp + 0x68], r9d
cmp r9d, dword [rsp + r8*4 + 0x60]
cmova r8d, edi
mov eax, dword [rbx + 0x2f0]
mov r11, r10
sub r11, rax
cmp bp, word [r11 - 1]
je 0x1400a8856
mov dword [rsp + 0x6c], 0
jmp 0x1400a8896
bsf rax, r9
mov r9d, edx
shr eax, 3
add ecx, eax
cmp ecx, edx
cmovb r9d, ecx
jmp 0x1400a8817
mov ecx, edi
cmp edx, ecx
jbe 0x1400a8884
nop dword [rax]
mov eax, ecx
mov r9, qword [rax + r10]
sub r9, qword [rax + r11 - 1]
jne 0x1400a8876
add ecx, 8
cmp ecx, edx
jb 0x1400a8860
jmp 0x1400a8884
bsf rax, r9
shr eax, 3
add ecx, eax
cmp ecx, edx
cmovb edx, ecx
mov dword [rsp + 0x6c], edx
mov eax, 3
cmp edx, dword [rsp + r8*4 + 0x60]
cmova r8d, eax
mov ebp, dword [rsp + r8*4 + 0x60]
cmp ebp, r13d
jb 0x1400a88c1
mov dword [r15], r8d
mov dword [r12], ebp
sub ebp, 1
je 0x1400a88f3
mov edx, ebp
mov rcx, rsi
call qword [rsi + gethostname]
add dword [rsi + 0x1c], ebp
mov eax, 0xffffffff
jmp 0x1400a8d38
mov edx, dword [rsp + 0x30]
cmp edx, r13d
jb 0x1400a88fd
mov eax, dword [rsp + 0x38]
dec eax
mov eax, dword [rbx + rax*8 + 0x2f8]
lea ebx, [rdx - 1]
add eax, 4
mov dword [r15], eax
mov dword [r12], edx
test ebx, ebx
je 0x1400a88f3
mov edx, ebx
mov rcx, rsi
call qword [rsi + gethostname]
add dword [rsi + 0x1c], ebx
mov eax, 0xffffffff
jmp 0x1400a8d38
movzx esi, byte [r10]
mov rax, r10
sub rax, r14
movzx r14d, byte [rax - 1]
cmp edx, edi
jae 0x1400a8933
cmp sil, r14b
je 0x1400a8933
cmp ebp, edi
jae 0x1400a8933
mov eax, 1
mov dword [r15], 0xffffffff
mov dword [r12], eax
mov eax, 0xffffffff
jmp 0x1400a8d38
movsxd r8, dword [rbx + 0x2e0]
mov rcx, rbx
mov edx, dword [rsp + 0xf0]
mov r13, r8
mov r15d, dword [rbx + 0xb90]
mov r12, r8
and r15, rdx
shl r13, 4
mov dword [rbx + 0x10ee4], r8d
add r13, r15
cmp r8d, 7
mov dword [rsp + 0x28], esi
movzx r8d, byte [r10 - 1]
setge r9b
mov dword [rsp + 0x20], r14d
call fcn.1400a8400
movzx ecx, word [rbx + r13*2 + 0x6b9c]
lea rdx, [0x1401cc140]
shr rcx, 4
movzx r8d, byte [rcx + rdx]
add r8d, eax
mov dword [rbx + 0x10f20], r8d
mov dword [rbx + 0x10f28], 0xffffffff
mov byte [rbx + 0x10f14], 0
movzx eax, word [rbx + r13*2 + 0x6b9c]
xor rax, 0x7f0
shr rax, 4
movzx ecx, byte [rax + rdx]
movzx eax, word [rbx + r12*2 + 0x6d1c]
xor rax, 0x7f0
mov dword [rsp + 0x40], ecx
shr rax, 4
movzx r11d, byte [rax + rdx]
mov eax, 0xffffffff
add r11d, ecx
mov dword [rsp + 0x3c], r11d
cmp r14b, sil
jne 0x1400a8a3d
movzx eax, word [rbx + r13*2 + 0x6d7c]
xor r14d, r14d
shr rax, 4
movzx ecx, byte [rax + rdx]
movzx eax, word [rbx + r12*2 + 0x6d34]
shr rax, 4
movzx edx, byte [rax + rdx]
lea eax, [r11 + rcx]
add edx, eax
mov eax, 0xffffffff
cmp edx, r8d
jae 0x1400a8a40
mov dword [rbx + 0x10f20], edx
mov eax, r14d
mov dword [rbx + 0x10f28], r14d
jmp 0x1400a8a40
xor r14d, r14d
mov r12d, dword [rsp + 0x30]
cmp r12d, ebp
cmovbe r12d, ebp
mov dword [rsp + 0x44], r12d
cmp r12d, edi
jae 0x1400a8a72
mov rcx, qword [rsp + 0x48]
mov dword [rcx], eax
mov rax, qword [rsp + 0x50]
mov dword [rax], 1
mov eax, 0xffffffff
jmp 0x1400a8d38
mov rax, qword [rsp + 0x58]
mov edx, r12d
mov dword [rbx + 0x10f24], r14d
mov dword [rbx + 0x10f00], eax
mov eax, dword [rbx + 0x2e8]
mov dword [rbx + 0x10f04], eax
mov eax, dword [rbx + 0x2ec]
mov dword [rbx + 0x10f08], eax
mov eax, dword [rbx + 0x2f0]
mov dword [rbx + 0x10f0c], eax
nop dword [rax + rax]
mov eax, edx
dec edx
imul rcx, rax, 0x2c
mov dword [rcx + rbx + 0x10ef4], 0x40000000
cmp edx, edi
jae 0x1400a8ab0
mov r9d, r14d
lea rsi, [rsp + 0x60]
lea r13, [0x1401cc140]
mov edx, dword [rsi]
cmp edx, edi
jb 0x1400a8bfc
movsxd rcx, dword [rbx + 0x2e0]
lea r10, [rbx + rcx*2]
test r9d, r9d
jne 0x1400a8b24
shl rcx, 4
add rcx, r15
movzx eax, word [rbx + rcx*2 + 0x6d7c]
xor rax, 0x7f0
shr rax, 4
movzx r8d, byte [rax + r13]
movzx eax, word [r10 + 0x6d34]
shr rax, 4
movzx eax, byte [rax + r13]
add r8d, eax
jmp 0x1400a8b98
movzx eax, word [r10 + 0x6d34]
lea r10, [rbx + rcx*2]
xor rax, 0x7f0
shr rax, 4
movzx r8d, byte [rax + r13]
cmp r9d, 1
jne 0x1400a8b5b
movzx eax, word [r10 + 0x6d4c]
shr rax, 4
movzx eax, byte [rax + r13]
add r8d, eax
jmp 0x1400a8b98
movzx ecx, word [rbx + rcx*2 + 0x6d64]
mov eax, edi
sub eax, r9d
shr rcx, 4
shr rax, 4
and eax, 0x7f
xor rcx, rax
movzx eax, word [r10 + 0x6d4c]
xor rax, 0x7f0
shr rax, 4
movzx ecx, byte [rcx + r13]
movzx eax, byte [rax + r13]
add r8d, eax
add r8d, ecx
lea r10d, [r8 + r11]
imul r11, r15, 0x110
nop dword [rax]
nop word [rax + rax]
lea ecx, [rdx - 2]
mov eax, edx
add rcx, r11
mov r8d, dword [rbx + rcx*4 + 0xbe4c]
imul rcx, rax, 0x2c
add r8d, r10d
cmp r8d, dword [rcx + rbx + 0x10ef4]
jae 0x1400a8bf1
mov dword [rcx + rbx + 0x10ef4], r8d
mov dword [rcx + rbx + 0x10ef8], r14d
mov dword [rcx + rbx + 0x10efc], r9d
mov byte [rcx + rbx + 0x10ee8], 0
dec edx
cmp edx, edi
jae 0x1400a8bb0
mov r11d, dword [rsp + 0x3c]
inc r9d
add rsi, 4
cmp r9d, 4
jb 0x1400a8ad6
movsxd rax, dword [rbx + 0x2e0]
movzx ecx, word [rbx + rax*2 + 0x6d1c]
mov eax, dword [rsp + 0x34]
shr rcx, 4
movzx r14d, byte [rcx + r13]
add r14d, dword [rsp + 0x40]
cmp eax, edi
jb 0x1400a8c35
lea edi, [rax + 1]
cmp edi, dword [rsp + 0x30]
ja 0x1400a8d35
xor r9d, r9d
cmp edi, dword [rbx + 0x2f4]
jbe 0x1400a8c5d
nop word [rax + rax]
inc r9d
cmp edi, dword [rbx + r9*8 + 0x2f4]
ja 0x1400a8c50
mov r13d, dword [rsp + 0x38]
mov r12d, 3
imul r15, r15, 0x110
nop
mov r10d, dword [rbx + r9*8 + 0x2f8]
lea eax, [rdi - 2]
cmp edi, 6
jb 0x1400a8c83
mov eax, r12d
mov r8d, eax
lea ebp, [rdi - 2]
mov r11, r10
cmp r10d, 0x80
jae 0x1400a8ca6
shl r8, 7
add r8, r10
mov ecx, dword [rbx + r8*4 + 0x10690]
jmp 0x1400a8cd2
bsr edx, r10d
shl r8, 6
mov eax, r10d
and r11d, 0xf
lea ecx, [rdx - 1]
shr eax, cl
and eax, 1
lea ecx, [rax + rdx*2]
add rcx, r8
mov ecx, dword [rbx + rcx*4 + 0x10290]
add ecx, dword [rbx + r11*4 + 0x10e98]
mov eax, ebp
add rax, r15
mov edx, dword [rbx + rax*4 + 0x7604]
add edx, ecx
mov eax, edi
imul rcx, rax, 0x2c
add edx, r14d
cmp edx, dword [rcx + rbx + 0x10ef4]
jae 0x1400a8d17
lea eax, [r10 + 4]
mov dword [rcx + rbx + 0x10ef4], edx
mov dword [rcx + rbx + 0x10efc], eax
mov dword [rcx + rbx + 0x10ef8], 0
mov byte [rcx + rbx + 0x10ee8], 0
cmp edi, dword [rbx + r9*8 + 0x2f4]
jne 0x1400a8d29
inc r9d
cmp r9d, r13d
je 0x1400a8d30
inc edi
jmp 0x1400a8c70
mov r12d, dword [rsp + 0x44]
mov eax, r12d
mov r14, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x90]
mov rbp, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1401276a0
add rsp, 0xa0
pop r15
pop r13
pop r12
pop rsi
pop rbx
ret