Function at 0x14005ddf0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x320]
sub rsp, 0x420
mov rax, qword [0x1401d60c0]
xor rax, rsp
mov qword [rbp + 0x310], rax
mov r12, r9
mov r15, r8
mov qword [rsp + 0x40], r8
mov rsi, rdx
mov r13, rcx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rdx
mov rax, qword [rbp + 0x380]
mov qword [rsp + 0x38], rax
xor r14d, r14d
mov qword [rbp - 0x40], r14
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x28], r14
mov qword [rbp - 0x20], 7
mov word [rbp - 0x38], r14w
movups xmmword [rbp - 0x18], xmm0
mov qword [rbp - 8], r14
mov qword [rbp], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x18], r14b
mov dword [rbp + 8], r14d
mov rdi, qword [r8]
test rdi, rdi
jne 0x14005de95
mov dword [rdx], 0xc00000ef
mov byte [rdx + 0x58], dil
jmp 0x14005e15d
movups xmmword [rbp + 0x28], xmm0
mov rax, qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbp + 0x28], rax
mov rbx, r14
mov qword [rbp + 0x30], rbx
movups xmmword [rbp + 0xc0], xmm0
movups xmmword [rbp + 0xd0], xmm0
movups xmmword [rbp + 0xe0], xmm0
movups xmmword [rbp + 0xf0], xmm0
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0x100]
call sub.VCRUNTIME140.dll_memset
mov rax, qword [r13 + 8]
mov qword [rbp + 0x10], r14
mov rax, qword [rax + 0x70]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
lea rdx, [rbp + 0x10]
mov qword [rsp + 0x20], rdx
mov r9d, 0x40
lea r8, [rbp + 0xc0]
mov rdx, rdi
call qword [rax + Ordinal_26]
mov eax, 0x5a4d
cmp word [rbp + 0xc0], ax
je 0x14005df27
mov dword [rsi], 0xc000012f
mov byte [rsi + 0x58], 0
jmp 0x14005e15d
mov rax, qword [r13 + 8]
movsxd rdx, dword [rbp + 0xfc]
add rdx, qword [r15]
mov qword [rbp + 0x10], r14
je 0x14005df5f
mov rax, qword [rax + 0x70]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
lea r8, [rbp + 0x10]
mov qword [rsp + 0x20], r8
mov r9d, 0x108
lea r8, [rbp + 0x100]
call qword [rax + Ordinal_26]
cmp dword [rbp + 0x100], 0x4550
je 0x14005df7a
mov dword [rsi], 0xc000007b
mov byte [rsi + 0x58], 0
jmp 0x14005e15d
mov edi, dword [rbp + 0x188]
mov ecx, 0x10b
mov rax, qword [rbp + 0x118]
cmp ax, cx
cmove edi, dword [rbp + 0x178]
mov r15d, edi
test edi, edi
je 0x14005e144
mov r13d, dword [rbp + 0x18c]
cmp ax, cx
cmove r13d, dword [rbp + 0x17c]
mov ecx, r13d
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 8]
mov rax, qword [rsp + 0x40]
mov rdx, qword [rax]
mov qword [rbp + 0x10], r14
add rdx, r15
jne 0x14005dfe8
mov eax, 0xc0000141
jmp 0x14005e009
mov rax, qword [rcx + 0x70]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
lea r8, [rbp + 0x10]
mov qword [rsp + 0x20], r8
mov r9d, r13d
mov r8, rbx
call qword [rax + Ordinal_26]
test eax, eax
jns 0x14005e014
mov dword [rsi], eax
mov byte [rsi + 0x58], 0
jmp 0x14005e14e
mov r10, rbx
cmp r13d, 0x28
ja 0x14005e0af
mov ecx, dword [rbx + 0x14]
cmp ecx, dword [rbx + 0x18]
cmovbe ecx, dword [rbx + 0x18]
imul r13d, ecx, 0xff
add r13d, dword [rbx + 0x24]
sub r13d, edi
mov edi, r13d
mov ecx, r13d
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
mov qword [rbp + 0x30], rax
mov rax, qword [rbp + 0x20]
test rax, rax
je 0x14005e05f
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 8]
mov rax, qword [rsp + 0x40]
mov rdx, qword [rax]
mov qword [rbp + 0x20], r14
add rdx, r15
jne 0x14005e080
mov eax, 0xc0000141
jmp 0x14005e0a4
mov rax, qword [rcx + 0x70]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
lea r8, [rbp + 0x20]
mov qword [rsp + 0x20], r8
mov r9, rdi
mov r8, rbx
call qword [rax + Ordinal_26]
mov r10, rbx
test eax, eax
jns 0x14005e0af
mov dword [rsi], eax
mov byte [rsi + 0x58], 0
jmp 0x14005e14e
mov edi, dword [r10 + 0x24]
sub rdi, r15
add rdi, r10
mov ecx, dword [r10 + 0x20]
sub rcx, r15
add rcx, r10
mov qword [rbp + 0x20], rcx
mov eax, dword [r10 + 0x1c]
sub rax, r15
add rax, r10
mov qword [rbp + 0x10], rax
mov r8d, r14d
cmp dword [r10 + 0x14], r14d
jbe 0x14005e144
nop
cmp r12, 0xffff
ja 0x14005e0fd
movzx r11d, r8w
movzx ecx, r8w
add ecx, dword [r10 + 0x10]
movzx eax, r12w
cmp eax, ecx
jmp 0x14005e135
cmp r8d, dword [r10 + 0x18]
jae 0x14005e798
mov eax, r8d
mov ecx, dword [rcx + rax*4]
sub rcx, r15
add rcx, r10
movzx r11d, word [rdi + rax*2]
mov r9, r12
sub r9, rcx
nop
movzx edx, byte [rcx]
movzx eax, byte [rcx + r9]
sub edx, eax
jne 0x14005e133
inc rcx
test eax, eax
jne 0x14005e120
test edx, edx
je 0x14005e19c
inc r8d
cmp r8d, dword [r10 + 0x14]
mov rcx, qword [rbp + 0x20]
jb 0x14005e0e0
mov dword [rsi], 0xc0000225
mov byte [rsi + 0x58], 0
test rbx, rbx
je 0x14005e15d
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
lea rcx, [rbp - 0x18]
call fcn.1400064a0
lea rcx, [rbp - 0x38]
call fcn.14005a690
mov rax, rsi
mov rcx, qword [rbp + 0x310]
xor rcx, rsp
call fcn.1400f4b80
mov rbx, qword [rsp + 0x478]
add rsp, 0x420
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rax, qword [rsp + 0x40]
mov rdx, qword [rax]
movzx eax, r11w
mov rcx, qword [rbp + 0x10]
mov edi, dword [rcx + rax*4]
add rdi, rdx
mov qword [rbp - 0x40], rdi
lea rax, [rdx + r15]
cmp rdi, rax
jb 0x14005e735
mov eax, r13d
add rax, rdx
add rax, r15
cmp rdi, rax
ja 0x14005e735
xor edx, edx
mov r8d, 0xff
lea rcx, [rbp + 0x210]
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx + 8]
mov qword [rbp + 0x20], r14
test rdi, rdi
je 0x14005e222
mov rax, qword [rax + 0x70]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
lea rdx, [rbp + 0x20]
mov qword [rsp + 0x20], rdx
mov r9d, 0xff
lea r8, [rbp + 0x210]
mov rdx, rdi
call qword [rax + Ordinal_26]
xorps xmm0, xmm0
movups xmmword [rbp + 0x38], xmm0
mov qword [rbp + 0x48], r14
mov qword [rbp + 0x50], r14
lea rax, [rbp + 0x210]
mov rdi, 0xffffffffffffffff
mov r8, rdi
inc r8
cmp byte [rax + r8], 0
jne 0x14005e242
lea rdx, [rbp + 0x210]
lea rcx, [rbp + 0x38]
call fcn.140007620
nop
lea r15, [rbp + 0x38]
cmp qword [rbp + 0x50], 0xf
cmova r15, qword [rbp + 0x38]
mov r13, qword [rbp + 0x48]
cmp r13, 1
jb 0x14005e2b4
lea r12, [r15 + r13]
mov r8, r13
mov edx, reloc.WLDAP32.dll_Ordinal_46
mov rcx, r15
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x14005e2b4
nop
cmp byte [rax], 0x2e
je 0x14005e5b5
inc rax
mov r8, r12
sub r8, rax
mov edx, reloc.WLDAP32.dll_Ordinal_46
mov rcx, rax
call sub.VCRUNTIME140.dll_memchr
test rax, rax
jne 0x14005e290
mov rax, rdi
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x50], xmm1
cmp r13, rax
cmovb rax, r13
lea rdx, [rbp + 0x38]
cmp qword [rbp + 0x50], 0xf
cmova rdx, qword [rbp + 0x38]
mov r8, rax
lea rcx, [rbp - 0x60]
call fcn.140007620
nop
mov r8d, 4
lea rdx, str..dll
lea rcx, [rbp - 0x60]
call fcn.140006500
xorps xmm0, xmm0
movups xmmword [rbp + 0x98], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xa8], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x98], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xa8], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rcx, [rbp - 0x60]
call fcn.1400064a0
lea r13, [rbp + 0x38]
mov rdx, qword [rbp + 0x38]
mov r9, qword [rbp + 0x50]
cmp r9, 0xf
cmova r13, rdx
mov r12, qword [rbp + 0x48]
cmp r12, 1
jb 0x14005e3a3
lea r15, [r12 + r13]
mov r8, r12
mov edx, reloc.WLDAP32.dll_Ordinal_46
mov rcx, r13
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x14005e39b
cmp byte [rax], 0x2e
je 0x14005e5bd
inc rax
mov r8, r15
sub r8, rax
mov edx, reloc.WLDAP32.dll_Ordinal_46
mov rcx, rax
call sub.VCRUNTIME140.dll_memchr
test rax, rax
jne 0x14005e377
mov rdx, qword [rbp + 0x38]
mov r9, qword [rbp + 0x50]
mov rax, rdi
lea rcx, [rax + 1]
xorps xmm0, xmm0
movups xmmword [rbp + 0x58], xmm0
mov qword [rbp + 0x68], r14
mov qword [rbp + 0x70], r14
cmp r12, rcx
jb 0x14005e7a7
sub r12, rcx
mov r8, rdi
cmp r12, rdi
cmovb r8, r12
lea rax, [rbp + 0x38]
cmp r9, 0xf
cmova rax, rdx
lea rdx, [rax + rcx]
lea rcx, [rbp + 0x58]
call fcn.140007620
nop
lea rdx, [rbp + 0x98]
lea rcx, [rbp + 0x78]
call fcn.14005ced0
nop
mov byte [rbp + 0xa], 1
lea rdx, [rbp + 0x78]
cmp qword [rbp + 0x90], 7
cmova rdx, qword [rbp + 0x78]
mov r8, qword [rbp + 0x88]
lea rcx, [rbp - 0x38]
call fcn.14005a700
lea r12, [rbp + 0x58]
cmp qword [rbp + 0x70], 0xf
cmova r12, qword [rbp + 0x58]
mov r13, qword [rbp + 0x68]
cmp r13, 1
jb 0x14005e477
lea r15, [r12 + r13]
mov r8, r15
sub r8, r12
mov edx, reloc.WLDAP32.dll_Ordinal_35
mov rcx, r12
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x14005e477
cmp byte [rax], 0x23
je 0x14005e5cd
inc rax
mov r8, r15
sub r8, rax
mov edx, reloc.WLDAP32.dll_Ordinal_35
mov rcx, rax
call sub.VCRUNTIME140.dll_memchr
test rax, rax
jne 0x14005e453
mov byte [rbp + 0xb], 0
lea rdx, [rbp + 0x58]
cmp qword [rbp + 0x70], 0xf
cmova rdx, qword [rbp + 0x58]
mov r8, r13
lea rcx, [rbp - 0x18]
call fcn.140006a70
movzx r15d, byte [rbp + 0xb]
movzx r12d, word [rbp + 8]
mov eax, 0x10b
cmp word [rbp + 0x118], ax
setne r14b
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r14d
xor r9d, r9d
lea r8, [rbp + 0x78]
lea rdx, [rbp + 0x10]
mov r14, qword [rsp + 0x30]
mov rcx, r14
call fcn.14005d8b0
nop
cmp qword [rbp + 0x10], 0
jne 0x14005e604
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov rax, qword [rbp - 0x40]
mov qword [rsp + 0x50], rax
lea rdx, [rbp - 0x38]
lea rcx, [rsp + 0x58]
call fcn.14005a500
nop
lea rdx, [rbp - 0x18]
lea rcx, [rsp + 0x78]
call fcn.140005cf0
movzx eax, word [rbp + 8]
mov word [rbp - 0x68], ax
movzx eax, byte [rbp + 0xa]
mov byte [rbp - 0x66], al
movzx eax, byte [rbp + 0xb]
mov byte [rbp - 0x65], al
mov r8d, 0x107
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.140060510
nop
mov r14, qword [rbp + 0x18]
test r14, r14
je 0x14005e579
mov eax, edi
lock xadd dword [r14 + 8], eax
cmp eax, 1
jne 0x14005e575
mov rax, qword [r14]
mov rcx, r14
call qword [rax]
lock xadd dword [r14 + 0xc], edi
cmp edi, 1
jne 0x14005e575
mov rax, qword [r14]
mov rcx, r14
call qword [rax + reloc.WS2_32.dll_htonl]
mov rbx, qword [rbp + 0x30]
lea rcx, [rbp + 0x78]
call fcn.14005a690
nop
lea rcx, [rbp + 0x58]
call fcn.1400064a0
nop
lea rcx, [rbp + 0x98]
call fcn.1400064a0
nop
lea rcx, [rbp + 0x38]
call fcn.1400064a0
nop
test rbx, rbx
je 0x14005e5b0
mov rcx, rbx
call qword [rbp + Ordinal_41]
nop
jmp 0x14005e15d
sub rax, r15
jmp 0x14005e2b7
sub rax, r13
mov rdx, qword [rbp + 0x38]
mov r9, qword [rbp + 0x50]
jmp 0x14005e3a6
sub rax, r12
sete r15b
mov byte [rbp + 0xb], r15b
test rax, rax
jne 0x14005e47b
lea rcx, [rbp + 0x58]
cmp qword [rbp + 0x70], 0xf
cmova rcx, qword [rbp + 0x58]
inc rcx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov r12d, eax
mov word [rbp + 8], ax
jmp 0x14005e49f
lea rax, [rbp + 0x78]
lea r8, [rbp + 0x10]
mov rdx, rsi
mov rcx, r14
test r15b, r15b
je 0x14005e69d
cmp qword [rbp + 0x90], 7
cmova rax, qword [rbp + 0x78]
movzx r9d, r12w
mov qword [rsp + 0x20], rax
call fcn.14005ddc0
nop
mov r14, qword [rbp + 0x18]
test r14, r14
je 0x14005e66d
mov eax, edi
lock xadd dword [r14 + 8], eax
cmp eax, 1
jne 0x14005e669
mov rax, qword [r14]
mov rcx, r14
call qword [rax]
lock xadd dword [r14 + 0xc], edi
cmp edi, 1
jne 0x14005e669
mov rax, qword [r14]
mov rcx, r14
call qword [rax + reloc.WS2_32.dll_htonl]
mov rbx, qword [rbp + 0x30]
lea rcx, [rbp + 0x78]
call fcn.14005a690
nop
lea rcx, [rbp + 0x58]
call fcn.1400064a0
nop
lea rcx, [rbp + 0x98]
call fcn.1400064a0
nop
lea rcx, [rbp + 0x38]
call fcn.1400064a0
nop
jmp 0x14005e724
cmp qword [rbp + 0x90], 7
cmova rax, qword [rbp + 0x78]
lea r9, [rbp + 0x58]
cmp qword [rbp + 0x70], 0xf
cmova r9, qword [rbp + 0x58]
mov qword [rsp + 0x20], rax
call fcn.14005ddc0
nop
mov r14, qword [rbp + 0x18]
test r14, r14
je 0x14005e6f9
mov eax, edi
lock xadd dword [r14 + 8], eax
cmp eax, 1
jne 0x14005e6f5
mov rax, qword [r14]
mov rcx, r14
call qword [rax]
lock xadd dword [r14 + 0xc], edi
cmp edi, 1
jne 0x14005e6f5
mov rax, qword [r14]
mov rcx, r14
call qword [rax + reloc.WS2_32.dll_htonl]
mov rbx, qword [rbp + 0x30]
lea rcx, [rbp + 0x78]
call fcn.14005a690
nop
lea rcx, [rbp + 0x58]
call fcn.1400064a0
nop
lea rcx, [rbp + 0x98]
call fcn.1400064a0
nop
lea rcx, [rbp + 0x38]
call fcn.1400064a0
nop
test rbx, rbx
je 0x14005e730
mov rcx, rbx
call qword [rbp + Ordinal_41]
nop
jmp 0x14005e15d
mov qword [rsp + 0x50], rdi
movups xmm1, xmmword [rbp - 0x38]
movups xmmword [rsp + 0x58], xmm1
movups xmm0, xmmword [rbp - 0x28]
movups xmmword [rsp + 0x68], xmm0
mov qword [rbp - 0x28], r14
mov qword [rbp - 0x20], 7
mov word [rbp - 0x38], r14w
movups xmm1, xmmword [rbp - 0x18]
movups xmmword [rsp + 0x78], xmm1
movups xmm0, xmmword [rbp - 8]
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 8], r14
mov qword [rbp], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x18], 0
mov dword [rbp - 0x68], r14d
xor r8d, r8d
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.140060510
nop
jmp 0x14005e14e
mov dword [rsi], 0xc0000225
mov byte [rsi + 0x58], 0
jmp 0x14005e14e
call fcn.140006e90
int3