Function at 0x140080dc0
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 [0x140229680]
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 0x140080e65
mov dword [rdx], 0xc00000ef
mov byte [rdx + 0x58], dil
jmp 0x14008112c
movups xmmword [rbp + 0x28], xmm0
lea rax, [fcn.1400f9794]
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 fcn.14012ade0
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 0x140080ef7
mov dword [rsi], 0xc000012f
mov byte [rsi + 0x58], 0
jmp 0x14008112c
mov rax, qword [r13 + 8]
movsxd rdx, dword [rbp + 0xfc]
add rdx, qword [r15]
mov qword [rbp + 0x10], r14
je 0x140080f2f
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 0x140080f4a
mov dword [rsi], 0xc000007b
mov byte [rsi + 0x58], 0
jmp 0x14008112c
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 0x140081114
mov r13d, dword [rbp + 0x18c]
cmp ax, cx
cmove r13d, dword [rbp + 0x17c]
mov ecx, r13d
call fcn.140109b00
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 0x140080fb7
mov eax, 0xc0000141
jmp 0x140080fd8
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 0x140080fe3
mov dword [rsi], eax
mov byte [rsi + 0x58], 0
jmp 0x14008111e
mov r10, rbx
cmp r13d, 0x28
ja 0x14008107c
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 fcn.140109b00
mov rbx, rax
mov qword [rbp + 0x30], rax
mov rax, qword [rbp + 0x20]
test rax, rax
je 0x14008102c
mov rcx, rax
call fcn.1400f9794
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 0x14008104d
mov eax, 0xc0000141
jmp 0x140081071
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 0x14008107c
mov dword [rsi], eax
mov byte [rsi + 0x58], 0
jmp 0x14008111e
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 0x140081114
nop dword [rax + rax]
cmp r12, 0xffff
ja 0x1400810cd
movzx r11d, r8w
movzx ecx, r8w
add ecx, dword [r10 + 0x10]
movzx eax, r12w
cmp eax, ecx
jmp 0x140081105
cmp r8d, dword [r10 + 0x18]
jae 0x140081761
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 0x140081103
inc rcx
test eax, eax
jne 0x1400810f0
test edx, edx
je 0x14008116b
inc r8d
cmp r8d, dword [r10 + 0x14]
mov rcx, qword [rbp + 0x20]
jb 0x1400810b0
mov dword [rsi], 0xc0000225
mov byte [rsi + 0x58], 0
test rbx, rbx
je 0x14008112c
mov rcx, rbx
call fcn.1400f9794
nop
lea rcx, [rbp - 0x18]
call fcn.14000a070
lea rcx, [rbp - 0x38]
call fcn.14007f6e0
mov rax, rsi
mov rcx, qword [rbp + 0x310]
xor rcx, rsp
call fcn.1400f3120
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 0x1400816fe
mov eax, r13d
add rax, rdx
add rax, r15
cmp rdi, rax
ja 0x1400816fe
xor edx, edx
mov r8d, 0xff
lea rcx, [rbp + 0x210]
call fcn.14012ade0
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx + 8]
mov qword [rbp + 0x20], r14
test rdi, rdi
je 0x1400811f1
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 0x140081211
lea rdx, [rbp + 0x210]
lea rcx, [rbp + 0x38]
call fcn.14000b230
nop
lea r15, [rbp + 0x38]
cmp qword [rbp + 0x50], 0xf
cmova r15, qword [rbp + 0x38]
mov r13, qword [rbp + 0x48]
cmp r13, 1
jb 0x140081284
lea r12, [r15 + r13]
mov r8, r13
mov edx, reloc.WLDAP32.dll_Ordinal_46
mov rcx, r15
call fcn.14012b180
test rax, rax
je 0x140081284
nop dword [rax]
cmp byte [rax], 0x2e
je 0x14008157f
inc rax
mov r8, r12
sub r8, rax
mov edx, reloc.WLDAP32.dll_Ordinal_46
mov rcx, rax
call fcn.14012b180
test rax, rax
jne 0x140081260
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.14000b230
nop
mov r8d, 4
lea rdx, str..dll
lea rcx, [rbp - 0x60]
call fcn.14000a270
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.14000a070
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 0x140081373
lea r15, [r12 + r13]
mov r8, r12
mov edx, reloc.WLDAP32.dll_Ordinal_46
mov rcx, r13
call fcn.14012b180
test rax, rax
je 0x14008136b
cmp byte [rax], 0x2e
je 0x140081587
inc rax
mov r8, r15
sub r8, rax
mov edx, reloc.WLDAP32.dll_Ordinal_46
mov rcx, rax
call fcn.14012b180
test rax, rax
jne 0x140081347
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 0x140081770
sub r12, rcx
mov r8, rdi
cmp r12, rdi
cmovb r8, r12
lea rax, [rbp + 0x38]
cmp r9, 0xf
cmova rax, rdx
lea rdx, [rcx + rax]
lea rcx, [rbp + 0x58]
call fcn.14000b230
nop
lea rdx, [rbp + 0x98]
lea rcx, [rbp + 0x78]
call fcn.140087a70
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.14007f890
lea r12, [rbp + 0x58]
cmp qword [rbp + 0x70], 0xf
cmova r12, qword [rbp + 0x58]
mov r13, qword [rbp + 0x68]
cmp r13, 1
jb 0x140081444
lea r15, [r12 + r13]
mov r8, r13
mov edx, reloc.WLDAP32.dll_Ordinal_35
mov rcx, r12
call fcn.14012b180
test rax, rax
je 0x140081444
cmp byte [rax], 0x23
je 0x140081597
inc rax
mov r8, r15
sub r8, rax
mov edx, reloc.WLDAP32.dll_Ordinal_35
mov rcx, rax
call fcn.14012b180
test rax, rax
jne 0x140081420
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.14000a110
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
lea r8, [rbp + 0x78]
lea rdx, [rbp + 0x10]
mov r14, qword [rsp + 0x30]
mov rcx, r14
call fcn.140080a70
nop
cmp qword [rbp + 0x10], 0
jne 0x1400815cd
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.14007fc90
nop
lea rdx, [rbp - 0x18]
lea rcx, [rsp + 0x78]
call fcn.140009ae0
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.1400819e0
nop
mov r14, qword [rbp + 0x18]
test r14, r14
je 0x140081543
mov eax, edi
lock xadd dword [r14 + 8], eax
cmp eax, 1
jne 0x14008153f
mov rax, qword [r14]
mov rcx, r14
call qword [rax]
lock xadd dword [r14 + 0xc], edi
cmp edi, 1
jne 0x14008153f
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.14007f6e0
nop
lea rcx, [rbp + 0x58]
call fcn.14000a070
nop
lea rcx, [rbp + 0x98]
call fcn.14000a070
nop
lea rcx, [rbp + 0x38]
call fcn.14000a070
nop
test rbx, rbx
je 0x14008157a
mov rcx, rbx
call qword [rbp + Ordinal_41]
nop
jmp 0x14008112c
sub rax, r15
jmp 0x140081287
sub rax, r13
mov rdx, qword [rbp + 0x38]
mov r9, qword [rbp + 0x50]
jmp 0x140081376
sub rax, r12
sete r15b
mov byte [rbp + 0xb], r15b
test rax, rax
jne 0x140081448
lea rcx, [rbp + 0x58]
cmp qword [rbp + 0x70], 0xf
cmova rcx, qword [rbp + 0x58]
inc rcx
call fcn.140109df8
mov r12d, eax
mov word [rbp + 8], ax
jmp 0x14008146c
lea rax, [rbp + 0x78]
lea r8, [rbp + 0x10]
mov rdx, rsi
mov rcx, r14
test r15b, r15b
je 0x140081666
cmp qword [rbp + 0x90], 7
cmova rax, qword [rbp + 0x78]
movzx r9d, r12w
mov qword [rsp + 0x20], rax
call fcn.140080d90
nop
mov r14, qword [rbp + 0x18]
test r14, r14
je 0x140081636
mov eax, edi
lock xadd dword [r14 + 8], eax
cmp eax, 1
jne 0x140081632
mov rax, qword [r14]
mov rcx, r14
call qword [rax]
lock xadd dword [r14 + 0xc], edi
cmp edi, 1
jne 0x140081632
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.14007f6e0
nop
lea rcx, [rbp + 0x58]
call fcn.14000a070
nop
lea rcx, [rbp + 0x98]
call fcn.14000a070
nop
lea rcx, [rbp + 0x38]
call fcn.14000a070
nop
jmp 0x1400816ed
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.140080d90
nop
mov r14, qword [rbp + 0x18]
test r14, r14
je 0x1400816c2
mov eax, edi
lock xadd dword [r14 + 8], eax
cmp eax, 1
jne 0x1400816be
mov rax, qword [r14]
mov rcx, r14
call qword [rax]
lock xadd dword [r14 + 0xc], edi
cmp edi, 1
jne 0x1400816be
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.14007f6e0
nop
lea rcx, [rbp + 0x58]
call fcn.14000a070
nop
lea rcx, [rbp + 0x98]
call fcn.14000a070
nop
lea rcx, [rbp + 0x38]
call fcn.14000a070
nop
test rbx, rbx
je 0x1400816f9
mov rcx, rbx
call qword [rbp + Ordinal_41]
nop
jmp 0x14008112c
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.1400819e0
nop
jmp 0x14008111e
mov dword [rsi], 0xc0000225
mov byte [rsi + 0x58], 0
jmp 0x14008111e
call fcn.140011b70
int3