Function at 0x1800194d4
Capabilities:
Enumerate pe sections
Parse pe header
Resolve function by hash
Resolve function by parsing pe exports

Disassembly:
push rbp
push rbx
sub rsp, 0x108
lea rbp, [rsp + 0x80]
mov qword [rbp + 0xa0], rcx
mov qword [rbp + 0x78], 0
mov qword [rbp + 0x70], 0
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x60], 0
call fcn.180019e41
mov qword [rbp + 0x50], rax
mov rax, qword [rbp + 0x50]
movzx eax, word [rax]
cmp ax, 0x5a4d
jne 0x180019555
mov rax, qword [rbp + 0x50]
mov eax, dword [rax + 0x3c]
cdqe
mov qword [rbp + 0x10], rax
cmp qword [rbp + 0x10], 0x3f
jbe 0x180019555
cmp qword [rbp + 0x10], 0x3ff
ja 0x180019555
mov rax, qword [rbp + 0x50]
add qword [rbp + 0x10], rax
mov rax, qword [rbp + 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x18001955c
sub qword [rbp + 0x50], 1
jmp 0x180019515
nop
mov dword [rbp - 0x14], 0x60
mov eax, dword [rbp - 0x14]
mov rax, qword gs:[rax]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov rax, qword [rax + 0x18]
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov rax, qword [rax + 0x20]
mov qword [rbp + 0x38], rax
jmp 0x180019932
mov rax, qword [rbp + 0x38]
mov rax, qword [rax + 0x50]
mov qword [rbp + 0x30], rax
mov rax, qword [rbp + 0x38]
movzx eax, word [rax + 0x48]
mov word [rbp + 0x5e], ax
mov qword [rbp + 0x28], 0
mov rax, qword [rbp + 0x28]
mov dword [rbp - 0x24], eax
mov eax, dword [rbp - 0x24]
mov dword [rbp - 0x28], eax
mov dword [rbp - 0x2c], reloc.WS2_32.dll_listen
and dword [rbp - 0x2c], 0x1f
mov eax, dword [rbp - 0x2c]
mov edx, dword [rbp - 0x28]
mov ecx, eax
ror edx, cl
mov eax, edx
nop
mov eax, eax
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x30]
movzx eax, byte [rax]
cmp al, 0x60
jbe 0x1800195ff
mov rax, qword [rbp + 0x30]
movzx eax, byte [rax]
movzx eax, al
sub eax, 0x20
cdqe
add qword [rbp + 0x28], rax
jmp 0x18001960d
mov rax, qword [rbp + 0x30]
movzx eax, byte [rax]
movzx eax, al
add qword [rbp + 0x28], rax
add qword [rbp + 0x30], 1
sub word [rbp + 0x5e], 1
cmp word [rbp + 0x5e], 0
jne 0x1800195b4
mov rax, qword [rbp + 0x28]
cmp eax, 0x6a4abc5b
jne 0x1800197c0
mov rax, qword [rbp + 0x38]
mov rax, qword [rax + 0x20]
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 8]
add rax, rdx
mov qword [rbp], rax
mov rax, qword [rbp]
add rax, 0x88
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x48]
mov eax, dword [rax]
mov edx, eax
mov rax, qword [rbp + 8]
add rax, rdx
mov qword [rbp], rax
mov rax, qword [rbp]
mov eax, dword [rax + 0x20]
mov edx, eax
mov rax, qword [rbp + 8]
add rax, rdx
mov qword [rbp + 0x48], rax
mov rax, qword [rbp]
mov eax, dword [rax + 0x24]
mov edx, eax
mov rax, qword [rbp + 8]
add rax, rdx
mov qword [rbp + 0x40], rax
mov word [rbp + 0x5e], 3
jmp 0x1800197b0
mov rax, qword [rbp + 0x48]
mov eax, dword [rax]
mov edx, eax
mov rax, qword [rbp + 8]
add rax, rdx
mov qword [rbp - 0x38], rax
mov ebx, 0
mov dword [rbp - 0x3c], ebx
mov eax, dword [rbp - 0x3c]
mov dword [rbp - 0x40], eax
mov dword [rbp - 0x44], reloc.WS2_32.dll_listen
and dword [rbp - 0x44], 0x1f
mov eax, dword [rbp - 0x44]
mov edx, dword [rbp - 0x40]
mov ecx, eax
ror edx, cl
mov eax, edx
nop
mov ebx, eax
mov rax, qword [rbp - 0x38]
movzx eax, byte [rax]
movsx eax, al
add ebx, eax
add qword [rbp - 0x38], 1
mov rax, qword [rbp - 0x38]
movzx eax, byte [rax]
test al, al
jne 0x1800196ba
mov eax, ebx
mov dword [rbp - 4], eax
cmp dword [rbp - 4], 0xec0e4e8e
je 0x18001971d
cmp dword [rbp - 4], 0x7c0dfcaa
je 0x18001971d
cmp dword [rbp - 4], 0x91afca54
jne 0x1800197a6
mov rax, qword [rbp]
mov eax, dword [rax + 0x1c]
mov edx, eax
mov rax, qword [rbp + 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp + 0x40]
movzx eax, word [rax]
movzx eax, ax
shl rax, 2
add qword [rbp - 0x10], rax
cmp dword [rbp - 4], 0xec0e4e8e
jne 0x180019761
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
mov edx, eax
mov rax, qword [rbp + 8]
add rax, rdx
mov qword [rbp + 0x78], rax
jmp 0x18001979b
cmp dword [rbp - 4], 0x7c0dfcaa
jne 0x18001977f
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
mov edx, eax
mov rax, qword [rbp + 8]
add rax, rdx
mov qword [rbp + 0x70], rax
jmp 0x18001979b
cmp dword [rbp - 4], 0x91afca54
jne 0x18001979b
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
mov edx, eax
mov rax, qword [rbp + 8]
add rax, rdx
mov qword [rbp + 0x68], rax
movzx eax, word [rbp + 0x5e]
sub eax, 1
mov word [rbp + 0x5e], ax
add qword [rbp + 0x48], 4
add qword [rbp + 0x40], 2
cmp word [rbp + 0x5e], 0
jne 0x1800196a2
jmp 0x18001990b
mov rax, qword [rbp + 0x28]
cmp eax, 0x3cfa685d
jne 0x18001990b
mov rax, qword [rbp + 0x38]
mov rax, qword [rax + 0x20]
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 8]
add rax, rdx
mov qword [rbp], rax
mov rax, qword [rbp]
add rax, 0x88
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x48]
mov eax, dword [rax]
mov edx, eax
mov rax, qword [rbp + 8]
add rax, rdx
mov qword [rbp], rax
mov rax, qword [rbp]
mov eax, dword [rax + 0x20]
mov edx, eax
mov rax, qword [rbp + 8]
add rax, rdx
mov qword [rbp + 0x48], rax
mov rax, qword [rbp]
mov eax, dword [rax + 0x24]
mov edx, eax
mov rax, qword [rbp + 8]
add rax, rdx
mov qword [rbp + 0x40], rax
mov word [rbp + 0x5e], 1
jmp 0x180019900
mov rax, qword [rbp + 0x48]
mov eax, dword [rax]
mov edx, eax
mov rax, qword [rbp + 8]
add rax, rdx
mov qword [rbp - 0x50], rax
mov ebx, 0
mov dword [rbp - 0x54], ebx
mov eax, dword [rbp - 0x54]
mov dword [rbp - 0x58], eax
mov dword [rbp - 0x5c], reloc.WS2_32.dll_listen
and dword [rbp - 0x5c], 0x1f
mov eax, dword [rbp - 0x5c]
mov edx, dword [rbp - 0x58]
mov ecx, eax
ror edx, cl
mov eax, edx
nop
mov ebx, eax
mov rax, qword [rbp - 0x50]
movzx eax, byte [rax]
movsx eax, al
add ebx, eax
add qword [rbp - 0x50], 1
mov rax, qword [rbp - 0x50]
movzx eax, byte [rax]
test al, al
jne 0x18001985c
mov eax, ebx
mov dword [rbp - 4], eax
cmp dword [rbp - 4], 0x534c0ab8
jne 0x1800198f6
mov rax, qword [rbp]
mov eax, dword [rax + 0x1c]
mov edx, eax
mov rax, qword [rbp + 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp + 0x40]
movzx eax, word [rax]
movzx eax, ax
shl rax, 2
add qword [rbp - 0x10], rax
cmp dword [rbp - 4], 0x534c0ab8
jne 0x1800198eb
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
mov edx, eax
mov rax, qword [rbp + 8]
add rax, rdx
mov qword [rbp + 0x60], rax
movzx eax, word [rbp + 0x5e]
sub eax, 1
mov word [rbp + 0x5e], ax
add qword [rbp + 0x48], 4
add qword [rbp + 0x40], 2
cmp word [rbp + 0x5e], 0
jne 0x180019844
cmp qword [rbp + 0x78], 0
je 0x180019927
cmp qword [rbp + 0x70], 0
je 0x180019927
cmp qword [rbp + 0x68], 0
je 0x180019927
cmp qword [rbp + 0x60], 0
jne 0x18001993f
mov rax, qword [rbp + 0x38]
mov rax, qword [rax]
mov qword [rbp + 0x38], rax
cmp qword [rbp + 0x38], 0
jne 0x180019594
jmp 0x180019940
nop
mov rax, qword [rbp + 0x50]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x50]
add rax, rdx
mov qword [rbp + 0x10], rax
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x50]
mov edx, eax
mov rax, qword [rbp + 0x68]
mov r9d, 0x40
mov r8d, 0x3000
mov ecx, 0
call rax
mov qword [rbp + 8], rax
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x54]
mov eax, eax
mov qword [rbp + 0x38], rax
mov rax, qword [rbp + 0x50]
mov qword [rbp + 0x30], rax
mov rax, qword [rbp + 8]
mov qword [rbp + 0x28], rax
jmp 0x1800199bb
mov rax, qword [rbp + 0x30]
lea rdx, [rax + 1]
mov qword [rbp + 0x30], rdx
mov rcx, rax
mov rax, qword [rbp + 0x28]
lea rdx, [rax + 1]
mov qword [rbp + 0x28], rdx
mov rdx, rax
movzx eax, byte [rcx]
mov byte [rdx], al
mov rax, qword [rbp + 0x38]
lea rdx, [rax - 1]
mov qword [rbp + 0x38], rdx
test rax, rax
jne 0x180019998
mov rax, qword [rbp + 0x10]
add rax, 0x18
mov rdx, rax
mov rax, qword [rbp + 0x10]
movzx eax, word [rax + 0x14]
movzx eax, ax
add rax, rdx
mov qword [rbp + 0x38], rax
mov rax, qword [rbp + 0x10]
movzx eax, word [rax + 6]
movzx eax, ax
mov qword [rbp + 0x18], rax
jmp 0x180019a6a
mov rax, qword [rbp + 0x38]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 8]
add rax, rdx
mov qword [rbp + 0x30], rax
mov rax, qword [rbp + 0x38]
mov eax, dword [rax + 0x14]
mov edx, eax
mov rax, qword [rbp + 0x50]
add rax, rdx
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x38]
mov eax, dword [rax + 0x10]
mov eax, eax
mov qword [rbp + 0x20], rax
jmp 0x180019a54
mov rax, qword [rbp + 0x28]
lea rdx, [rax + 1]
mov qword [rbp + 0x28], rdx
mov rcx, rax
mov rax, qword [rbp + 0x30]
lea rdx, [rax + 1]
mov qword [rbp + 0x30], rdx
mov rdx, rax
movzx eax, byte [rcx]
mov byte [rdx], al
mov rax, qword [rbp + 0x20]
lea rdx, [rax - 1]
mov qword [rbp + 0x20], rdx
test rax, rax
jne 0x180019a31
add qword [rbp + 0x38], 0x28
mov rax, qword [rbp + 0x18]
lea rdx, [rax - 1]
mov qword [rbp + 0x18], rdx
test rax, rax
jne 0x1800199fa
mov rax, qword [rbp + 0x10]
add rax, 0x90
mov qword [rbp + 0x30], rax
mov rax, qword [rbp + 0x30]
mov eax, dword [rax]
mov edx, eax
mov rax, qword [rbp + 8]
add rax, rdx
mov qword [rbp + 0x28], rax
jmp 0x180019be7
mov rax, qword [rbp + 0x28]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 8]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x78]
mov rcx, rdx
call rax
mov qword [rbp + 0x50], rax
mov rax, qword [rbp + 0x28]
mov eax, dword [rax]
mov edx, eax
mov rax, qword [rbp + 8]
add rax, rdx
mov qword [rbp + 0x20], rax
mov rax, qword [rbp + 0x28]
mov eax, dword [rax + 0x10]
mov edx, eax
mov rax, qword [rbp + 8]
add rax, rdx
mov qword [rbp + 0x38], rax
jmp 0x180019bd2
cmp qword [rbp + 0x20], 0
je 0x180019b8f
mov rax, qword [rbp + 0x20]
mov rax, qword [rax]
test rax, rax
jns 0x180019b8f
mov rax, qword [rbp + 0x50]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x50]
add rax, rdx
mov qword [rbp], rax
mov rax, qword [rbp]
add rax, 0x88
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x48]
mov eax, dword [rax]
mov edx, eax
mov rax, qword [rbp + 0x50]
add rax, rdx
mov qword [rbp], rax
mov rax, qword [rbp]
mov eax, dword [rax + 0x1c]
mov edx, eax
mov rax, qword [rbp + 0x50]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp + 0x20]
mov rax, qword [rax]
movzx edx, ax
mov rax, qword [rbp]
mov eax, dword [rax + 0x10]
mov ecx, eax
mov rax, rdx
sub rax, rcx
shl rax, 2
add qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [rbp + 0x38]
mov rdx, qword [rbp + 0x50]
add rdx, rcx
mov qword [rax], rdx
jmp 0x180019bc1
mov rax, qword [rbp + 0x38]
mov rdx, qword [rax]
mov rax, qword [rbp + 8]
add rax, rdx
mov qword [rbp + 0x30], rax
mov rax, qword [rbp + 0x30]
lea rdx, [rax + 2]
mov rax, qword [rbp + 0x50]
mov r8, qword [rbp + 0x70]
mov rcx, rax
call r8
mov rdx, rax
mov rax, qword [rbp + 0x38]
mov qword [rax], rdx
add qword [rbp + 0x38], 8
cmp qword [rbp + 0x20], 0
je 0x180019bd2
add qword [rbp + 0x20], 8
mov rax, qword [rbp + 0x38]
mov rax, qword [rax]
test rax, rax
jne 0x180019af1
add qword [rbp + 0x28], 0x14
mov rax, qword [rbp + 0x28]
mov eax, dword [rax + 0xc]
test eax, eax
jne 0x180019aa5
mov rax, qword [rbp + 0x10]
mov rax, qword [rax + 0x30]
mov rdx, qword [rbp + 8]
sub rdx, rax
mov qword [rbp + 0x50], rdx
mov rax, qword [rbp + 0x10]
add rax, 0xb0
mov qword [rbp + 0x30], rax
mov rax, qword [rbp + 0x30]
mov eax, dword [rax + 4]
test eax, eax
je 0x180019dea
mov rax, qword [rbp + 0x30]
mov eax, dword [rax]
mov edx, eax
mov rax, qword [rbp + 8]
add rax, rdx
mov qword [rbp + 0x28], rax
jmp 0x180019ddb
mov rax, qword [rbp + 0x28]
mov eax, dword [rax]
mov edx, eax
mov rax, qword [rbp + 8]
add rax, rdx
mov qword [rbp + 0x38], rax
mov rax, qword [rbp + 0x28]
mov eax, dword [rax + 4]
mov eax, eax
sub rax, 8
shr rax, 1
mov qword [rbp + 0x30], rax
mov rax, qword [rbp + 0x28]
add rax, 8
mov qword [rbp + 0x20], rax
jmp 0x180019db9
mov rax, qword [rbp + 0x20]
movzx eax, byte [rax + 1]
and eax, 0xfffffff0
cmp al, 0xa0
jne 0x180019cc4
mov rax, qword [rbp + 0x20]
movzx eax, word [rax]
and ax, 0xfff
movzx edx, ax
mov rax, qword [rbp + 0x38]
add rax, rdx
mov rdx, qword [rax]
mov rax, qword [rbp + 0x20]
movzx eax, word [rax]
and ax, 0xfff
movzx ecx, ax
mov rax, qword [rbp + 0x38]
add rax, rcx
mov rcx, rax
mov rax, qword [rbp + 0x50]
add rax, rdx
mov qword [rcx], rax
jmp 0x180019db4
mov rax, qword [rbp + 0x20]
movzx eax, byte [rax + 1]
and eax, 0xfffffff0
cmp al, 0x30
jne 0x180019d14
mov rax, qword [rbp + 0x20]
movzx eax, word [rax]
and ax, 0xfff
movzx edx, ax
mov rax, qword [rbp + 0x38]
add rax, rdx
mov edx, dword [rax]
mov rax, qword [rbp + 0x50]
mov r8d, eax
mov rax, qword [rbp + 0x20]
movzx eax, word [rax]
and ax, 0xfff
movzx ecx, ax
mov rax, qword [rbp + 0x38]
add rax, rcx
mov rcx, rax
lea eax, [rdx + r8]
mov dword [rcx], eax
jmp 0x180019db4
mov rax, qword [rbp + 0x20]
movzx eax, byte [rax + 1]
and eax, 0xfffffff0
cmp al, 0x10
jne 0x180019d67
mov rax, qword [rbp + 0x20]
movzx eax, word [rax]
and ax, 0xfff
movzx edx, ax
mov rax, qword [rbp + 0x38]
add rax, rdx
movzx ecx, word [rax]
mov rax, qword [rbp + 0x50]
shr rax, 0x10
mov r8d, eax
mov rax, qword [rbp + 0x20]
movzx eax, word [rax]
and ax, 0xfff
movzx edx, ax
mov rax, qword [rbp + 0x38]
add rax, rdx
mov rdx, rax
lea eax, [rcx + r8]
mov word [rdx], ax
jmp 0x180019db4
mov rax, qword [rbp + 0x20]
movzx eax, byte [rax + 1]
and eax, 0xfffffff0
cmp al, 0x20
jne 0x180019db4
mov rax, qword [rbp + 0x20]
movzx eax, word [rax]
and ax, 0xfff
movzx edx, ax
mov rax, qword [rbp + 0x38]
add rax, rdx
movzx ecx, word [rax]
mov rax, qword [rbp + 0x50]
mov r8d, eax
mov rax, qword [rbp + 0x20]
movzx eax, word [rax]
and ax, 0xfff
movzx edx, ax
mov rax, qword [rbp + 0x38]
add rax, rdx
mov rdx, rax
lea eax, [rcx + r8]
mov word [rdx], ax
add qword [rbp + 0x20], 2
mov rax, qword [rbp + 0x30]
lea rdx, [rax - 1]
mov qword [rbp + 0x30], rdx
test rax, rax
jne 0x180019c76
mov rax, qword [rbp + 0x28]
mov eax, dword [rax + 4]
mov eax, eax
add qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
mov eax, dword [rax + 4]
test eax, eax
jne 0x180019c3e
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x28]
mov edx, eax
mov rax, qword [rbp + 8]
add rax, rdx
mov qword [rbp + 0x38], rax
mov rax, qword [rbp + 0x60]
mov r8d, 0
mov edx, 0
mov rcx, 0xffffffffffffffff
call rax
mov r9, qword [rbp + 0x38]
mov rax, qword [rbp + 8]
mov rdx, qword [rbp + 0xa0]
mov r8, rdx
mov edx, 1
mov rcx, rax
call r9
mov rax, qword [rbp + 0x38]
add rsp, 0x108
pop rbx
pop rbp
ret