Function at 0x140042be0
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov r12, qword [rsp + 0xa0]
xor ebp, ebp
mov r13d, edx
mov r14, r9
mov r15, r8
mov rsi, rcx
test r12, r12
je 0x140042c11
mov dword [r12], ebp
test r15, r15
je 0x140042f6c
test r14, r14
je 0x140042f6c
mov dword [r9], r13d
lea rdx, [r13*4]
mov rax, qword [rcx + 0x68]
mov qword [rsp + 0xa0], rdx
mov qword [rsp + 0x80], rbx
mov qword [rsp + 0x88], rdi
mov rcx, qword [rax + 0x20]
mov qword [rsp + 0x38], rbp
mov dword [rsp + 0x40], 0xffffffff
mov eax, dword [rcx + rdx]
mov qword [r9 + 8], rax
movzx eax, word [r8 + 4]
mov word [r9 + 0x10], ax
movzx eax, word [r8 + 6]
mov word [r9 + 0x12], ax
movzx eax, word [r8 + 8]
mov word [r9 + 0x14], ax
movzx eax, word [r8 + 0xa]
mov word [r9 + 0x16], ax
movzx ecx, word [r8 + 0xe]
movzx edx, word [r8 + 0xc]
mov eax, ecx
shr eax, 9
add eax, 0x50
mov dword [rsp + 0x34], eax
mov eax, ecx
shr eax, 5
and ecx, 0x1f
and eax, 0xf
mov dword [rsp + 0x2c], ecx
dec eax
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x30], eax
mov eax, edx
shr eax, 0xb
mov dword [rsp + 0x28], eax
mov eax, edx
shr eax, 5
and edx, 0x1f
and eax, 0x3f
add edx, edx
mov dword [rsp + 0x24], eax
mov dword [rsp + 0x20], edx
call fcn.14012a2e0
mov qword [r14 + 0x18], rax
lea rdx, [r15 + 0x2e]
mov eax, dword [r15 + 0x10]
lea rcx, [r14 + 0x58]
mov dword [r14 + 0x20], eax
mov edi, 0x1ff
mov eax, dword [r15 + 0x14]
mov ebx, edi
mov qword [r14 + 0x28], rax
mov eax, dword [r15 + 0x18]
mov qword [r14 + 0x30], rax
movzx eax, word [r15 + 0x24]
mov word [r14 + 0x38], ax
mov eax, dword [r15 + 0x26]
mov dword [r14 + 0x3c], eax
mov eax, dword [r15 + 0x2a]
mov qword [r14 + 0x40], rax
movzx eax, word [r15 + 0x1c]
cmp eax, edi
cmovb ebx, eax
mov r8d, ebx
call fcn.140118b40
mov byte [rbx + r14 + 0x58], bpl
movzx eax, word [r15 + 0x20]
cmp eax, edi
cmovb edi, eax
mov dword [r14 + 0x48], edi
movzx edx, word [r15 + 0x1c]
movzx ecx, word [r15 + 0x1e]
add rdx, r15
add rcx, 0x2e
mov r8d, edi
add rdx, rcx
lea rcx, [r14 + 0x258]
call fcn.140118b40
mov byte [rdi + r14 + 0x258], bpl
mov rdx, qword [rsi + 0x68]
mov rdi, qword [rsp + 0x88]
mov rbx, qword [rsp + 0x80]
mov r8, qword [rsp + 0xa0]
test rdx, rdx
je 0x140042dc9
cmp r13d, dword [rsi + 0x10]
jae 0x140042dc9
mov rax, qword [rdx + 0x20]
mov ecx, dword [rax + r8]
add rcx, qword [rdx]
je 0x140042dc9
movzx eax, word [rcx + 0x1c]
test ax, ax
je 0x140042dbd
cmp byte [rax + rcx + 0x2d], 0x2f
jne 0x140042dbd
mov eax, 1
jmp 0x140042dd2
movzx eax, byte [rcx + 0x26]
shr eax, 4
and eax, 1
jmp 0x140042dd2
mov dword [rsi + 0x1c], 0x18
mov eax, ebp
mov dword [r14 + 0x4c], eax
mov rcx, qword [rsi + 0x68]
test rcx, rcx
je 0x140042dfd
cmp r13d, dword [rsi + 0x10]
jae 0x140042dfd
mov rax, qword [rcx + 0x20]
mov edx, dword [rax + r8]
add rdx, qword [rcx]
je 0x140042dfd
test byte [rdx + 8], 0x41
mov eax, ebp
setne al
jmp 0x140042e06
mov dword [rsi + 0x1c], 0x18
mov eax, ebp
mov dword [r14 + 0x50], eax
mov rdx, qword [rsi + 0x68]
test rdx, rdx
je 0x140042e5f
cmp r13d, dword [rsi + 0x10]
jae 0x140042e5f
mov rax, qword [rdx + 0x20]
mov ecx, dword [rax + r8]
add rcx, qword [rdx]
je 0x140042e5f
movzx eax, word [rcx + 8]
mov edx, 0xfff7
test word [rcx + 0xa], dx
je 0x140042e3e
mov dword [rsi + 0x1c], 4
jmp 0x140042e66
test al, 0x41
je 0x140042e4b
mov dword [rsi + 0x1c], 5
jmp 0x140042e66
test al, 0x20
je 0x140042e58
mov dword [rsi + 0x1c], 6
jmp 0x140042e66
mov ebp, 1
jmp 0x140042e66
mov dword [rsi + 0x1c], 0x18
mov rcx, qword [r14 + 0x28]
mov r11d, 0xffffffff
cmp rcx, qword [r14 + 0x30]
mov rax, qword [r14 + 0x40]
cmovbe rcx, qword [r14 + 0x30]
cmp rcx, rax
mov dword [r14 + 0x54], ebp
cmova rax, rcx
cmp rax, r11
jne 0x140042edc
movzx r8d, word [r15 + 0x1e]
test r8d, r8d
je 0x140042edc
movzx eax, word [r15 + 0x1c]
lea r9, [r15 + 0x2e]
add r9, rax
cmp r8d, 4
jb 0x140042f63
movzx eax, word [r9 + 2]
mov ecx, r8d
lea rdx, [rax + 4]
cmp rdx, rcx
ja 0x140042f63
cmp word [r9], 1
je 0x140042ee6
add r9, 4
mov ecx, 0xfffffffc
add r9, rax
sub ecx, eax
add r8d, ecx
jne 0x140042ea3
mov eax, 1
jmp 0x140042f7a
add r9, 4
test r12, r12
je 0x140042ef7
mov dword [r12], 1
cmp qword [r14 + 0x30], r11
jne 0x140042f1b
cmp eax, 8
jb 0x140042f63
mov edx, dword [r9 + 4]
mov ecx, dword [r9]
add r9, 8
shl rdx, 0x20
or rdx, rcx
mov qword [r14 + 0x30], rdx
add eax, 0xfffffff8
cmp qword [r14 + 0x28], r11
jne 0x140042f3f
cmp eax, 8
jb 0x140042f63
mov edx, dword [r9 + 4]
mov ecx, dword [r9]
add r9, 8
shl rdx, 0x20
or rdx, rcx
mov qword [r14 + 0x28], rdx
add eax, 0xfffffff8
cmp qword [r14 + 0x40], r11
jne 0x140042edc
cmp eax, 8
jb 0x140042f63
mov eax, dword [r9]
mov ecx, dword [r9 + 4]
shl rcx, 0x20
or rcx, rax
mov eax, 1
mov qword [r14 + 0x40], rcx
jmp 0x140042f7a
mov dword [rsi + 0x1c], 9
jmp 0x140042f78
test rsi, rsi
je 0x140042f78
mov dword [rcx + 0x1c], 0x18
xor eax, eax
mov rbp, qword [rsp + 0x90]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rsi
ret