Function at 0x1400361a4
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
sub rsp, 0x208
mov rax, qword [0x1401a95d8]
xor rax, rsp
mov qword [rsp + 0x1f0], rax
mov byte [rsp + 0x60], 0
mov qword [rsp + 0x78], 0
mov qword [rsp + 0xa0], 0
mov qword [rsp + 0xa8], 0
call fcn.14002a410
mov dword [rsp + 0xd8], eax
mov byte [rsp + 0x61], 0
movzx eax, byte [rsp + 0x248]
test eax, eax
je 0x1400362ce
call fcn.1400a0a30
mov rdx, rax
lea rcx, [rsp + 0xe0]
call fcn.140040598
nop
mov r9b, byte [rsp + 0x240]
lea r8, [rsp + 0xe0]
lea rdx, [rsp + 0x78]
mov ecx, dword [rsp + 0xd8]
call fcn.140034de0
movzx eax, al
test eax, eax
je 0x1400362ad
cmp qword [rsp + 0x78], 0
je 0x1400362ad
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 1
mov r9d, 2
xor r8d, r8d
mov edx, 0x2000000
mov rcx, qword [rsp + 0x78]
call fcn.1400a8230
test eax, eax
je 0x1400362ad
xor r8d, r8d
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0xa0]
call fcn.1400a8334
test eax, eax
je 0x1400362ad
mov byte [rsp + 0x61], 1
mov rax, qword [rsp + 0xe0]
sub rax, 0x18
mov qword [rsp + 0x120], rax
mov rcx, qword [rsp + 0x120]
call fcn.1400a1424
movzx eax, byte [rsp + 0x248]
test eax, eax
je 0x1400362ea
movzx eax, byte [rsp + 0x61]
test eax, eax
jne 0x1400362ea
xor al, al
jmp 0x140036cf5
mov eax, 1
imul rax, rax, 6
mov byte [rsp + rax + 0x1a0], 0x33
mov eax, 1
imul rax, rax, 7
mov byte [rsp + rax + 0x1a0], 0x32
mov eax, 1
imul rax, rax, 4
mov byte [rsp + rax + 0x1a0], 0x65
mov eax, 1
imul rax, rax, 2
mov byte [rsp + rax + 0x1a0], WSAStartup
mov eax, 1
imul rax, rax, 8
mov byte [rsp + rax + 0x1a0], 0x2e
mov eax, 1
imul rax, rax, 0
mov byte [rsp + rax + 0x1a0], 0x4b
mov eax, 1
imul rax, rax, 0xa
mov byte [rsp + rax + 0x1a0], WSAStartup
mov eax, 1
imul rax, rax, 0xb
mov byte [rsp + rax + 0x1a0], WSAStartup
mov eax, 1
imul rax, rax, 9
mov byte [rsp + rax + 0x1a0], 0x64
mov eax, 1
imul rax, rax, 5
mov byte [rsp + rax + 0x1a0], WSAStartup
mov eax, 1
imul rax, rax, 1
mov byte [rsp + rax + 0x1a0], 0x65
mov eax, 1
imul rax, rax, 3
mov byte [rsp + rax + 0x1a0], WSAStartup
mov eax, 1
imul rax, rax, 0xc
mov qword [rsp + 0xe8], rax
cmp qword [rsp + 0xe8], 0xd
jae 0x1400363d4
jmp 0x1400363d9
call fcn.140171264
mov rax, qword [rsp + 0xe8]
mov byte [rsp + rax + 0x1a0], 0
lea rcx, [rsp + 0x1a0]
call fcn.1400ac9b4
mov qword [rsp + 0xb0], rax
cmp qword [rsp + 0xb0], 0
je 0x1400367eb
mov eax, 1
imul rax, rax, 9
mov byte [rsp + rax + 0x1c0], 0x43
mov eax, 1
imul rax, rax, 0xe
mov byte [rsp + rax + 0x1c0], 0x78
mov eax, 1
imul rax, rax, 0
mov byte [rsp + rax + 0x1c0], 0x53
mov eax, 1
imul rax, rax, 0xf
mov byte [rsp + rax + 0x1c0], reloc.WS2_32.dll_WSACleanup
mov eax, 1
imul rax, rax, 0x10
mov qword [rsp + 0xf0], rax
cmp qword [rsp + 0xf0], 0x11
jae 0x14003646f
jmp 0x140036474
call fcn.140171264
mov rax, qword [rsp + 0xf0]
mov byte [rsp + rax + 0x1c0], 0
mov eax, 1
imul rax, rax, 0xa
mov byte [rsp + rax + 0x1c0], reloc.WS2_32.dll_WSAGetLastError
mov eax, 1
imul rax, rax, 2
mov byte [rsp + rax + 0x1c0], reloc.WS2_32.dll_WSACleanup
mov eax, 1
imul rax, rax, 8
mov byte [rsp + rax + 0x1c0], 0x64
mov eax, 1
imul rax, rax, 7
mov byte [rsp + rax + 0x1c0], 0x61
mov eax, 1
imul rax, rax, 4
mov byte [rsp + rax + 0x1c0], WSAGetLastError
mov eax, 1
imul rax, rax, 5
mov byte [rsp + rax + 0x1c0], WSAStartup
mov eax, 1
imul rax, rax, 6
mov byte [rsp + rax + 0x1c0], 0x65
mov eax, 1
imul rax, rax, 0xc
mov byte [rsp + rax + 0x1c0], reloc.WS2_32.dll_WSACleanup
mov eax, 1
imul rax, rax, 1
mov byte [rsp + rax + 0x1c0], 0x65
mov eax, 1
imul rax, rax, 3
mov byte [rsp + rax + 0x1c0], 0x54
mov eax, 1
imul rax, rax, 0xd
mov byte [rsp + rax + 0x1c0], 0x65
mov eax, 1
imul rax, rax, 0xb
mov byte [rsp + rax + 0x1c0], WSAStartup
lea rdx, [rsp + 0x1c0]
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401aa380], rax
mov eax, 1
imul rax, rax, 1
mov byte [rsp + rax + 0x1b0], 0x65
mov eax, 1
imul rax, rax, 7
mov byte [rsp + rax + 0x1b0], WSAGetLastError
mov eax, 1
imul rax, rax, 5
mov byte [rsp + rax + 0x1b0], 0x65
mov eax, 1
imul rax, rax, 0xb
mov byte [rsp + rax + 0x1b0], 0x64
mov eax, 1
imul rax, rax, 8
mov byte [rsp + rax + 0x1b0], WSAStartup
mov eax, 1
imul rax, rax, 4
mov byte [rsp + rax + 0x1b0], WSAStartup
mov eax, 1
imul rax, rax, 9
mov byte [rsp + rax + 0x1b0], 0x65
mov eax, 1
imul rax, rax, 2
mov byte [rsp + rax + 0x1b0], reloc.WS2_32.dll_WSAStartup
mov eax, 1
imul rax, rax, 3
mov byte [rsp + rax + 0x1b0], 0x75
mov eax, 1
imul rax, rax, 0
mov byte [rsp + rax + 0x1b0], 0x52
mov eax, 1
imul rax, rax, 0xa
mov byte [rsp + rax + 0x1b0], 0x61
mov eax, 1
imul rax, rax, 6
mov byte [rsp + rax + 0x1b0], 0x54
mov eax, 1
imul rax, rax, 0xc
mov qword [rsp + 0xf8], rax
cmp qword [rsp + 0xf8], 0xd
jae 0x140036657
jmp 0x14003665c
call fcn.140171264
mov rax, qword [rsp + 0xf8]
mov byte [rsp + rax + 0x1b0], 0
lea rdx, [rsp + 0x1b0]
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401aa388], rax
mov eax, 1
imul rax, rax, 0xa
mov byte [rsp + rax + 0x1d8], WSAStartup
mov eax, 1
imul rax, rax, 9
mov byte [rsp + rax + 0x1d8], 0x50
mov eax, 1
imul rax, rax, 0xb
mov byte [rsp + rax + 0x1d8], reloc.WS2_32.dll_WSAGetLastError
mov eax, 1
imul rax, rax, 3
mov byte [rsp + rax + 0x1d8], WSAStartup
mov eax, 1
imul rax, rax, 0x10
mov qword [rsp + 0x100], rax
cmp qword [rsp + 0x100], 0x11
jae 0x1400366eb
jmp 0x1400366f0
call fcn.140171264
mov rax, qword [rsp + 0x100]
mov byte [rsp + rax + 0x1d8], 0
mov eax, 1
imul rax, rax, 4
mov byte [rsp + rax + 0x1d8], WSASetLastError
mov eax, 1
imul rax, rax, 6
mov byte [rsp + rax + 0x1d8], 0x61
mov eax, 1
imul rax, rax, 2
mov byte [rsp + rax + 0x1d8], WSAStartup
mov eax, 1
imul rax, rax, 0xd
mov byte [rsp + rax + 0x1d8], 0x65
mov eax, 1
imul rax, rax, 8
mov byte [rsp + rax + 0x1d8], 0x65
mov eax, 1
imul rax, rax, 0xc
mov byte [rsp + rax + 0x1d8], 0x63
mov eax, 1
imul rax, rax, 7
mov byte [rsp + rax + 0x1d8], reloc.WS2_32.dll_WSACleanup
mov eax, 1
imul rax, rax, 1
mov byte [rsp + rax + 0x1d8], 0x65
mov eax, 1
imul rax, rax, 5
mov byte [rsp + rax + 0x1d8], WSAStartup
mov eax, 1
imul rax, rax, 0xf
mov byte [rsp + rax + 0x1d8], reloc.WS2_32.dll_WSAStartup
mov eax, 1
imul rax, rax, 0xe
mov byte [rsp + rax + 0x1d8], reloc.WS2_32.dll_WSAStartup
mov eax, 1
imul rax, rax, 0
mov byte [rsp + rax + 0x1d8], 0x54
lea rdx, [rsp + 0x1d8]
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401aa390], rax
jmp 0x1400367f2
xor al, al
jmp 0x140036cf5
mov rax, qword [rsp + 0x210]
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x108]
movzx eax, word [rax]
cmp eax, 0x5a4d
jne 0x140036c8e
mov rax, qword [rsp + 0x108]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x210]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
cmp dword [rax], 0x4550
jne 0x140036c8e
lea rdx, [rsp + 0x88]
mov rcx, qword [rsp + 0x218]
call fcn.1400a855c
mov rax, qword [rsp + 0x68]
movzx eax, word [rax + 4]
cmp eax, 0x14c
jne 0x140036877
cmp dword [rsp + 0x88], 0
jne 0x140036891
mov rax, qword [rsp + 0x68]
movzx eax, word [rax + 4]
cmp eax, 0x8664
jne 0x14003689a
cmp dword [rsp + 0x88], 6
je 0x14003689a
mov al, byte [rsp + 0x60]
jmp 0x140036cf5
mov r8d, 0x18
xor edx, edx
lea rcx, [rsp + 0xc0]
call fcn.140172be0
mov r8d, 0x68
xor edx, edx
lea rcx, [rsp + 0x130]
call fcn.140172be0
mov dword [rsp + 0x130], WSASetLastError
mov dword [rsp + 0x16c], 0x101
xor eax, eax
mov word [rsp + 0x170], ax
movzx eax, byte [rsp + 0x248]
test eax, eax
je 0x140036962
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x130]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], 0
mov rax, qword [rsp + 0xa0]
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 + 0x220]
mov rdx, qword [rsp + 0x218]
mov rcx, qword [rsp + 0xa8]
call fcn.1400a8410
mov dword [rsp + 0x8c], eax
jmp 0x1400369c0
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x130]
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 + 0x220]
mov rcx, qword [rsp + 0x218]
call fcn.1400abb70
mov dword [rsp + 0x8c], eax
cmp dword [rsp + 0x8c], 0
je 0x140036c8e
mov r9d, 4
mov r8d, 0x1000
mov edx, recv
xor ecx, ecx
call fcn.1400aabac
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x30], 0x100002
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0xc8]
call fcn.1400a92b0
test eax, eax
je 0x140036c7e
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x88]
add rax, 0x10
mov qword [rsp + 0x20], 0
mov r9d, 8
lea r8, [rsp + 0x110]
mov rdx, rax
mov rcx, qword [rsp + 0xc0]
call fcn.1400a942c
mov eax, dword [rsp + 0x110]
mov rcx, qword [rsp + 0x68]
cmp rax, qword [rcx + 0x30]
jne 0x140036a82
mov rdx, qword [rsp + 0x110]
mov rcx, qword [rsp + 0xc0]
call fcn.1400abab0
mov dword [rsp + 0x118], eax
movzx eax, byte [rsp + 0x238]
test eax, eax
je 0x140036a9b
mov dword [rsp + 0x90], 0x40
jmp 0x140036aa6
mov dword [rsp + 0x90], 4
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0xdc], eax
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 0x50]
mov ecx, dword [rsp + 0xdc]
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 + 0xc0]
call fcn.1400aac7c
mov qword [rsp + 0xb8], rax
cmp qword [rsp + 0xb8], 0
je 0x140036c6c
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 0x54]
mov qword [rsp + 0x20], 0
mov r9d, eax
mov r8, qword [rsp + 0x210]
mov rdx, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0xc0]
call fcn.1400a91c8
mov rax, qword [rsp + 0x68]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x68]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x98], rax
mov dword [rsp + 0x70], 0
jmp 0x140036b5d
mov eax, dword [rsp + 0x70]
inc eax
mov dword [rsp + 0x70], eax
mov rax, qword [rsp + 0x68]
movzx eax, word [rax + 6]
cmp dword [rsp + 0x70], eax
jge 0x140036bde
mov rax, qword [rsp + 0x98]
mov eax, dword [rax + 0x10]
mov rcx, qword [rsp + 0x98]
mov ecx, dword [rcx + 0x14]
mov rdx, qword [rsp + 0x210]
add rdx, rcx
mov rcx, rdx
mov rdx, qword [rsp + 0x98]
mov edx, dword [rdx + 0xc]
mov r8, qword [rsp + 0xb8]
add r8, rdx
mov rdx, r8
mov qword [rsp + 0x20], 0
mov r9d, eax
mov r8, rcx
mov rcx, qword [rsp + 0xc0]
call fcn.1400a91c8
mov rax, qword [rsp + 0x98]
add rax, 0x28
mov qword [rsp + 0x98], rax
jmp 0x140036b53
mov rax, qword [rsp + 0x68]
add rax, 0x30
mov rcx, qword [rsp + 0x80]
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 + 0xc0]
call fcn.1400a91c8
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 0x28]
mov rcx, qword [rsp + 0xb8]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x80]
mov qword [rcx + 0x80], rax
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0xc8]
call qword [0x1401aa380]
mov rcx, qword [rsp + 0xc8]
call qword [0x1401aa388]
mov byte [rsp + 0x60], 1
jmp 0x140036c7c
xor edx, edx
mov rcx, qword [rsp + 0xc0]
call qword [0x1401aa390]
jmp 0x140036c8e
xor edx, edx
mov rcx, qword [rsp + 0xc0]
call qword [0x1401aa390]
cmp qword [rsp + 0xa0], 0
je 0x140036cb2
mov rcx, qword [rsp + 0xa0]
call fcn.1400ac548
mov qword [rsp + 0xa0], 0
cmp qword [rsp + 0xa8], 0
je 0x140036cd6
mov rcx, qword [rsp + 0xa8]
call fcn.1400ab79c
mov qword [rsp + 0xa8], 0
cmp qword [rsp + 0x78], 0
je 0x140036cf1
mov rcx, qword [rsp + 0x78]
call fcn.1400ab79c
mov qword [rsp + 0x78], 0
mov al, byte [rsp + 0x60]
mov rcx, qword [rsp + 0x1f0]
xor rcx, rsp
call fcn.140171490
add rsp, 0x208
ret