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

Disassembly:
mov qword [rsp + 0x20], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xb0
mov r12, rcx
mov qword [rbp + 0x6f], rcx
xor r15d, r15d
mov dword [rcx], r15d
mov qword [rcx + 8], r15
mov qword [rcx + 0x10], r15
lea ecx, [r15 + 0x50]
call fcn.14007ceb4
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.140025b30
nop
mov rax, qword gs:[0x60]
mov rsi, qword [rax + 0x68]
mov qword [rbp + 0x77], rsi
mov r13d, r15d
cmp dword [rsi + 0xc], r15d
jbe 0x140025906
mov ebx, r15d
mov qword [rbp + 0x6f], rbx
nop dword [rax]
xorps xmm0, xmm0
movups xmmword [rbp - 0x49], xmm0
mov qword [rbp - 0x39], r15
mov qword [rbp - 0x31], 7
mov edx, 0x100
lea rcx, [rbp - 0x49]
call fcn.140009d80
mov rdx, rax
mov qword [rbp - 0x49], rax
mov qword [rbp - 0x39], 0xff
mov qword [rbp - 0x31], 0xff
movzx eax, r15w
mov rdi, rdx
mov ecx, 0xff
rep stosw word [rdi], ax
mov word [rdx + 0x1fe], r15w
xorps xmm0, xmm0
movups xmmword [rbp - 0x69], xmm0
mov qword [rbp - 0x59], r15
mov qword [rbp - 0x51], 7
mov edx, 0x100
lea rcx, [rbp - 0x69]
call fcn.140009d80
mov rdx, rax
mov qword [rbp - 0x69], rax
mov qword [rbp - 0x59], 0xff
mov qword [rbp - 0x51], 0xff
movzx eax, r15w
mov rdi, rdx
mov ecx, 0xff
rep stosw word [rdi], ax
mov word [rdx + 0x1fe], r15w
mov eax, dword [rsi + 0x14]
add rax, rbx
mov eax, dword [rax + rsi + 4]
lea rbx, [rax + rax*2]
mov edi, dword [rsi + 0x10]
add rdi, rsi
lea rcx, [rbp - 0x49]
cmp qword [rbp - 0x31], 8
cmovae rcx, qword [rbp - 0x49]
mov r8d, dword [rdi + rbx*8 + 0xc]
mov edx, dword [rdi + rbx*8 + 4]
add rdx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rdi + rbx*8 + 0x10]
lea rcx, [rbp - 0x69]
cmp qword [rbp - 0x51], 8
cmovae rcx, qword [rbp - 0x69]
mov r8d, dword [rax + rsi + 0x10]
mov edx, dword [rax + rsi + 0xc]
add rdx, rsi
call sub.VCRUNTIME140.dll_memcpy
lea r14, [rbp - 0x49]
mov rsi, qword [rbp - 0x31]
cmp rsi, 8
setae cl
mov rax, qword [rbp - 0x49]
cmovae r14, rax
mov rdi, 0xffffffffffffffff
inc rdi
cmp word [r14 + rdi*2], 0
jne 0x140025572
cmp rdi, rsi
ja 0x1400255ab
lea rbx, [rbp - 0x49]
test cl, cl
cmovne rbx, rax
mov qword [rbp - 0x39], rdi
add rdi, rdi
mov r8, rdi
mov rdx, r14
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov word [rdi + rbx], r15w
jmp 0x140025663
movabs rdx, 0x7ffffffffffffffe
cmp rdi, rdx
ja 0x140025940
mov rbx, rdi
or rbx, 7
cmp rbx, rdx
jbe 0x1400255cf
mov rbx, rdx
jmp 0x1400255f0
mov rcx, rsi
shr rcx, 1
mov rax, rdx
sub rax, rcx
cmp rsi, rax
jbe 0x1400255e5
mov rbx, rdx
jmp 0x1400255f0
lea rax, [rsi + rcx]
cmp rbx, rax
cmovb rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rbp - 0x49]
call fcn.140009d80
mov r15, rax
mov qword [rbp - 0x39], rdi
mov qword [rbp - 0x31], rbx
add rdi, rdi
mov r8, rdi
mov rdx, r14
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
xor eax, eax
mov word [rdi + r15], ax
cmp rsi, 8
jb 0x14002565c
lea rdx, [rsi*2 + 2]
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140025657
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002592b
call fcn.14007cef0
mov qword [rbp - 0x49], r15
xor r15d, r15d
lea r14, [rbp - 0x69]
mov rsi, qword [rbp - 0x51]
cmp rsi, 8
setae cl
mov rax, qword [rbp - 0x69]
cmovae r14, rax
mov rdi, 0xffffffffffffffff
inc rdi
cmp word [r14 + rdi*2], 0
jne 0x140025681
cmp rdi, rsi
ja 0x1400256ba
lea rbx, [rbp - 0x69]
test cl, cl
cmovne rbx, rax
mov qword [rbp - 0x59], rdi
add rdi, rdi
mov r8, rdi
mov rdx, r14
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov word [rdi + rbx], r15w
jmp 0x140025772
movabs rdx, 0x7ffffffffffffffe
cmp rdi, rdx
ja 0x140025940
mov rbx, rdi
or rbx, 7
cmp rbx, rdx
jbe 0x1400256de
mov rbx, rdx
jmp 0x1400256ff
mov rcx, rsi
shr rcx, 1
mov rax, rdx
sub rax, rcx
cmp rsi, rax
jbe 0x1400256f4
mov rbx, rdx
jmp 0x1400256ff
lea rax, [rcx + rsi]
cmp rbx, rax
cmovb rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rbp - 0x69]
call fcn.140009d80
mov r15, rax
mov qword [rbp - 0x59], rdi
mov qword [rbp - 0x51], rbx
add rdi, rdi
mov r8, rdi
mov rdx, r14
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
xor eax, eax
mov word [rdi + r15], ax
cmp rsi, 8
jb 0x14002576b
lea rdx, [rsi*2 + 2]
mov rcx, qword [rbp - 0x69]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140025766
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002592b
call fcn.14007cef0
mov qword [rbp - 0x69], r15
xor r15d, r15d
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 9]
call fcn.140027030
nop
lea rdx, [rbp - 0x69]
lea rcx, [rbp - 0x29]
call fcn.140027030
nop
lea r8, [rbp - 9]
lea rdx, [rbp + 0x17]
mov rcx, r12
call fcn.140025020
mov rcx, qword [rax]
add rcx, 0x30
lea rax, [rbp - 0x29]
cmp rcx, rax
je 0x1400257c6
lea rdx, [rbp - 0x29]
cmp qword [rbp - 0x11], 0x10
cmovae rdx, qword [rbp - 0x29]
mov r8, qword [rbp - 0x19]
call fcn.1400096f0
nop
mov rdx, qword [rbp - 0x11]
cmp rdx, 0x10
jb 0x140025801
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400257fc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140025924
call fcn.14007cef0
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x29], 0
mov rdx, qword [rbp + 0xf]
cmp rdx, 0x10
jb 0x14002584c
inc rdx
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140025847
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002592b
call fcn.14007cef0
mov qword [rbp + 7], r15
mov qword [rbp + reloc.WS2_32.dll_ntohs], 0xf
mov byte [rbp - 9], 0
mov rdx, qword [rbp - 0x51]
cmp rdx, 8
jb 0x14002589c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x69]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140025897
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140025932
call fcn.14007cef0
mov qword [rbp - 0x59], r15
mov qword [rbp - 0x51], 7
mov word [rbp - 0x69], r15w
mov rdx, qword [rbp - 0x31]
cmp rdx, 8
jb 0x1400258e9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400258e4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140025939
call fcn.14007cef0
inc r13d
mov rbx, qword [rbp + 0x6f]
add rbx, 8
mov qword [rbp + 0x6f], rbx
mov rsi, qword [rbp + 0x77]
cmp r13d, dword [rsi + 0xc]
jb 0x140025460
mov rax, r12
mov rbx, qword [rsp + 0x108]
add rsp, 0xb0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
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]
nop
call fcn.140001a90
int3