Function at 0x140001000
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov eax, dword [0x14001830c]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
sete al
cmp dword [0x140018308], 0xa
setl cl
or cl, al
mov byte [rbp - 0x10], cl
cmp cl, 1
jne 0x140001163
mov eax, 0x10
call fcn.140001640
sub rsp, rax
mov rdx, rsp
mov eax, 0x10
call fcn.140001640
sub rsp, rax
mov rsi, rsp
mov eax, 0x10
call fcn.140001640
sub rsp, rax
mov r10, rsp
mov eax, 0x10
call fcn.140001640
sub rsp, rax
mov r15, rsp
mov eax, 0x10
call fcn.140001640
sub rsp, rax
mov r8, rsp
mov eax, 0x10
call fcn.140001640
sub rsp, rax
mov r11, rsp
mov eax, 0x10
call fcn.140001640
sub rsp, rax
mov r13, rsp
mov eax, 0x10
call fcn.140001640
sub rsp, rax
mov rcx, rsp
mov eax, 0x10
call fcn.140001640
sub rsp, rax
mov rbx, rsp
mov eax, 0x10
call fcn.140001640
sub rsp, rax
mov rdi, rsp
mov eax, 0x10
call fcn.140001640
sub rsp, rax
mov r14, rsp
mov eax, 0x10
call fcn.140001640
sub rsp, rax
mov r9, rsp
mov eax, 0x10
call fcn.140001640
sub rsp, rax
mov rax, rcx
mov r12, rsp
mov dword [r10], 0x47f705d6
mov dword [r15], 0x7b0d28db
mov dword [r8], 0xabf90e08
mov dword [r11], 0x3bfabc2c
mov dword [r13], 0xd6588ad2
mov dword [rcx], 0x44f1732a
mov dword [rbx], 0x47f71acb
mov dword [rdi], 0x2dbdfcdd
mov dword [r14], 0
lea rcx, [section..text]
mov qword [rdx], rcx
cmp byte [rbp - 0x10], 0
jne 0x14000124b
mov eax, 0x10
call fcn.140001640
sub rsp, rax
mov r8, rsp
mov eax, 0x10
call fcn.140001640
sub rsp, rax
mov r9, rsp
mov eax, 0x10
call fcn.140001640
sub rsp, rax
mov r10, rsp
mov eax, 0x10
call fcn.140001640
sub rsp, rax
mov r11, rsp
mov eax, 0x10
call fcn.140001640
sub rsp, rax
mov rsi, rsp
mov eax, 0x10
call fcn.140001640
sub rsp, rax
mov rcx, rsp
mov eax, 0x10
call fcn.140001640
sub rsp, rax
mov rdx, rsp
mov eax, 0x10
call fcn.140001640
sub rsp, rax
mov rbx, rsp
mov eax, 0x10
call fcn.140001640
sub rsp, rax
mov rdi, rsp
mov eax, 0x10
call fcn.140001640
sub rsp, rax
mov rax, rsp
mov dword [r9], 0x47f705d6
mov dword [r10], 0x7b0d28db
mov dword [r11], 0xabf90e08
mov dword [rsi], 0x3bfabc2c
mov dword [rcx], 0xd6588ad2
mov dword [rdx], 0x44f1732a
mov dword [rbx], 0x47f71acb
mov dword [rdi], 0x2dbdfcdd
mov dword [rax], 0
lea rax, [section..text]
mov qword [r8], rax
jmp 0x14000103f
mov r15, rdi
mov qword [rbp - 8], r14
mov r14d, 0x47f74086
xor dword [rbx], 0x47f74086
mov rcx, qword [rdx]
movzx ecx, word [rcx]
mov edi, dword [rbx]
cmp edi, ecx
jne 0x1400012a4
mov rcx, qword [rdx]
movsxd rcx, dword [rcx + 0x3c]
mov qword [rsi], rcx
mov rcx, qword [rsi]
cmp rcx, 0x40
jb 0x1400012a4
mov rcx, qword [rsi]
cmp rcx, 0x3ff
ja 0x1400012a4
mov rcx, qword [rdx]
add qword [rsi], rcx
mov rcx, qword [rsi]
mov ecx, dword [rcx]
mov dword [r9], ecx
mov ecx, dword [r9]
mov edi, dword [r10]
xor edi, r14d
cmp ecx, edi
je 0x1400012a9
dec qword [rdx]
jmp 0x140001258
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x28], r13
mov qword [rbp - 0x10], r11
mov rcx, qword gs:[0x60]
mov rcx, qword [rcx + 0x18]
mov rax, qword [rcx + 0x20]
test rax, rax
je 0x1400014ad
mov ecx, dword [0x140018304]
lea edx, [rcx - 1]
imul edx, ecx
test dl, 1
sete cl
cmp dword [0x140018300], 0xa
setl dl
or dl, cl
mov byte [rbp + 7], dl
mov r13d, 0x47f74086
movzx ebx, word [rax + 0x48]
mov qword [rbp - 0x18], rax
mov rsi, qword [rax + 0x50]
xor edx, edx
mov cl, byte [r12]
rol edx, 0x13
mov cl, byte [r12]
mov cl, byte [rsi]
mov al, byte [r12]
mov byte [r12], cl
mov al, byte [r12]
movzx eax, byte [r12]
lea rdi, [rax + rdx]
cmp cl, 0x60
lea rdx, [rax + rdx - 0x20]
cmovbe rdx, rdi
mov al, byte [r12]
inc rsi
dec bx
jne 0x140001304
mov eax, dword [r15]
xor eax, r13d
cmp eax, edx
jne 0x140001492
cmp byte [rbp + 7], 0
je 0x1400014be
mov rax, qword [rbp - 0x18]
mov r11, qword [rax + 0x20]
movsxd rax, dword [r11 + 0x3c]
mov eax, dword [r11 + rax + 0x88]
mov edx, dword [rax + r11 + 0x20]
mov esi, dword [rax + r11 + 0x24]
add rdx, r11
add rsi, r11
mov r14w, 4
mov ecx, dword [rdx]
add rcx, r11
inc rcx
mov bl, byte [rcx - 1]
xor r10d, r10d
mov edi, r10d
rol edi, 0x13
movsx r10d, bl
add r10d, edi
mov bl, byte [rcx]
inc rcx
test bl, bl
jne 0x14000138d
mov ecx, dword [r8]
xor ecx, r13d
cmp r10d, ecx
je 0x1400013dc
mov rcx, qword [rbp - 0x10]
mov ecx, dword [rcx]
xor ecx, r13d
cmp r10d, ecx
je 0x1400013dc
mov rcx, qword [rbp - 0x28]
mov ecx, dword [rcx]
xor ecx, r13d
cmp r10d, ecx
je 0x1400013dc
mov rcx, qword [rbp - 0x20]
mov ecx, dword [rcx]
xor ecx, r13d
cmp r10d, ecx
jne 0x140001480
mov rdi, r15
mov r9d, dword [rax + r11 + 0x1c]
add r9, r11
movzx r15d, word [rsi]
mov ecx, dword [r8]
xor ecx, r13d
cmp r10d, ecx
jne 0x14000140d
mov ecx, dword [r9 + r15*4]
add rcx, r11
mov qword [0x140017140], rcx
mov rcx, qword [rbp - 8]
or dword [rcx], 1
jmp 0x14000147a
mov rcx, qword [rbp - 0x10]
mov ecx, dword [rcx]
xor ecx, r13d
cmp r10d, ecx
jne 0x140001432
mov ecx, dword [r9 + r15*4]
add rcx, r11
mov qword [0x140017148], rcx
mov rcx, qword [rbp - 8]
or dword [rcx], 2
jmp 0x14000147a
mov rcx, qword [rbp - 0x28]
mov ecx, dword [rcx]
xor ecx, r13d
cmp r10d, ecx
jne 0x140001457
mov ecx, dword [r9 + r15*4]
add rcx, r11
mov qword [0x140017150], rcx
mov rcx, qword [rbp - 8]
or dword [rcx], 4
jmp 0x14000147a
mov rcx, qword [rbp - 0x20]
mov ecx, dword [rcx]
xor ecx, r13d
cmp r10d, ecx
jne 0x14000147a
mov ecx, dword [r9 + r15*4]
add rcx, r11
mov qword [0x140017158], rcx
mov rcx, qword [rbp - 8]
or dword [rcx], 8
dec r14d
mov r15, rdi
add rsi, 2
add rdx, 4
test r14w, r14w
jne 0x14000137f
mov rax, qword [rbp - 8]
mov eax, dword [rax]
cmp eax, 0xf
mov rax, qword [rbp - 0x18]
je 0x1400014ad
mov rax, qword [rax]
test rax, rax
jne 0x1400012f6
lea rsp, [rbp + 8]
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
jmp 0x1400014be