Function at 0x14012dbe0
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 0x14012dc34
lea r8, [rcx + 0x2dc]
mov rcx, rdi
lea rdx, [rsp + 0x38]
call fcn.140130960
mov dword [rsp + 0x30], eax
jmp 0x14012dc48
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 0x14012dc7e
cmp edx, 2
jae 0x14012dc83
jmp 0x14012deaa
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 0x14012dcb4
xor r14d, r14d
mov dword [rsp + 0x34], r14d
jmp 0x14012dcdb
mov ecx, esi
cmp edx, ecx
jbe 0x14012dcd4
nop word [rax + rax]
mov eax, ecx
mov r9, qword [rax + r8]
sub r9, qword [rax + r11 - 1]
jne 0x14012dcfa
add ecx, 8
cmp ecx, edx
jb 0x14012dcc0
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 0x14012dd13
mov dword [rsp + 0x54], r10d
jmp 0x14012dd46
bsf rax, r9
mov r14d, edx
shr eax, 3
add ecx, eax
cmp ecx, edx
cmovb r14d, ecx
mov dword [rsp + 0x34], r14d
jmp 0x14012dcdb
mov ecx, esi
cmp edx, ecx
jbe 0x14012dd34
nop dword [rax]
mov eax, ecx
mov r9, qword [rax + r8]
sub r9, qword [rax + r11 - 1]
jne 0x14012dd63
add ecx, 8
cmp ecx, edx
jb 0x14012dd20
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 0x14012dd75
mov dword [rsp + 0x58], 0
jmp 0x14012dda5
bsf rax, r9
shr eax, 3
add ecx, eax
mov eax, edx
cmp ecx, edx
cmovb eax, ecx
jmp 0x14012dd36
mov ecx, esi
cmp edx, ecx
jbe 0x14012dd94
nop dword [rax + rax]
mov eax, ecx
mov r9, qword [rax + r8]
sub r9, qword [rax + r11 - 1]
jne 0x14012ddc8
add ecx, 8
cmp ecx, edx
jb 0x14012dd80
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 0x14012dddc
mov dword [rsp + 0x5c], 0
jmp 0x14012de13
bsf rax, r9
mov r9d, edx
shr eax, 3
add ecx, eax
cmp ecx, edx
cmovb r9d, ecx
jmp 0x14012dd97
mov ecx, esi
cmp edx, ecx
jbe 0x14012de06
mov eax, ecx
mov r9, qword [rax + r8]
sub r9, qword [rax + r11 - 1]
jne 0x14012ddf8
add ecx, 8
cmp ecx, edx
jb 0x14012dde2
jmp 0x14012de06
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 0x14012de41
mov dword [r15], r14d
mov dword [r13], r10d
sub r14d, 1
je 0x14012de73
mov edx, r14d
mov rcx, rdi
call qword [rdi + gethostname]
add dword [rdi + 0x1c], r14d
mov eax, 0xffffffff
jmp 0x14012e324
mov edx, dword [rsp + 0x30]
cmp edx, r12d
jb 0x14012de7d
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 0x14012de73
mov edx, ebx
mov rcx, rdi
call qword [rdi + gethostname]
add dword [rdi + 0x1c], ebx
mov eax, 0xffffffff
jmp 0x14012e324
mov ecx, dword [rbx + 0x2cc]
mov rax, r8
movzx r15d, byte [r8]
sub rax, rcx
movzx r12d, byte [rax - 1]
cmp edx, esi
jae 0x14012debf
cmp r15b, r12b
je 0x14012debf
cmp r14d, esi
jae 0x14012debf
mov r15, qword [rsp + 0x48]
mov eax, 1
mov dword [r15], eax
mov eax, 0xffffffff
mov dword [r13], 0xffffffff
jmp 0x14012e324
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.14012dae0
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 + 0x18a290]
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 + 0x18a290]
movzx eax, word [rbx + rdi*2 + 0x6d04]
xor rax, 0x7f0
mov dword [rsp + 0x40], r9d
shr rax, 4
movzx r11d, byte [rax + r10 + 0x18a290]
mov eax, 0xffffffff
add r11d, r9d
mov dword [rsp + 0x3c], r11d
cmp r12b, r15b
jne 0x14012dfdd
movzx eax, word [rbx + rdi*2 + 0x6d1c]
shr rax, 4
movzx ecx, byte [rax + r10 + 0x18a290]
movzx eax, word [rbx + rdx*2 + 0x6d64]
shr rax, 4
movzx edx, byte [rax + r10 + 0x18a290]
lea eax, [r11 + rcx]
add edx, eax
mov eax, 0xffffffff
cmp edx, r8d
jae 0x14012dfdd
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 0x14012e007
mov dword [r13], eax
mov rax, qword [rsp + 0x48]
mov dword [rax], 1
mov eax, 0xffffffff
jmp 0x14012e324
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 0x14012e044
mov r10d, r13d
lea rdi, [rsp + 0x50]
lea r15, [0x140000000]
nop word [rax + rax]
mov edx, dword [rdi]
cmp edx, esi
jb 0x14012e199
movsxd rcx, dword [rbx + 0x2c8]
lea r9, [rbx + rcx*2]
test r10d, r10d
jne 0x14012e0b6
shl rcx, 4
add rcx, rbp
movzx eax, word [rbx + rcx*2 + 0x6d64]
xor rax, 0x7f0
shr rax, 4
movzx r8d, byte [rax + r15 + 0x18a290]
movzx eax, word [r9 + 0x6d1c]
jmp 0x14012e0e3
movzx eax, word [r9 + 0x6d1c]
lea r9, [rbx + rcx*2]
xor rax, 0x7f0
shr rax, 4
movzx r8d, byte [rax + r15 + 0x18a290]
cmp r10d, 1
jne 0x14012e0f5
movzx eax, word [r9 + 0x6d34]
shr rax, 4
movzx eax, byte [rax + r15 + 0x18a290]
add r8d, eax
jmp 0x14012e13a
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 + 0x18a290]
movzx eax, byte [rax + r15 + 0x18a290]
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 0x14012e18e
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 0x14012e140
mov r11d, dword [rsp + 0x3c]
inc r10d
add rdi, 4
cmp r10d, 4
jb 0x14012e070
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 + 0x18a290]
add edi, dword [rsp + 0x40]
cmp eax, esi
jb 0x14012e1d5
lea esi, [rax + 1]
cmp esi, dword [rsp + 0x30]
ja 0x14012e321
mov edx, r13d
cmp esi, dword [rbx + 0x2dc]
jbe 0x14012e1fb
nop word [rax + rax]
inc edx
cmp esi, dword [rbx + rdx*8 + 0x2dc]
ja 0x14012e1f0
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 0x14012e22a
mov r8d, 3
mov rcx, r9
cmp r9d, 0x80
jae 0x14012e24a
mov eax, r8d
shl rax, 7
add rax, rcx
mov r10d, dword [rbx + rax*4 + 0x10678]
jmp 0x14012e2bb
mov rax, rcx
cmp r9d, 0x80000
jae 0x14012e26d
shr rax, 6
movzx eax, byte [rax + r15 + 0x18a310]
lea r10, [rax*4 + 0x102a8]
jmp 0x14012e2a2
cmp r9d, 0x80000000
jae 0x14012e28d
shr rax, 0x12
movzx eax, byte [rax + r15 + 0x18a310]
lea r10, [rax*4 + 0x10308]
jmp 0x14012e2a2
shr rax, 0x1e
movzx eax, byte [rax + r15 + 0x18a310]
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 0x14012e309
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 0x14012e31a
inc edx
cmp edx, r14d
je 0x14012e321
inc esi
jmp 0x14012e210
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.1401312e0
add rsp, 0x90
pop r15
pop r13
pop r12
pop rdi
pop rbx
ret