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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x1405edab8]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov r15, rcx
xor r14d, r14d
mov dword [rbp - 0x38], r14d
mov rax, qword [rcx + 0x10]
movsxd r13, dword [rax + 0x3c]
add r13, rax
lea rbx, [r13 + 0x90]
lea rcx, [r13 + 0x88]
lea r9, [rbp - 0x38]
mov edx, 0x80
lea r8d, [r14 + 4]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1400049d9
xor eax, eax
mov qword [r13 + 0xe8], rax
mov eax, dword [rbx]
test eax, eax
je 0x14000488c
mov edx, dword [rbx + 4]
mov ecx, eax
add rcx, qword [r15 + 0x10]
lea r9, [rbp - 0x38]
lea r8d, [r14 + 4]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1400049d9
mov r8d, dword [rbx + 4]
mov ecx, dword [rbx]
add rcx, qword [r15 + 0x10]
xor edx, edx
call fcn.1401dfa86
mov edx, dword [rbx + 4]
mov ecx, dword [rbx]
add rcx, qword [r15 + 0x10]
lea r9, [rbp - 0x38]
lea r8d, [r14 + 2]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x140004abe
xor eax, eax
mov qword [rbx], rax
lea r9, [rbp - 0x38]
mov edx, 0x80
lea r8d, [rax + 2]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x140004ad8
mov rbx, qword [r15 + 0x30]
mov r12, qword [r15 + 0x38]
cmp rbx, r12
je 0x140004a0f
mov rdx, qword [rbx]
lea rcx, [rbp - 0x30]
call fcn.14000f2b0
nop
lea rcx, [rbp - 0x30]
mov rdi, qword [rbp - 0x30]
mov rsi, qword [rbp - 0x18]
cmp rsi, 0x10
cmovae rcx, rdi
mov qword [rsp + 0x20], 6
lea r9, str..reloc
xor r8d, r8d
mov rdx, qword [rbp - 0x20]
call fcn.1400103a0
cmp rax, 0xffffffffffffffff
je 0x140004966
mov rax, qword [rbx]
mov edx, dword [rax + 0x10]
mov ecx, dword [rax + 0xc]
add rcx, qword [r15 + 0x10]
lea r9, [rbp - 0x38]
mov r8d, 4
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1400049a2
mov rax, qword [rbx]
mov r8d, dword [rax + 0x10]
mov ecx, dword [rax + 0xc]
add rcx, qword [r15 + 0x10]
xor edx, edx
call fcn.1401dfa86
mov rax, qword [rbx]
mov edx, dword [rax + 0x10]
mov ecx, dword [rax + 0xc]
add rcx, qword [r15 + 0x10]
lea r9, [rbp - 0x38]
mov r8d, 2
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x140004a8a
mov rsi, qword [rbp - 0x18]
mov rdi, qword [rbp - 0x30]
cmp rsi, 0x10
jb 0x140004999
lea rdx, [rsi + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140004991
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004a08
mov rcx, rdi
call fcn.1401def08
add rbx, 8
jmp 0x1400048b7
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x1400049d9
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400049d4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004a08
call fcn.1401def08
xor al, al
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1401de9d0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
movzx ebx, word [r13 + 0x14]
add rbx, 0x18
add rbx, r13
cmp r14w, word [r13 + 6]
jae 0x140004a83
nop dword [rax]
nop word [rax + rax]
lea r9, [rbp - 0x38]
mov edx, 0x28
lea r8d, [rdx - 0x24]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1400049d9
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm0
mov qword [rbx + 0x20], rax
lea r9, [rbp - 0x38]
lea edx, [rax + 0x28]
lea r8d, [rax + 2]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x140004aa4
inc r14d
add rbx, 0x28
movzx eax, word [r13 + 6]
cmp r14d, eax
jl 0x140004a30
mov al, 1
jmp 0x1400049db
lea rcx, [rbp - 0x50]
call fcn.140001570
lea rdx, [0x14045dc00]
lea rcx, [rbp - 0x50]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rcx, [rbp - 0x50]
call fcn.140001570
lea rdx, [0x14045dc00]
lea rcx, [rbp - 0x50]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rcx, [rbp - 0x50]
call fcn.140001570
lea rdx, [0x14045dc00]
lea rcx, [rbp - 0x50]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rcx, [rbp - 0x50]
call fcn.140001570
lea rdx, [0x14045dc00]
lea rcx, [rbp - 0x50]
call sub.VCRUNTIME140.dll__CxxThrowException
int3