Function at 0x140008980
Capabilities:
Access peb ldr_data
Get process filename

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
lea rbp, [rsp - 0x37]
sub rsp, 0xe0
mov rax, qword [0x14023db80]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov r12, rcx
mov qword [rbp - 0x71], rcx
mov qword [rbp - 0x79], rcx
xor r15d, r15d
mov dword [rcx], r15d
mov qword [rcx + 8], r15
mov qword [rcx + 0x10], r15
lea ecx, [r15 + 0x50]
call fcn.140079800
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [r12 + 8], rax
lea rcx, [r12 + 0x18]
mov qword [rcx], r15
mov qword [rcx + 8], r15
mov qword [rcx + 0x10], r15
mov qword [r12 + 0x30], 7
mov qword [r12 + 0x38], 8
mov dword [r12], 0x3f800000
mov r8, qword [r12 + 8]
lea edx, [r15 + 0x10]
call fcn.140009050
nop
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x68]
mov qword [rsp + 0x28], rcx
mov r13d, r15d
cmp dword [rcx + 0xc], r15d
jbe 0x140008da4
mov r14d, r15d
mov qword [rbp - 0x79], r15
movzx ebx, byte [rsp + 0x20]
movzx edi, byte [rsp + 0x20]
movzx esi, byte [rsp + 0x20]
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x39], xmm0
mov qword [rbp - 0x29], r15
mov qword [rbp - 0x21], r15
xor edx, edx
mov r8d, 0xff
lea rcx, [rbp - 0x39]
call fcn.140008150
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x59], xmm0
mov qword [rbp - 0x49], r15
mov qword [rbp - 0x41], r15
xor edx, edx
mov r8d, 0xff
lea rcx, [rbp - 0x59]
call fcn.140008150
nop
mov r9, qword [rsp + 0x28]
mov eax, dword [r9 + 0x14]
add rax, r14
mov eax, dword [rax + r9 + 4]
lea r15, [rax + rax*2]
mov r14d, dword [r9 + 0x10]
add r14, r9
lea rcx, [rbp - 0x39]
cmp qword [rbp - 0x21], 7
cmova rcx, qword [rbp - 0x39]
mov r8d, dword [r14 + r15*8 + 0xc]
mov edx, dword [r14 + r15*8 + 4]
add rdx, r9
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [r14 + r15*8 + 0x10]
mov r9, qword [rsp + 0x28]
lea rcx, [rbp - 0x59]
cmp qword [rbp - 0x41], 7
cmova rcx, qword [rbp - 0x59]
mov r8d, dword [rax + r9 + 0x10]
mov edx, dword [rax + r9 + 0xc]
add rdx, r9
call sub.VCRUNTIME140.dll_memcpy
lea r9, [rbp - 0x39]
mov rax, qword [rbp - 0x21]
cmp rax, 7
seta r8b
mov rcx, qword [rbp - 0x39]
cmova r9, rcx
mov rdx, 0xffffffffffffffff
nop word [rax + rax]
inc rdx
cmp word [r9 + rdx*2], 0
jne 0x140008b20
cmp rdx, rax
ja 0x140008b5a
lea r15, [rbp - 0x39]
test r8b, r8b
cmovne r15, rcx
mov qword [rbp - 0x29], rdx
lea r14, [rdx + rdx]
mov r8, r14
mov rdx, r9
mov rcx, r15
call sub.VCRUNTIME140.dll_memmove
xor eax, eax
mov word [r14 + r15], ax
jmp 0x140008b67
movzx r8d, bl
lea rcx, [rbp - 0x39]
call fcn.1400084a0
lea r9, [rbp - 0x59]
mov rax, qword [rbp - 0x41]
cmp rax, 7
seta r8b
mov rcx, qword [rbp - 0x59]
cmova r9, rcx
mov rdx, 0xffffffffffffffff
nop word [rax + rax]
inc rdx
cmp word [r9 + rdx*2], 0
jne 0x140008b90
cmp rdx, rax
ja 0x140008bca
lea r15, [rbp - 0x59]
test r8b, r8b
cmovne r15, rcx
mov qword [rbp - 0x49], rdx
lea r14, [rdx + rdx]
mov r8, r14
mov rdx, r9
mov rcx, r15
call sub.VCRUNTIME140.dll_memmove
xor eax, eax
mov word [r14 + r15], ax
jmp 0x140008bd7
movzx r8d, dil
lea rcx, [rbp - 0x59]
call fcn.1400084a0
lea rdx, [rbp - 0x39]
lea rcx, [rbp + 7]
call fcn.140009980
nop
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x19]
call fcn.140009980
nop
lea r8, [rbp + 7]
lea rdx, [rbp - 0x69]
mov rcx, r12
call fcn.140008610
mov rcx, qword [rax]
add rcx, 0x30
lea rax, [rbp - 0x19]
cmp rcx, rax
je 0x140008c60
mov r14, qword [rbp - 9]
lea r9, [rbp - 0x19]
cmp qword [rbp - 1], 0xf
cmova r9, qword [rbp - 0x19]
mov rax, qword [rcx + 0x18]
cmp r14, rax
ja 0x140008c53
mov r15, rcx
cmp rax, 0xf
jbe 0x140008c3a
mov r15, qword [rcx]
mov qword [rcx + 0x10], r14
mov r8, r14
mov rdx, r9
mov rcx, r15
call sub.VCRUNTIME140.dll_memmove
mov byte [r14 + r15], 0
jmp 0x140008c60
movzx r8d, sil
mov rdx, r14
call fcn.140008360
nop
mov rdx, qword [rbp - 1]
cmp rdx, 0xf
jbe 0x140008c9b
inc rdx
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008c96
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140008dd4
call fcn.14007983c
xor r15d, r15d
mov qword [rbp - 9], r15
mov qword [rbp - 1], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x19], r15b
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0xf
jbe 0x140008ce9
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008ce4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140008ddb
call fcn.14007983c
mov qword [rbp + 0x17], r15
mov qword [rbp + 0x1f], reloc.WS2_32.dll_ntohs
mov byte [rbp + 7], 0
mov rdx, qword [rbp - 0x41]
cmp rdx, 7
jbe 0x140008d39
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x59]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008d34
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140008de2
call fcn.14007983c
mov qword [rbp - 0x49], r15
mov qword [rbp - 0x41], 7
mov word [rbp - 0x59], r15w
mov rdx, qword [rbp - 0x21]
cmp rdx, 7
jbe 0x140008d86
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008d81
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140008de9
call fcn.14007983c
inc r13d
mov r14, qword [rbp - 0x79]
add r14, 8
mov qword [rbp - 0x79], r14
mov rcx, qword [rsp + 0x28]
cmp r13d, dword [rcx + 0xc]
jb 0x140008a50
mov rax, r12
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1400797e0
lea r11, [rsp + 0xe0]
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]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3