Function at 0x180018f00
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x288
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
and al, 0x38
add byte [rax], al
add byte [rax], al
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x68], 0
jbe 0x180018f7b
nop
ja 0x180018f7b
xchg edx, eax
pop rdx
loopne 0x180018f2e
cmpsb byte [rsi], byte [rdi]
invalid
call fcn.180018550
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x180018f97
mov eax, 1
jmp 0x18001963e
jp 0x180018fc3
jnp 0x180018fc3
xchg edx, eax
imul ebx, dword ss:[rdx + rbx*2], 0x6569c8e0
xchg edx, eax
invalid
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x180018fe6
mov eax, 1
jmp 0x18001963e
jle 0x180019012
push rcx
pop rcx
jg 0x180019012
imul esp, eax, 0xa61ce0a6
imul esi, dword [rsi], 0xe0a636c8
invalid
mov rax, qword [rsp + 0x40]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
cmp dword [rax], 0x4550
je 0x180019042
mov eax, 1
jmp 0x18001963e
jnp 0x18001906e
push rsi
push rsi
push rdx
pop rdx
pop rsi
pop rsi
jp 0x18001906e
invalid
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x1800190a5
mov eax, 1
jmp 0x18001963e
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
ja 0x1800190e9
push rax
push rsp
push rdi
nop
pop rdi
pop rsp
pop rax
jbe 0x1800190e9
imul ecx, dword [rbx - 0x66296697], 0x1c92a68b
invalid
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
jo 0x18001912d
push rsi
push rbx
push rsp
nop
pop rsp
pop rbx
pop rsi
jno 0x18001912d
invalid
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
je 0x180019171
push rsi
pop rsi
jne 0x180019171
invalid
mov r8d, 0x3000
xor edx, edx
lea rcx, [0x180020810]
call qword [0x180020038]
jae 0x1800191b2
push rdi
push rsi
push rbp
push rsi
pop rsi
pop rbp
pop rsi
pop rdi
jb 0x1800191b2
add eax, 0x1c699265
mov dword [0x112076868], 0x5c7d665
enter 0x3699, 0x1c
cdq
sbb al, 0x36
invalid
mov dword [0x1800207fc], 0
mov dword [rsp + 0x24], 0
jmp 0x1800191d0
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x14]
cmp dword [rsp + 0x24], eax
jae 0x1800195ee
mov qword [rsp + 0x38], 0
jb 0x180019217
push rax
pop rax
jae 0x180019217
enter 0xffffffffffffa6d6, 0xffffffffffffffe0
mov ebp, dword [rcx - 0x6e]
xchg edx, eax
cmpsb byte [rsi], byte [rdi]
sbb al, 0xc7
invalid
mov dword [rsp + 0x20], 0
jmp 0x18001922b
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x18]
cmp dword [rsp + 0x20], eax
jae 0x1800192cb
jne 0x180019269
je 0x180019269
mov esp, 0x693669e0
invalid
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x58]
movzx eax, word [rcx + rax*2]
cmp eax, dword [rsp + 0x24]
jne 0x1800192c6
ja 0x1800192a8
push rbx
push rbp
push rbx
pop rbx
pop rbp
pop rbx
jbe 0x1800192a8
sbb al, 0x65
cmpsb byte [rsi], byte [rdi]
cdq
invalid
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x60]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
jmp 0x1800192cb
jmp 0x180019221
cmp qword [rsp + 0x38], 0
je 0x1800195e9
jle 0x180019303
push rax
nop
pop rax
jg 0x180019303
pop rdx
cmpsb byte [rsi], byte [rdi]
invalid
mov eax, 1
imul rax, rax, 0
mov byte [rsp + rax + 0x50], 0x5a
jns 0x18001933d
push rsi
push rdi
push rdx
nop
pop rdx
pop rdi
pop rsi
js 0x18001933d
mov dword [0x10b379906], 0xd6c7d6d6
invalid
mov eax, 1
imul rax, rax, 1
mov byte [rsp + rax + 0x50], 0x77
je 0x180019377
jne 0x180019377
cdq
invalid
mov eax, 1
imul rax, rax, 2
mov byte [rsp + rax + 0x50], 0
mov r8d, 2
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x38]
call qword [0x1800201d0]
test eax, eax
jne 0x1800195e9
jge 0x1800193cf
push rdx
push rsi
push rdx
push rdi
pop rdi
pop rdx
pop rsi
pop rdx
jl 0x1800193cf
invalid
cmp dword [0x1800207fc], 0x400
jb 0x1800193e5
mov eax, 1
jmp 0x18001963e
mov r8d, 0x200
xor edx, edx
lea rcx, [rsp + 0x80]
call qword [0x180020038]
mov r8d, 0x1ff
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x80]
call qword [0x1800200b8]
jl 0x180019440
jge 0x180019440
mov esp, 0x9999c899
enter 0xffffffffffffd65a, 0x61
cmpsb byte [rsi], byte [rdi]
sbb al, 0xa6
mov edx, dword gs:[rdx - 0x667443e4]
invalid
mov eax, 1
imul rax, rax, 0
mov byte [rsp + rax + 0x80], 0x4e
jge 0x18001947d
jl 0x18001947d
sbb al, 0x1c
cdq
invalid
mov eax, 1
imul rax, rax, 1
mov byte [rsp + rax + 0x80], reloc.WS2_32.dll_WSACleanup
jp 0x1800194ba
push rdi
nop
pop rdi
jnp 0x1800194ba
cdq
invalid
mov eax, dword [0x1800207fc]
imul rax, rax, 0xc
lea rcx, [0x180020810]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x38]
call qword [0x1800200d0]
mov rcx, qword [rsp + 0x70]
mov r8, rcx
mov edx, eax
mov rcx, qword [rsp + 0x38]
call fcn.180018620
jle 0x180019521
cmp al, ch
sub esi, ecx
invalid
push rbx
push rsp
nop
pop rsp
pop rbx
jg 0x180019521
cmpsb byte [rsi], byte [rdi]
loopne 0x18001956a
sbb al, 0xbc
enter 0xffffffffffffbc92, 0xffffffffffffffc8
imul edi, dword [rsp + rdi*4 - 0x74743897], 0xa6d6651c
enter 0xffffffffffffe099, 0xffffffffffffffc8
cmpsb byte [rsi], byte [rdi]
loopne 0x1800194ef
cdq
invalid
mov eax, dword [0x1800207fc]
imul rax, rax, 0xc
lea rcx, [0x180020810]
lea rax, [rcx + rax + 4]
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0x80]
call qword [0x1800200d0]
mov rcx, qword [rsp + 0x78]
mov r8, rcx
mov edx, eax
lea rcx, [rsp + 0x80]
call fcn.180018620
jl 0x18001958d
push rcx
push rdi
push rsp
nop
pop rsp
pop rdi
pop rcx
jge 0x18001958d
loopne 0x180019573
add eax, 0x5a61e05a
pop rdx
mov esp, 0xc8d6691c
xchg edx, eax
invalid
mov eax, dword [rsp + 0x24]
mov ecx, dword [0x1800207fc]
imul rcx, rcx, 0xc
lea rdx, [0x180020810]
mov r8, qword [rsp + 0x68]
mov eax, dword [r8 + rax*4]
mov dword [rdx + rcx + 8], eax
jl 0x1800195db
push rbx
push rax
push rcx
nop
pop rcx
pop rax
pop rbx
jge 0x1800195db
cmpsb byte [rsi], byte [rdi]
imul ecx, eax, 0xc83669c7
mov esp, 0x1c69928b
mov edi, dword [rdi + rax*8 + 0x36a68b8b]
pop rdx
pop rdx
mov edi, dword [rsp + rbx - 0x749a4339]
enter 0xffffffffffff8bc7, 5
sbb esi, dword [rdx]
add bh, bh
ror byte [rcx + 0x721305], 0
mov eax, dword [0x1800207fc]
inc eax
mov dword [0x1800207fc], eax
jmp 0x1800191c6
jp 0x18001961a
push rdi
push rsi
pop rsi
pop rdi
jnp 0x18001961a
xchg edx, eax
mov eax, edi
cdq
sbb al, 0x65
pop rdx
invalid
mov eax, dword [0x1800207fc]
lea r9, [0x180018e00]
mov r8d, listen
mov edx, eax
lea rcx, [0x180020810]
call qword [0x180020418]
xor eax, eax
add rsp, 0x288
ret