Function at 0x140088250
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 - 0x390]
sub rsp, 0x490
mov rax, qword [0x14024a650]
xor rax, rsp
mov qword [rbp + 0x380], rax
mov qword [rsp + 0x48], r9
mov r15, r8
mov qword [rsp + 0x40], r8
mov r14, rdx
mov r13, rcx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rdx
mov rax, qword [rbp + 0x3f0]
mov qword [rsp + 0x38], rax
xor edi, edi
mov qword [rbp + 0x10], rdi
mov qword [rbp + 0x18], rdi
mov qword [rbp + 0x28], rdi
mov qword [rbp + 0x30], 7
mov word [rbp + 0x18], di
mov qword [rbp + 0x38], rdi
mov qword [rbp + 0x48], rdi
mov qword [rbp + 0x50], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x38], dil
mov dword [rbp + 0x58], edi
mov rsi, qword [r8]
test rsi, rsi
jne 0x1400882f1
mov dword [rdx], 0xc00000ef
mov byte [rdx + 0x58], sil
jmp 0x140088748
xorps xmm0, xmm0
movups xmmword [rbp + 0x90], xmm0
lea rax, [fcn.140113ba4]
mov qword [rbp + 0x90], rax
mov rbx, rdi
mov qword [rbp + 0x98], rbx
movups xmmword [rbp + 0x130], xmm0
movups xmmword [rbp + 0x140], xmm0
movups xmmword [rbp + 0x150], xmm0
movups xmmword [rbp + 0x160], xmm0
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0x170]
call fcn.14010f790
mov rax, qword [r13 + 8]
mov qword [rbp + 0xe8], rdi
mov rax, qword [rax + 0x70]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
lea rdx, [rbp + 0xe8]
mov qword [rsp + 0x20], rdx
mov r9d, 0x40
lea r8, [rbp + 0x130]
mov rdx, rsi
call qword [rax + Ordinal_26]
mov eax, 0x5a4d
cmp word [rbp + 0x130], ax
je 0x140088397
mov dword [r14], 0xc000012f
mov byte [r14 + 0x58], 0
jmp 0x140088748
mov rax, qword [r13 + 8]
movsxd rdx, dword [rbp + 0x16c]
add rdx, qword [r15]
mov qword [rbp + 0xf0], rdi
je 0x1400883e0
mov rax, qword [rax + 0x70]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
lea r8, [rbp + 0xf0]
mov qword [rsp + 0x20], r8
mov r9d, 0x108
lea r8, [rbp + 0x170]
call qword [rax + Ordinal_26]
nop word [rax + rax]
cmp dword [rbp + 0x170], 0x4550
je 0x1400883fd
mov dword [r14], 0xc000007b
mov byte [r14 + 0x58], 0
jmp 0x140088748
mov r15d, dword [rbp + 0x1f8]
mov ecx, 0x10b
mov rax, qword [rbp + 0x188]
cmp ax, cx
cmove r15d, dword [rbp + 0x1e8]
mov r13d, r15d
test r15d, r15d
je 0x14008872e
mov r12d, dword [rbp + 0x1fc]
cmp ax, cx
cmove r12d, dword [rbp + 0x1ec]
mov esi, r12d
mov qword [rbp + 0x80], rsi
mov ecx, r12d
call fcn.140124af0
mov rbx, rax
mov qword [rbp + 0x98], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 8]
mov rax, qword [rsp + 0x40]
mov rdx, qword [rax]
mov qword [rbp + 0xf8], rdi
add rdx, r13
jne 0x140088479
mov eax, 0xc0000141
jmp 0x14008849d
mov rax, qword [rcx + 0x70]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
lea r8, [rbp + 0xf8]
mov qword [rsp + 0x20], r8
mov r9, rsi
mov r8, rbx
call qword [rax + Ordinal_26]
test eax, eax
jns 0x1400884aa
mov dword [r14], eax
mov byte [r14 + 0x58], 0
jmp 0x14008873a
mov rsi, rbx
cmp r12d, 0x28
ja 0x14008854e
mov ecx, dword [rbx + 0x14]
cmp ecx, dword [rbx + 0x18]
cmovbe ecx, dword [rbx + 0x18]
imul eax, ecx, 0xff
add eax, dword [rbx + 0x24]
sub eax, r15d
mov r15d, eax
mov qword [rbp + 0x80], r15
mov ecx, eax
call fcn.140124af0
mov rsi, rax
mov rcx, rbx
mov rbx, rax
mov qword [rbp + 0x98], rax
test rcx, rcx
je 0x1400884f9
call fcn.140113ba4
nop
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 8]
mov rax, qword [rsp + 0x40]
mov rdx, qword [rax]
mov qword [rbp + 0x100], rdi
add rdx, r13
jne 0x14008851d
mov eax, 0xc0000141
jmp 0x140088541
mov rax, qword [rcx + 0x70]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
lea r8, [rbp + 0x100]
mov qword [rsp + 0x20], r8
mov r9, r15
mov r8, rsi
call qword [rax + Ordinal_26]
test eax, eax
jns 0x14008854e
mov dword [r14], eax
mov byte [r14 + 0x58], 0
jmp 0x14008873a
mov r11d, dword [rsi + 0x24]
sub r11, r13
add r11, rsi
mov r15d, dword [rsi + 0x20]
sub r15, r13
add r15, rsi
mov eax, dword [rsi + 0x1c]
sub rax, r13
add rax, rsi
mov qword [rbp + 0xc0], rax
mov r9d, edi
mov r12d, dword [rsi + 0x14]
test r12d, r12d
je 0x14008872e
mov rdx, qword [rsp + 0x48]
nop word [rax + rax]
cmp rdx, 0xffff
ja 0x1400886e0
movzx r10d, r9w
mov ecx, r10d
add ecx, dword [rsi + 0x10]
movzx eax, dx
cmp eax, ecx
jne 0x140088722
mov rax, qword [rsp + 0x40]
mov rdx, qword [rax]
movzx eax, r10w
mov rcx, qword [rbp + 0xc0]
mov esi, dword [rcx + rax*4]
add rsi, rdx
mov qword [rbp + 0x10], rsi
lea rax, [rdx + r13]
cmp rsi, rax
jb 0x140088ccc
lea rax, [rdx + r13]
add rax, qword [rbp + 0x80]
cmp rsi, rax
ja 0x140088ccc
xor edx, edx
mov r8d, 0xff
lea rcx, [rbp + 0x280]
call fcn.14010f790
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx + 8]
mov qword [rbp + 0xc0], rdi
test rsi, rsi
je 0x140088650
mov rax, qword [rax + 0x70]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
lea rdx, [rbp + 0xc0]
mov qword [rsp + 0x20], rdx
mov r9d, 0xff
lea r8, [rbp + 0x280]
mov rdx, rsi
call qword [rax + Ordinal_26]
nop dword [rax]
nop word [rax + rax]
mov qword [rbp + 0x60], rdi
mov qword [rbp + 0x70], rdi
mov qword [rbp + 0x78], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x60], 0
lea rax, [rbp + 0x280]
mov rsi, 0xffffffffffffffff
mov r8, rsi
inc r8
cmp byte [rax + r8], 0
jne 0x140088675
lea rdx, [rbp + 0x280]
lea rcx, [rbp + 0x60]
call fcn.140008ae0
nop
lea r15, [rbp + 0x60]
cmp qword [rbp + 0x78], 0x10
cmovae r15, qword [rbp + 0x60]
mov r13, qword [rbp + 0x70]
cmp r13, 1
jb 0x1400887b3
lea r12, [r15 + r13]
mov r8, r13
mov edx, reloc.WLDAP32.dll_Ordinal_46
mov rcx, r15
call fcn.14010fa60
test rax, rax
je 0x1400887b3
nop dword [rax]
cmp byte [rax], 0x2e
jne 0x140088787
mov ecx, edi
jmp 0x14008878c
cmp r9d, dword [rsi + 0x18]
jae 0x140088d2b
mov eax, r9d
movzx r10d, word [r11 + rax*2]
mov ecx, dword [r15 + rax*4]
sub rcx, r13
add rcx, rsi
mov r8, rdx
sub r8, rcx
movzx edx, byte [rcx]
movzx eax, byte [rcx + r8]
sub edx, eax
jne 0x140088715
inc rcx
test eax, eax
jne 0x140088702
test edx, edx
je 0x1400885b2
mov rdx, qword [rsp + 0x48]
inc r9d
cmp r9d, r12d
jb 0x140088590
mov dword [r14], 0xc0000225
mov byte [r14 + 0x58], 0
test rbx, rbx
je 0x140088748
mov rcx, rbx
call fcn.140113ba4
nop
lea rcx, [rbp + 0x38]
call fcn.140008a80
lea rcx, [rbp + 0x18]
call fcn.140084d60
mov rax, r14
mov rcx, qword [rbp + 0x380]
xor rcx, rsp
call fcn.14010cca0
mov rbx, qword [rsp + 0x4e8]
add rsp, 0x490
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
sbb ecx, ecx
or ecx, 1
test ecx, ecx
je 0x140088889
inc rax
mov r8, r12
sub r8, rax
mov edx, reloc.WLDAP32.dll_Ordinal_46
mov rcx, rax
call fcn.14010fa60
test rax, rax
jne 0x1400886d0
mov rax, rsi
mov qword [rsp + 0x50], rdi
movdqa xmm0, xmmword [0x14022bce0]
movdqu xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x50], 0
cmp r13, rax
cmovb rax, r13
lea rdx, [rbp + 0x60]
cmp qword [rbp + 0x78], 0x10
cmovae rdx, qword [rbp + 0x60]
mov r8, rax
lea rcx, [rsp + 0x50]
call fcn.140008ae0
nop
mov r8d, 4
lea rdx, str..dll
lea rcx, [rsp + 0x50]
call fcn.140008c40
mov qword [rbp + 0x108], rdi
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x118], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x108], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x118], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rcx, [rsp + 0x50]
call fcn.140008a80
lea r13, [rbp + 0x60]
mov rdx, qword [rbp + 0x60]
mov r9, qword [rbp + 0x78]
cmp r9, 0x10
cmovae r13, rdx
mov r12, qword [rbp + 0x70]
cmp r12, 1
jb 0x1400888c1
lea r15, [r12 + r13]
mov r8, r12
mov edx, reloc.WLDAP32.dll_Ordinal_46
mov rcx, r13
call fcn.14010fa60
test rax, rax
je 0x1400888b9
nop
cmp byte [rax], 0x2e
jne 0x140088891
mov ecx, edi
jmp 0x140088896
sub rax, r15
jmp 0x1400887b6
sbb ecx, ecx
or ecx, 1
test ecx, ecx
je 0x1400889a0
inc rax
mov r8, r15
sub r8, rax
mov edx, reloc.WLDAP32.dll_Ordinal_46
mov rcx, rax
call fcn.14010fa60
test rax, rax
jne 0x140088880
mov rdx, qword [rbp + 0x60]
mov r9, qword [rbp + 0x78]
mov rax, rsi
lea rcx, [rax + 1]
mov qword [rbp + 0xa0], rdi
mov qword [rbp + 0xb0], rdi
mov qword [rbp + 0xb8], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0xa0], 0
cmp r12, rcx
jb 0x140088d3c
sub r12, rcx
mov r8, rsi
cmp r12, rsi
cmovb r8, r12
lea rax, [rbp + 0x60]
cmp r9, 0x10
cmovae rax, rdx
lea rdx, [rax + rcx]
lea rcx, [rbp + 0xa0]
call fcn.140008ae0
nop
lea rdx, [rbp + 0x108]
lea rcx, [rbp + 0xc8]
call fcn.140087180
nop
mov byte [rbp + 0x5a], 1
lea rdx, [rbp + 0xc8]
cmp qword [rbp + 0xe0], 8
cmovae rdx, qword [rbp + 0xc8]
mov r8, qword [rbp + 0xd8]
lea rcx, [rbp + 0x18]
call fcn.140084dd0
lea r12, [rbp + 0xa0]
cmp qword [rbp + 0xb8], 0x10
cmovae r12, qword [rbp + 0xa0]
mov r13, qword [rbp + 0xb0]
cmp r13, 1
jb 0x1400889d8
lea r15, [r12 + r13]
mov r8, r13
mov edx, reloc.WLDAP32.dll_Ordinal_35
mov rcx, r12
call fcn.14010fa60
test rax, rax
je 0x1400889d8
cmp byte [rax], 0x23
jne 0x1400889b0
mov ecx, edi
jmp 0x1400889b5
sub rax, r13
mov rdx, qword [rbp + 0x60]
mov r9, qword [rbp + 0x78]
jmp 0x1400888c4
sbb ecx, ecx
or ecx, 1
test ecx, ecx
je 0x140088b31
inc rax
mov r8, r15
sub r8, rax
mov edx, reloc.WLDAP32.dll_Ordinal_35
mov rcx, rax
call fcn.14010fa60
test rax, rax
jne 0x140088997
mov byte [rbp + 0x5b], 0
lea rdx, [rbp + 0xa0]
cmp qword [rbp + 0xb8], 0x10
cmovae rdx, qword [rbp + 0xa0]
mov r8, r13
lea rcx, [rbp + 0x38]
call fcn.140008ae0
movzx r15d, byte [rbp + 0x5b]
movzx r12d, word [rbp + 0x58]
mov eax, 0x10b
cmp word [rbp + 0x188], ax
setne dil
xorps xmm0, xmm0
movups xmmword [rbp + 0x80], xmm0
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], edi
xor r9d, r9d
lea r8, [rbp + 0xc8]
lea rdx, [rbp + 0x80]
mov rdi, qword [rsp + 0x30]
mov rcx, rdi
call fcn.140087cf0
nop
cmp qword [rbp + 0x80], 0
jne 0x140088b70
lea rax, [rbp - 0x40]
mov qword [rsp + 0x38], rax
mov rax, qword [rbp + 0x10]
mov qword [rbp - 0x40], rax
lea rdx, [rbp + 0x18]
lea rcx, [rbp - 0x38]
call fcn.140084c30
nop
lea rdx, [rbp + 0x38]
lea rcx, [rbp - 0x18]
call fcn.1400084e0
movzx eax, word [rbp + 0x58]
mov word [rbp + 8], ax
movzx eax, byte [rbp + 0x5a]
mov byte [rbp + 0xa], al
movzx eax, byte [rbp + 0x5b]
mov byte [rbp + 0xb], al
mov r8d, 0x107
lea rdx, [rbp - 0x40]
mov rcx, r14
call fcn.14008aa00
nop
mov rdi, qword [rbp + 0x88]
test rdi, rdi
je 0x140088aed
mov eax, esi
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x140088ae6
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock xadd dword [rdi + 0xc], esi
cmp esi, 1
jne 0x140088ae6
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_htonl]
mov rbx, qword [rbp + 0x98]
lea rcx, [rbp + 0xc8]
call fcn.140084d60
nop
lea rcx, [rbp + 0xa0]
call fcn.140008a80
nop
lea rcx, [rbp + 0x108]
call fcn.140008a80
nop
lea rcx, [rbp + 0x60]
call fcn.140008a80
nop
test rbx, rbx
je 0x140088b2c
mov rcx, rbx
call fcn.140113ba4
nop
jmp 0x140088748
sub rax, r12
sete r15b
mov byte [rbp + 0x5b], r15b
test rax, rax
jne 0x1400889dc
lea rcx, [rbp + 0xa0]
cmp qword [rbp + 0xb8], 0x10
cmovae rcx, qword [rbp + 0xa0]
inc rcx
call fcn.140124ee4
mov r12d, eax
mov word [rbp + 0x58], ax
jmp 0x140088a09
lea rax, [rbp + 0xc8]
lea r8, [rbp + 0x80]
mov rdx, r14
mov rcx, rdi
test r15b, r15b
je 0x140088c1c
cmp qword [rbp + 0xe0], 8
cmovae rax, qword [rbp + 0xc8]
movzx r9d, r12w
mov qword [rsp + 0x20], rax
call fcn.140088220
nop
mov rdi, qword [rbp + 0x88]
test rdi, rdi
je 0x140088be6
mov eax, esi
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x140088bdf
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock xadd dword [rdi + 0xc], esi
cmp esi, 1
jne 0x140088bdf
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_htonl]
mov rbx, qword [rbp + 0x98]
lea rcx, [rbp + 0xc8]
call fcn.140084d60
nop
lea rcx, [rbp + 0xa0]
call fcn.140008a80
nop
lea rcx, [rbp + 0x108]
call fcn.140008a80
nop
lea rcx, [rbp + 0x60]
call fcn.140008a80
nop
jmp 0x140088cb9
cmp qword [rbp + 0xe0], 8
cmovae rax, qword [rbp + 0xc8]
lea r9, [rbp + 0xa0]
cmp qword [rbp + 0xb8], 0x10
cmovae r9, qword [rbp + 0xa0]
mov qword [rsp + 0x20], rax
call fcn.140088220
nop
mov rdi, qword [rbp + 0x88]
test rdi, rdi
je 0x140088c88
mov eax, esi
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x140088c81
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock xadd dword [rdi + 0xc], esi
cmp esi, 1
jne 0x140088c81
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_htonl]
mov rbx, qword [rbp + 0x98]
lea rcx, [rbp + 0xc8]
call fcn.140084d60
nop
lea rcx, [rbp + 0xa0]
call fcn.140008a80
nop
lea rcx, [rbp + 0x108]
call fcn.140008a80
nop
lea rcx, [rbp + 0x60]
call fcn.140008a80
nop
test rbx, rbx
je 0x140088cc7
mov rcx, rbx
call fcn.140113ba4
nop
jmp 0x140088748
mov qword [rsp + 0x70], rsi
movups xmm0, xmmword [rbp + 0x18]
movups xmmword [rsp + 0x78], xmm0
movups xmm1, xmmword [rbp + 0x28]
movups xmmword [rbp - 0x78], xmm1
mov qword [rbp + 0x28], rdi
mov qword [rbp + 0x30], 7
mov word [rbp + 0x18], di
movups xmm0, xmmword [rbp + 0x38]
movups xmmword [rbp - 0x68], xmm0
movups xmm1, xmmword [rbp + 0x48]
movups xmmword [rbp - 0x58], xmm1
mov qword [rbp + 0x48], rdi
mov qword [rbp + 0x50], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x38], 0
mov dword [rbp - 0x48], edi
xor r8d, r8d
lea rdx, [rsp + 0x70]
mov rcx, r14
call fcn.14008aa00
nop
jmp 0x14008873a
mov dword [r14], 0xc0000225
mov byte [r14 + 0x58], 0
jmp 0x14008873a
call fcn.140010720
int3