Function at 0x1400532e0
Capabilities:
Parse pe header
Query environment variable
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
lea rbp, [rsp - 0x240]
sub rsp, 0x340
mov rax, qword [0x1401ffe18]
xor rax, rsp
mov qword [rbp + 0x238], rax
mov r13, rdx
mov rsi, rcx
mov qword [rsp + 0x58], rcx
xor r14d, r14d
mov r15d, r14d
mov dword [rbp + 0x1f0], r14d
lea r9, [rbp + 0x1f0]
xor r8d, r8d
xor edx, edx
lea ecx, [rdx + 0xb]
call fcn.1400b2286
cmp eax, 0xc0000004
jne 0x14005339e
nop dword [rax + rax]
xor edx, edx
mov r8d, 0x8000
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rbp + 0x1f0]
xor ecx, ecx
lea r9d, [rcx + 4]
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r15, rax
lea r9, [rbp + 0x1f0]
mov r8d, dword [rbp + 0x1f0]
mov rdx, rax
mov ecx, ntohl
call fcn.1400b2286
cmp eax, 0xc0000004
je 0x140053350
test eax, eax
js 0x1400538cd
mov r12d, r14d
cmp dword [r15], r14d
jbe 0x1400538cd
movzx ebx, byte [rsp + 0x30]
nop word [rax + rax]
mov eax, r12d
imul rcx, rax, 0x128
lea rdi, [rcx + r15]
movzx eax, word [rdi + 0x2e]
add rax, rcx
lea rdx, [r15 + 0x30]
add rdx, rax
mov qword [rbp + 0x218], r14
mov qword [rbp + 0x228], r14
mov qword [rbp + 0x230], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x218], 0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x140053403
lea rcx, [rbp + 0x218]
call fcn.14005a030
nop
lea rcx, [rbp + 0x218]
cmp qword [rbp + 0x230], 0x10
cmovae rcx, qword [rbp + 0x218]
mov rdx, rsi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
jne 0x140053880
lea rdx, [rdi + 0x30]
mov qword [rbp + 0x1f8], r14
mov qword [rbp + 0x208], r14
mov qword [rbp + 0x210], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x1f8], al
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x140053470
lea rcx, [rbp + 0x1f8]
call fcn.14005a030
nop
movabs rax, 0x11852efb778ae05f
mov qword [rsp + 0x60], rax
movabs rax, 0x55c621e949186755
mov qword [rsp + 0x68], rax
xorps xmm2, xmm2
movabs rax, 0x5ed763be23d9b90c
mov qword [rbp - 0x80], rax
movabs rax, 0x55c621e94918331a
mov qword [rbp - 0x78], rax
xorps xmm1, xmm1
movdqa xmm0, xmmword [rsp + 0x60]
pxor xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rbp - 0x60], xmm0
pxor xmm2, xmm1
movdqa xmmword [rbp - 0x50], xmm2
lea rcx, [rbp + 0x140]
lea rax, [rbp - 0x60]
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x60], xmm0
movups xmm1, xmmword [rax + 0x70]
movups xmmword [rcx + 0x70], xmm1
movups xmm0, xmmword [rax + 0x80]
movups xmmword [rcx + 0x80], xmm0
movups xmm1, xmmword [rax + 0x90]
movups xmmword [rcx + 0x90], xmm1
movups xmm0, xmmword [rax + 0xa0]
movups xmmword [rcx + 0xa0], xmm0
lea rcx, [rbp + 0x140]
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x38], 0
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], 0
jne 0x140053580
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.14005a030
nop
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
mov rax, rdx
sub rax, rcx
cmp rax, 1
jb 0x1400535d3
lea rax, [rcx + 1]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x38]
cmp rdx, 0x10
cmovae rax, qword [rsp + 0x38]
mov word [rax + rcx], 0x5c
lea rdi, [rsp + 0x38]
jmp 0x1400535f9
mov qword [rsp + 0x20], 1
lea r9, [0x140112fa0]
movzx r8d, bl
mov edx, 1
lea rcx, [rsp + 0x38]
call fcn.140003ad0
mov rdi, rax
movabs rax, 0x14dad12931e3bee9
mov qword [rsp + 0x60], rax
movabs rax, 0x4b0500bd1f6971ad
mov qword [rsp + 0x68], rax
xorps xmm2, xmm2
movabs rax, 0x46b7b45d429aedb5
mov qword [rbp - 0x80], rax
movabs rax, 0x4b0500bd431d1ec2
mov qword [rbp - 0x78], rax
xorps xmm1, xmm1
movdqa xmm0, xmmword [rsp + 0x60]
pxor xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rbp - 0x60], xmm0
pxor xmm2, xmm1
movdqa xmmword [rbp - 0x50], xmm2
lea rcx, [rbp + 0x70]
lea rax, [rbp - 0x60]
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movups xmm1, xmmword [rax + 0x70]
movups xmmword [rcx - 0x10], xmm1
movups xmm0, xmmword [rax + 0x80]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x90]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0xa0]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0xb0]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0xc0]
movups xmmword [rcx + 0x40], xmm0
lea rcx, [rbp + 0x70]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], 0
jne 0x1400536e0
lea rcx, [rbp + 0x1f8]
cmp qword [rbp + 0x210], 0x10
cmovae rcx, qword [rbp + 0x1f8]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x70]
xor r8d, r8d
mov rdx, qword [rbp + 0x208]
call fcn.140004c00
mov rcx, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 0x10
jb 0x140053726
mov rdi, qword [rdi]
mov qword [rsp + 0x20], rcx
mov r9, rdi
mov r8d, recvfrom
mov rdx, rax
lea rcx, [rbp + 0x1f8]
call fcn.14005f240
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x140053781
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005377c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140053910
call fcn.1401080d8
lea rcx, [rbp + 0x1f8]
cmp qword [rbp + 0x210], 0x10
cmovae rcx, qword [rbp + 0x1f8]
xor edx, edx
lea r8d, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov rdi, rax
mov eax, 0x5a4d
cmp word [rdi], ax
jne 0x14005394d
movsxd rcx, dword [rdi + 0x3c]
cmp dword [rcx + rdi], 0x4550
jne 0x14005394d
mov eax, dword [rcx + rdi + 0x88]
test eax, eax
je 0x14005394d
mov r11d, dword [rax + rdi + 0x1c]
lea rsi, [rdi + r11]
mov r9d, dword [rax + rdi + 0x20]
add r9, rdi
mov r14d, dword [rax + rdi + 0x24]
add r14, rdi
xor r10d, r10d
test r11d, r11d
je 0x140053837
nop word [rax + rax]
mov r8d, dword [r9]
add r8, rdi
mov rax, r13
sub r8, r13
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140053823
inc rax
test ecx, ecx
jne 0x140053810
test edx, edx
je 0x140053917
inc r10d
add r9, 4
cmp r10d, r11d
jb 0x140053800
mov rdx, qword [rbp + 0x210]
cmp rdx, 0x10
jb 0x140053878
inc rdx
mov rcx, qword [rbp + 0x1f8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140053873
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140053988
call fcn.1401080d8
xor r14d, r14d
mov rsi, qword [rsp + 0x58]
mov rdx, qword [rbp + 0x230]
cmp rdx, 0x10
jb 0x1400538c1
inc rdx
mov rcx, qword [rbp + 0x218]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400538bc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400539f9
call fcn.1401080d8
inc r12d
cmp r12d, dword [r15]
jb 0x1400533c0
xor edx, edx
mov r8d, 0x8000
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
mov rcx, qword [rbp + 0x238]
xor rcx, rsp
call fcn.140108a30
lea r11, [rsp + 0x340]
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
movzx ecx, word [r14 + r10*2]
mov ebx, dword [rsi + rcx*4]
mov eax, r12d
imul rcx, rax, 0x128
add rbx, qword [rcx + r15 + 0x18]
xor edx, edx
mov r8d, 0x8000
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor r14d, r14d
jmp 0x140053950
mov rbx, r14
mov rdx, qword [rbp + 0x210]
cmp rdx, 0x10
jb 0x140053994
inc rdx
mov rcx, qword [rbp + 0x1f8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005398f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005398f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401080d8
mov qword [rbp + 0x208], r14
mov qword [rbp + 0x210], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x1f8], 0
mov rdx, qword [rbp + 0x230]
cmp rdx, 0x10
jb 0x1400539f1
inc rdx
mov rcx, qword [rbp + 0x218]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400539ec
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400539ec
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401080d8
mov rax, rbx
jmp 0x1400538e0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3