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

Disassembly:
push rbx
push rdi
push r12
push r13
push r15
sub rsp, 0x90
mov rax, qword [0x1401ef010]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp dword [rdx + 0x1c], 0
mov r15, r9
mov r12d, dword [rdx + 0x60]
mov r13, r8
mov qword [rsp + 0x48], r9
mov rdi, rdx
mov rbx, rcx
jne 0x14012ef74
lea r8, [rcx + 0x2dc]
mov rcx, rdi
lea rdx, [rsp + 0x38]
call fcn.140131ca0
mov dword [rsp + 0x30], eax
jmp 0x14012ef88
mov eax, dword [rcx + 0xb70]
mov dword [rsp + 0x30], eax
mov eax, dword [rcx + 0xb6c]
mov dword [rsp + 0x38], eax
mov ecx, dword [rdi + 0x18]
mov eax, 1
mov edx, dword [rdi + 0x24]
sub edx, ecx
mov qword [rsp + 0x88], rbp
inc edx
mov qword [rsp + 0x80], rsi
mov qword [rsp + 0x78], r14
cmp edx, 0x111
jae 0x14012efbe
cmp edx, 2
jae 0x14012efc3
jmp 0x14012f1ea
mov edx, 0x111
mov r8, qword [rdi]
xor r10d, r10d
mov eax, dword [rbx + 0x2cc]
dec r8
add r8, rcx
mov r11, r8
sub r11, rax
lea esi, [r10 + 2]
movzx ebp, word [r8]
cmp bp, word [r11 - 1]
je 0x14012eff4
xor r14d, r14d
mov dword [rsp + 0x34], r14d
jmp 0x14012f01b
mov ecx, esi
cmp edx, ecx
jbe 0x14012f014
nop word [rax + rax]
mov eax, ecx
mov r9, qword [rax + r8]
sub r9, qword [rax + r11 - 1]
jne 0x14012f03a
add ecx, 8
cmp ecx, edx
jb 0x14012f000
mov r14d, edx
mov dword [rsp + 0x34], edx
mov eax, dword [rbx + 0x2d0]
mov r11, r8
sub r11, rax
mov dword [rsp + 0x50], r14d
cmp bp, word [r11 - 1]
je 0x14012f053
mov dword [rsp + 0x54], r10d
jmp 0x14012f086
bsf rax, r9
mov r14d, edx
shr eax, 3
add ecx, eax
cmp ecx, edx
cmovb r14d, ecx
mov dword [rsp + 0x34], r14d
jmp 0x14012f01b
mov ecx, esi
cmp edx, ecx
jbe 0x14012f074
nop dword [rax]
mov eax, ecx
mov r9, qword [rax + r8]
sub r9, qword [rax + r11 - 1]
jne 0x14012f0a3
add ecx, 8
cmp ecx, edx
jb 0x14012f060
mov eax, edx
cmp eax, r14d
mov dword [rsp + 0x54], eax
mov eax, 1
cmova r10d, eax
mov eax, dword [rbx + 0x2d4]
mov r11, r8
sub r11, rax
cmp bp, word [r11 - 1]
je 0x14012f0b5
mov dword [rsp + 0x58], 0
jmp 0x14012f0e5
bsf rax, r9
shr eax, 3
add ecx, eax
mov eax, edx
cmp ecx, edx
cmovb eax, ecx
jmp 0x14012f076
mov ecx, esi
cmp edx, ecx
jbe 0x14012f0d4
nop dword [rax + rax]
mov eax, ecx
mov r9, qword [rax + r8]
sub r9, qword [rax + r11 - 1]
jne 0x14012f108
add ecx, 8
cmp ecx, edx
jb 0x14012f0c0
mov r9d, edx
mov dword [rsp + 0x58], r9d
cmp r9d, dword [rsp + r10*4 + 0x50]
cmova r10d, esi
mov eax, dword [rbx + 0x2d8]
mov r11, r8
sub r11, rax
mov r14d, 3
cmp bp, word [r11 - 1]
je 0x14012f11c
mov dword [rsp + 0x5c], 0
jmp 0x14012f153
bsf rax, r9
mov r9d, edx
shr eax, 3
add ecx, eax
cmp ecx, edx
cmovb r9d, ecx
jmp 0x14012f0d7
mov ecx, esi
cmp edx, ecx
jbe 0x14012f146
mov eax, ecx
mov r9, qword [rax + r8]
sub r9, qword [rax + r11 - 1]
jne 0x14012f138
add ecx, 8
cmp ecx, edx
jb 0x14012f122
jmp 0x14012f146
bsf rax, r9
shr eax, 3
add ecx, eax
cmp ecx, edx
cmovb edx, ecx
mov dword [rsp + 0x5c], edx
cmp edx, dword [rsp + r10*4 + 0x50]
cmova r10d, r14d
mov r14d, dword [rsp + r10*4 + 0x50]
cmp r14d, r12d
jb 0x14012f181
mov dword [r15], r14d
mov dword [r13], r10d
sub r14d, 1
je 0x14012f1b3
mov edx, r14d
mov rcx, rdi
call qword [rdi + gethostname]
add dword [rdi + 0x1c], r14d
mov eax, 0xffffffff
jmp 0x14012f664
mov edx, dword [rsp + 0x30]
cmp edx, r12d
jb 0x14012f1bd
mov eax, dword [rsp + 0x38]
dec eax
mov dword [r15], edx
mov eax, dword [rbx + rax*8 + 0x2e0]
lea ebx, [rdx - 1]
add eax, 4
mov dword [r13], eax
test ebx, ebx
je 0x14012f1b3
mov edx, ebx
mov rcx, rdi
call qword [rdi + gethostname]
add dword [rdi + 0x1c], ebx
mov eax, 0xffffffff
jmp 0x14012f664
mov ecx, dword [rbx + 0x2cc]
mov rax, r8
movzx r15d, byte [r8]
sub rax, rcx
movzx r12d, byte [rax - 1]
cmp edx, esi
jae 0x14012f1ff
cmp r15b, r12b
je 0x14012f1ff
cmp r14d, esi
jae 0x14012f1ff
mov r15, qword [rsp + 0x48]
mov eax, 1
mov dword [r15], eax
mov eax, 0xffffffff
mov dword [r13], 0xffffffff
jmp 0x14012f664
mov edx, dword [rsp + 0xe0]
mov rcx, rbx
movsxd rdi, dword [rbx + 0x2c8]
mov ebp, dword [rbx + 0xb78]
movzx r8d, byte [r8 - 1]
and ebp, edx
cmp edi, 7
mov dword [rsp + 0x28], r15d
mov dword [rbx + 0x10ecc], edi
setge r9b
mov dword [rsp + 0x20], r12d
call fcn.14012ee20
lea r10, [0x140000000]
mov rcx, rdi
shl rcx, 4
add rcx, rbp
movzx edx, word [rbx + rcx*2 + 0x6b84]
shr rdx, 4
movzx r8d, byte [rdx + r10 + 0x18a2b0]
mov rdx, rdi
add r8d, eax
shl rdx, 4
mov dword [rbx + 0x10f08], r8d
add rdx, rbp
mov dword [rbx + 0x10f10], 0xffffffff
mov byte [rbx + 0x10efc], 0
movzx eax, word [rbx + rdx*2 + 0x6b84]
xor rax, 0x7f0
shr rax, 4
movzx r9d, byte [rax + r10 + 0x18a2b0]
movzx eax, word [rbx + rdi*2 + 0x6d04]
xor rax, 0x7f0
mov dword [rsp + 0x40], r9d
shr rax, 4
movzx r11d, byte [rax + r10 + 0x18a2b0]
mov eax, 0xffffffff
add r11d, r9d
mov dword [rsp + 0x3c], r11d
cmp r12b, r15b
jne 0x14012f31d
movzx eax, word [rbx + rdi*2 + 0x6d1c]
shr rax, 4
movzx ecx, byte [rax + r10 + 0x18a2b0]
movzx eax, word [rbx + rdx*2 + 0x6d64]
shr rax, 4
movzx edx, byte [rax + r10 + 0x18a2b0]
lea eax, [r11 + rcx]
add edx, eax
mov eax, 0xffffffff
cmp edx, r8d
jae 0x14012f31d
mov dword [rbx + 0x10f08], edx
xor eax, eax
mov dword [rbx + 0x10f10], 0
mov r12d, dword [rsp + 0x30]
cmp r12d, r14d
cmovbe r12d, r14d
cmp r12d, esi
jae 0x14012f347
mov dword [r13], eax
mov rax, qword [rsp + 0x48]
mov dword [rax], 1
mov eax, 0xffffffff
jmp 0x14012f664
xor r13d, r13d
mov edx, r12d
mov dword [rbx + 0x10f0c], r13d
mov eax, dword [rbx + 0x2cc]
mov dword [rbx + 0x10ee8], eax
mov eax, dword [rbx + 0x2d0]
mov dword [rbx + 0x10eec], eax
mov eax, dword [rbx + 0x2d4]
mov dword [rbx + 0x10ef0], eax
mov eax, dword [rbx + 0x2d8]
mov dword [rbx + 0x10ef4], eax
mov eax, edx
dec edx
imul rcx, rax, 0x2c
mov dword [rcx + rbx + 0x10edc], 0x40000000
cmp edx, esi
jae 0x14012f384
mov r10d, r13d
lea rdi, [rsp + 0x50]
lea r15, [0x140000000]
nop word [rax + rax]
mov edx, dword [rdi]
cmp edx, esi
jb 0x14012f4d9
movsxd rcx, dword [rbx + 0x2c8]
lea r9, [rbx + rcx*2]
test r10d, r10d
jne 0x14012f3f6
shl rcx, 4
add rcx, rbp
movzx eax, word [rbx + rcx*2 + 0x6d64]
xor rax, 0x7f0
shr rax, 4
movzx r8d, byte [rax + r15 + 0x18a2b0]
movzx eax, word [r9 + 0x6d1c]
jmp 0x14012f423
movzx eax, word [r9 + 0x6d1c]
lea r9, [rbx + rcx*2]
xor rax, 0x7f0
shr rax, 4
movzx r8d, byte [rax + r15 + 0x18a2b0]
cmp r10d, 1
jne 0x14012f435
movzx eax, word [r9 + 0x6d34]
shr rax, 4
movzx eax, byte [rax + r15 + 0x18a2b0]
add r8d, eax
jmp 0x14012f47a
movzx ecx, word [rbx + rcx*2 + 0x6d4c]
mov eax, esi
sub eax, r10d
shr rcx, 4
shr rax, 4
and eax, 0x7f
xor rcx, rax
movzx eax, word [r9 + 0x6d34]
xor rax, 0x7f0
shr rax, 4
movzx ecx, byte [rcx + r15 + 0x18a2b0]
movzx eax, byte [rax + r15 + 0x18a2b0]
add r8d, eax
add r8d, ecx
add r11d, r8d
nop dword [rax]
imul rax, rbp, 0x110
mov r9d, edx
lea ecx, [rdx - 2]
add rcx, rax
imul r8, r9, 0x2c
mov ecx, dword [rbx + rcx*4 + 0xbe34]
add r8, rbx
add ecx, r11d
cmp ecx, dword [r8 + 0x10edc]
jae 0x14012f4ce
lea rax, [r9 + 0x628]
mov dword [r8 + 0x10edc], ecx
imul rcx, rax, 0x2c
mov dword [r8 + 0x10ee4], r10d
mov byte [r8 + 0x10ed0], r13b
mov dword [rcx + rbx], r13d
dec edx
cmp edx, esi
jae 0x14012f480
mov r11d, dword [rsp + 0x3c]
inc r10d
add rdi, 4
cmp r10d, 4
jb 0x14012f3b0
movsxd rax, dword [rbx + 0x2c8]
movzx ecx, word [rbx + rax*2 + 0x6d04]
mov eax, dword [rsp + 0x34]
shr rcx, 4
movzx edi, byte [rcx + r15 + 0x18a2b0]
add edi, dword [rsp + 0x40]
cmp eax, esi
jb 0x14012f515
lea esi, [rax + 1]
cmp esi, dword [rsp + 0x30]
ja 0x14012f661
mov edx, r13d
cmp esi, dword [rbx + 0x2dc]
jbe 0x14012f53b
nop word [rax + rax]
inc edx
cmp esi, dword [rbx + rdx*8 + 0x2dc]
ja 0x14012f530
mov r14d, dword [rsp + 0x38]
lea r15, [0x140000000]
imul rbp, rbp, 0x110
nop
mov r11d, edx
lea r8d, [rsi - 2]
mov r9d, dword [rbx + r11*8 + 0x2e0]
cmp esi, 6
jb 0x14012f56a
mov r8d, 3
mov rcx, r9
cmp r9d, 0x80
jae 0x14012f58a
mov eax, r8d
shl rax, 7
add rax, rcx
mov r10d, dword [rbx + rax*4 + 0x10678]
jmp 0x14012f5fb
mov rax, rcx
cmp r9d, 0x80000
jae 0x14012f5ad
shr rax, 6
movzx eax, byte [rax + r15 + 0x18a330]
lea r10, [rax*4 + 0x102a8]
jmp 0x14012f5e2
cmp r9d, 0x80000000
jae 0x14012f5cd
shr rax, 0x12
movzx eax, byte [rax + r15 + 0x18a330]
lea r10, [rax*4 + 0x10308]
jmp 0x14012f5e2
shr rax, 0x1e
movzx eax, byte [rax + r15 + 0x18a330]
lea r10, [rax*4 + 0x10368]
mov eax, r8d
and ecx, 0xf
shl rax, 8
add rax, r10
mov r10d, dword [rax + rbx]
add r10d, dword [rbx + rcx*4 + 0x10e80]
lea ecx, [rsi - 2]
add rcx, rbp
mov r8d, dword [rbx + rcx*4 + 0x75ec]
add r8d, r10d
mov ecx, esi
imul r10, rcx, 0x2c
add r8d, edi
add r10, rbx
cmp r8d, dword [r10 + 0x10edc]
jae 0x14012f649
lea rax, [rcx + 0x628]
mov dword [r10 + 0x10edc], r8d
imul rcx, rax, 0x2c
lea eax, [r9 + 4]
mov byte [r10 + 0x10ed0], r13b
mov dword [r10 + 0x10ee4], eax
mov dword [rcx + rbx], r13d
cmp esi, dword [rbx + r11*8 + 0x2dc]
jne 0x14012f65a
inc edx
cmp edx, r14d
je 0x14012f661
inc esi
jmp 0x14012f550
mov eax, r12d
mov r14, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140132620
add rsp, 0x90
pop r15
pop r13
pop r12
pop rdi
pop rbx
ret