Function at 0x140036124
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 [0x1401b05d8]
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.14002a390
mov dword [rsp + 0xd8], eax
mov byte [rsp + 0x61], 0
movzx eax, byte [rsp + 0x248]
test eax, eax
je 0x14003624e
call fcn.1400a115c
mov rdx, rax
lea rcx, [rsp + 0xe0]
call fcn.140040518
nop
mov r9b, byte [rsp + 0x240]
lea r8, [rsp + 0xe0]
lea rdx, [rsp + 0x78]
mov ecx, dword [rsp + 0xd8]
call fcn.140034d60
movzx eax, al
test eax, eax
je 0x14003622d
cmp qword [rsp + 0x78], 0
je 0x14003622d
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.1400a8af8
test eax, eax
je 0x14003622d
xor r8d, r8d
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0xa0]
call fcn.1400a8bfc
test eax, eax
je 0x14003622d
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.1400a1b50
movzx eax, byte [rsp + 0x248]
test eax, eax
je 0x14003626a
movzx eax, byte [rsp + 0x61]
test eax, eax
jne 0x14003626a
xor al, al
jmp 0x140036c75
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 0x140036354
jmp 0x140036359
call fcn.1401766c8
mov rax, qword [rsp + 0xe8]
mov byte [rsp + rax + 0x1a0], 0
lea rcx, [rsp + 0x1a0]
call fcn.1400ad27c
mov qword [rsp + 0xb0], rax
cmp qword [rsp + 0xb0], 0
je 0x14003676b
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 0x1400363ef
jmp 0x1400363f4
call fcn.1401766c8
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 [0x1401b1380], 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 0x1400365d7
jmp 0x1400365dc
call fcn.1401766c8
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 [0x1401b1388], 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 0x14003666b
jmp 0x140036670
call fcn.1401766c8
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 [0x1401b1390], rax
jmp 0x140036772
xor al, al
jmp 0x140036c75
mov rax, qword [rsp + 0x210]
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x108]
movzx eax, word [rax]
cmp eax, 0x5a4d
jne 0x140036c0e
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 0x140036c0e
lea rdx, [rsp + 0x88]
mov rcx, qword [rsp + 0x218]
call fcn.1400a8e24
mov rax, qword [rsp + 0x68]
movzx eax, word [rax + 4]
cmp eax, 0x14c
jne 0x1400367f7
cmp dword [rsp + 0x88], 0
jne 0x140036811
mov rax, qword [rsp + 0x68]
movzx eax, word [rax + 4]
cmp eax, 0x8664
jne 0x14003681a
cmp dword [rsp + 0x88], 6
je 0x14003681a
mov al, byte [rsp + 0x60]
jmp 0x140036c75
mov r8d, 0x18
xor edx, edx
lea rcx, [rsp + 0xc0]
call fcn.140178040
mov r8d, 0x68
xor edx, edx
lea rcx, [rsp + 0x130]
call fcn.140178040
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 0x1400368e2
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.1400a8cd8
mov dword [rsp + 0x8c], eax
jmp 0x140036940
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.1400ac438
mov dword [rsp + 0x8c], eax
cmp dword [rsp + 0x8c], 0
je 0x140036c0e
mov r9d, 4
mov r8d, 0x1000
mov edx, recv
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 0x140036bfe
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.1400a9cf4
mov eax, dword [rsp + 0x110]
mov rcx, qword [rsp + 0x68]
cmp rax, qword [rcx + 0x30]
jne 0x140036a02
mov rdx, qword [rsp + 0x110]
mov rcx, qword [rsp + 0xc0]
call fcn.1400ac378
mov dword [rsp + 0x118], eax
movzx eax, byte [rsp + 0x238]
test eax, eax
je 0x140036a1b
mov dword [rsp + 0x90], 0x40
jmp 0x140036a26
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.1400ab544
mov qword [rsp + 0xb8], rax
cmp qword [rsp + 0xb8], 0
je 0x140036bec
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.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 0x140036add
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 0x140036b5e
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.1400a9a90
mov rax, qword [rsp + 0x98]
add rax, 0x28
mov qword [rsp + 0x98], rax
jmp 0x140036ad3
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.1400a9a90
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 [0x1401b1380]
mov rcx, qword [rsp + 0xc8]
call qword [0x1401b1388]
mov byte [rsp + 0x60], 1
jmp 0x140036bfc
xor edx, edx
mov rcx, qword [rsp + 0xc0]
call qword [0x1401b1390]
jmp 0x140036c0e
xor edx, edx
mov rcx, qword [rsp + 0xc0]
call qword [0x1401b1390]
cmp qword [rsp + 0xa0], 0
je 0x140036c32
mov rcx, qword [rsp + 0xa0]
call fcn.1400ace10
mov qword [rsp + 0xa0], 0
cmp qword [rsp + 0xa8], 0
je 0x140036c56
mov rcx, qword [rsp + 0xa8]
call fcn.1400ac064
mov qword [rsp + 0xa8], 0
cmp qword [rsp + 0x78], 0
je 0x140036c71
mov rcx, qword [rsp + 0x78]
call fcn.1400ac064
mov qword [rsp + 0x78], 0
mov al, byte [rsp + 0x60]
mov rcx, qword [rsp + 0x1f0]
xor rcx, rsp
call fcn.1401768f0
add rsp, 0x208
ret