Function at 0x140053ec0
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.1400bde50
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.1400545f0
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 0x140054415
mov ebx, r15d
mov qword [rbp + 0x6f], rbx
nop dword [rax]
mov qword [rbp - 0x49], r15
mov qword [rbp - 0x39], r15
mov qword [rbp - 0x31], 7
mov edx, 0x100
lea rcx, [rbp - 0x49]
call fcn.14004e2c0
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
mov qword [rbp - 0x69], r15
mov qword [rbp - 0x59], r15
mov qword [rbp - 0x51], 7
mov edx, 0x100
lea rcx, [rbp - 0x69]
call fcn.14004e2c0
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
nop dword [rax]
inc rdi
cmp word [r14 + rdi*2], 0
jne 0x140054080
cmp rdi, rsi
ja 0x1400540b9
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 0x140054171
movabs rdx, 0x7ffffffffffffffe
cmp rdi, rdx
ja 0x14005444f
mov rbx, rdi
or rbx, 7
cmp rbx, rdx
jbe 0x1400540dd
mov rbx, rdx
jmp 0x1400540fe
mov rcx, rsi
shr rcx, 1
mov rax, rdx
sub rax, rcx
cmp rsi, rax
jbe 0x1400540f3
mov rbx, rdx
jmp 0x1400540fe
lea rax, [rsi + rcx]
cmp rbx, rax
cmovb rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rbp - 0x49]
call fcn.14004e2c0
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 0x14005416a
lea rdx, [rsi*2 + 2]
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140054165
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005443a
call fcn.1400bde8c
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
nop
inc rdi
cmp word [r14 + rdi*2], 0
jne 0x140054190
cmp rdi, rsi
ja 0x1400541c9
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 0x140054281
movabs rdx, 0x7ffffffffffffffe
cmp rdi, rdx
ja 0x14005444f
mov rbx, rdi
or rbx, 7
cmp rbx, rdx
jbe 0x1400541ed
mov rbx, rdx
jmp 0x14005420e
mov rcx, rsi
shr rcx, 1
mov rax, rdx
sub rax, rcx
cmp rsi, rax
jbe 0x140054203
mov rbx, rdx
jmp 0x14005420e
lea rax, [rcx + rsi]
cmp rbx, rax
cmovb rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rbp - 0x69]
call fcn.14004e2c0
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 0x14005427a
lea rdx, [rsi*2 + 2]
mov rcx, qword [rbp - 0x69]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140054275
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005443a
call fcn.1400bde8c
mov qword [rbp - 0x69], r15
xor r15d, r15d
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 9]
call fcn.140054ac0
nop
lea rdx, [rbp - 0x69]
lea rcx, [rbp - 0x29]
call fcn.140054ac0
nop
lea r8, [rbp - 9]
lea rdx, [rbp + 0x17]
mov rcx, r12
call fcn.140053b30
mov rcx, qword [rax]
add rcx, 0x30
lea rax, [rbp - 0x29]
cmp rcx, rax
je 0x1400542d5
lea rdx, [rbp - 0x29]
cmp qword [rbp - 0x11], 0x10
cmovae rdx, qword [rbp - 0x29]
mov r8, qword [rbp - 0x19]
call fcn.14004e3c0
nop
mov rdx, qword [rbp - 0x11]
cmp rdx, 0x10
jb 0x140054310
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005430b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140054433
call fcn.1400bde8c
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 0x14005435b
inc rdx
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140054356
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005443a
call fcn.1400bde8c
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 0x1400543ab
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x69]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400543a6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140054441
call fcn.1400bde8c
mov qword [rbp - 0x59], r15
mov qword [rbp - 0x51], 7
mov word [rbp - 0x69], r15w
mov rdx, qword [rbp - 0x31]
cmp rdx, 8
jb 0x1400543f8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400543f3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140054448
call fcn.1400bde8c
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 0x140053f70
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.14004e100
int3