Function at 0x1800187d0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x24], 0
mov qword [rsp + 0x48], 0
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x38], rax
ja 0x18001884d
push rdx
pop rdx
jbe 0x18001884d
sbb al, 0xd6
cdq
cdq
imul edx, dword [rdx + 0x365a691c], 0x61d61c65
cmpsb byte [rsi], byte [rdi]
mov esp, 0xe06136bc
invalid
mov rax, qword [rsp + 0x38]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x180018866
mov eax, 1
jmp 0x180018ae4
mov rax, qword [rsp + 0x38]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
jge 0x1800188ab
invalid
push rdx
push rdx
pop rdx
pop rdx
jl 0x1800188ab
loopne 0x1800188bf
pop rdx
loopne 0x18001886c
mov esp, 0x1c8b5a5a
invalid
mov rax, qword [rsp + 0x30]
cmp dword [rax], 0x4550
je 0x1800188c2
mov eax, 1
jmp 0x180018ae4
add al, byte [rax]
add bh, al
and al, 0x20
add byte [rax], al
add byte [rax], al
mov dword [rsp + 0x20], 0
jmp 0x1800188d6
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 6]
cmp dword [rsp + 0x20], eax
jae 0x180018ab9
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x30]
lea rax, [rcx + rax + 0x18]
mov ecx, dword [rsp + 0x20]
imul rcx, rcx, 0x28
add rax, rcx
mov qword [rsp + 0x40], rax
jo 0x180018938
push rdx
push rbx
push rbx
push rax
pop rax
pop rbx
pop rbx
pop rdx
jno 0x180018938
mov edx, esi
invalid
mov r8d, setsockopt
xor edx, edx
lea rcx, [rsp + 0x50]
call qword [0x180020038]
jne 0x180018977
nop
je 0x180018977
invalid
mov rax, qword [rsp + 0x40]
mov r8d, 8
mov rdx, rax
lea rcx, [rsp + 0x50]
call qword [0x180020110]
jne 0x1800189bc
push rsp
pop rsp
je 0x1800189bc
imul esp, dword [rbp - 0x6e], 0x569c792
invalid
jne 0x1800189e8
push rsp
push rsp
pop rsp
pop rsp
je 0x1800189e8
cdq
enter 0x6105, 0xffffffffffffff92
loopne 0x180018a32
mov edi, dword [rcx + rbp*2 - 0x74599a9f]
cdq
invalid
lea rdx, [0x180020300]
lea rcx, [rsp + 0x50]
call qword [0x1800203c0]
test eax, eax
jne 0x180018ab4
mov dword [rsp + 0x24], 1
jae 0x180018a36
push rdi
push rbp
nop
pop rbp
pop rdi
jb 0x180018a36
imul edi, dword [rdx + rdx*4 + 0x615a8b8b], 0xbce061c7
loopne 0x180018a57
invalid
enter 0x61a6, 0x69
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
jnp 0x180018a7a
push rdx
push rdx
push rsi
push rcx
pop rcx
pop rsi
pop rdx
pop rdx
jp 0x180018a7a
mov esp, 0x99c892c8
cmpsb byte [rsi], byte [rdi]
sbb al, 0x5a
pop rdx
cdq
add eax, 0xc81cd692
loopne 0x180018aa1
xchg edx, eax
invalid
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x28], eax
jle 0x180018ab2
nop
jg 0x180018ab2
cdq
cdq
imul edx, esi, 0xc8926561
add eax, 0x61361cc7
sbb al, 5
add eax, 0x8b8b92c8
imul edi, dword [rdx + rbx*2 + 0x36e0368b], 0x3605a6bc
mov esp, 0xe0c85a99
imul eax, edi, 0xe905eb05
adc edi, esi
invalid
pop rdx
mov esi, dword [rsi]
loopne 0x180018adc
mov esp, 0xbc3605a6
cdq
pop rdx
enter 0x69e0, 0xffffffffffffffc7
add eax, 0x13e905eb
invalid
jmp 0x180018ab9
jmp 0x1800188cc
cmp dword [rsp + 0x24], 0
jne 0x180018ac7
mov eax, 1
jmp 0x180018ae4
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x48]
mov qword [rax], rcx
mov rax, qword [rsp + 0x80]
mov ecx, dword [rsp + 0x28]
mov dword [rax], ecx
xor eax, eax
add rsp, 0x68
ret