Function at 0x140005740
Capabilities:
Contain obfuscated stackstrings
Create new key via cryptacquirecontext

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov byte [rsp + 0x30], 0
xor ebx, ebx
mov byte [rsp + 0x31], 0x47
mov rdi, rcx
mov byte [rsp + 0x32], 0x7d
mov byte [rsp + 0x33], 0x3b
mov byte [rsp + 0x34], 0x61
mov byte [rsp + 0x35], 0x40
mov byte [rsp + 0x36], WSAGetLastError
mov byte [rsp + 0x37], 0x40
mov byte [rsp + 0x38], 0x5c
mov byte [rsp + 0x39], 0x77
mov byte [rsp + 0x3a], 0x54
mov byte [rsp + 0x3b], WSAGetLastError
mov byte [rsp + 0x3c], gethostname
mov byte [rsp + 0x3d], WSAStartup
mov byte [rsp + 0x3e], 0x25
mov byte [rsp + 0x3f], gethostname
mov byte [rsp + 0x40], 0x3b
mov byte [rsp + 0x41], 0x51
mov byte [rsp + 0x42], 0x46
mov byte [rsp + 0x43], 0x54
mov byte [rsp + 0x44], 0x7e
mov byte [rsp + 0x45], 0xa
mov byte [rsp + 0x46], 0x42
mov byte [rsp + 0x47], 0x54
mov byte [rsp + 0x48], 0x25
mov byte [rsp + 0x49], gethostname
mov byte [rsp + 0x4a], 0x46
mov byte [rsp + 0x4b], 0x54
mov byte [rsp + 0x4c], 0x42
mov byte [rsp + 0x4d], WSAGetLastError
mov byte [rsp + 0x4e], 0xa
mov byte [rsp + 0x4f], 0x54
mov byte [rsp + 0x50], 0x58
mov byte [rsp + 0x51], 0x61
mov byte [rsp + 0x52], 0x2f
mov byte [rsp + 0x53], 0x4b
mov byte [rsp + 0x54], 0x77
mov byte [rsp + 0x55], 0x40
mov byte [rsp + 0x56], 0x67
mov byte [rsp + 0x57], 0x61
mov byte [rsp + 0x58], 0x25
mov byte [rsp + 0x59], 0x4b
mov byte [rsp + 0x5a], WSAStartup
mov byte [rsp + 0x5b], 0x7d
mov byte [rsp + 0x5c], 0x3b
mov byte [rsp + 0x5d], 0x54
mov byte [rsp + 0x5e], 0x68
mov byte [rsp + 0x5f], 0x61
mov byte [rsp + 0x60], 0x40
mov byte [rsp + 0x61], 0xe
mov byte [rsp + 0x62], 0x7d
mov byte [rsp + 0x63], 0x46
mov byte [rsp + 0x64], 0x51
mov byte [rsp + 0x65], 0x61
mov byte [rsp + 0x66], WSAStartup
movzx eax, byte [rsp + 0x31]
movzx eax, byte [rsp + 0x30]
test al, al
jne 0x1400058d1
mov r8d, ebx
movzx ecx, byte [rsp + r8 + 0x31]
mov eax, WSAStartup
sub eax, ecx
imul ecx, eax, 0x17
mov eax, 0x81020409
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x7f
sub ecx, eax
mov eax, 0x81020409
add ecx, 0x7f
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x7f
sub ecx, eax
mov byte [rsp + r8 + 0x31], cl
inc r8
cmp r8, 0x36
jb 0x140005880
mov r9d, 0x18
mov dword [rsp + 0x20], 0xf0000000
lea r8, [rsp + 0x31]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x140005d9e
mov byte [rsp + 0x68], bl
mov byte [rsp + 0x69], 0x28
mov byte [rsp + 0x6a], 0x4a
mov byte [rsp + 0x6b], 0x67
mov byte [rsp + 0x6c], 0x5e
mov byte [rsp + 0x6d], 0x2d
mov byte [rsp + 0x6e], 0x44
mov byte [rsp + 0x6f], 0x2d
mov byte [rsp + 0x70], 0x19
mov byte [rsp + 0x71], 0x2a
mov byte [rsp + 0x72], 0x43
mov byte [rsp + 0x73], 0x79
mov byte [rsp + 0x74], 0x47
mov byte [rsp + 0x75], 0x64
mov byte [rsp + 0x76], 0x1c
mov byte [rsp + 0x77], 0x47
mov byte [rsp + 0x78], 0x67
mov byte [rsp + 0x79], gethostbyname
mov byte [rsp + 0x7a], 0x4d
mov byte [rsp + 0x7b], 0x43
mov byte [rsp + 0x7c], 0x25
mov byte [rsp + 0x7d], inet_ntoa
mov byte [rsp + 0x7e], 0x62
mov byte [rsp + 0x7f], 0x43
mov byte [rbp - 0x80], 0x1c
mov byte [rbp - 0x7f], 0x47
mov byte [rbp - 0x7e], 0x4d
mov byte [rbp - 0x7d], 0x43
mov byte [rbp - 0x7c], 0x62
mov byte [rbp - 0x7b], 0x79
mov byte [rbp - 0x7a], inet_ntoa
mov byte [rbp - 0x79], 0x43
mov byte [rbp - 0x78], 0x2e
mov byte [rbp - 0x77], 0x5e
mov byte [rbp - 0x76], 0x27
mov byte [rbp - 0x75], shutdown
mov byte [rbp - 0x74], 0x2a
mov byte [rbp - 0x73], 0x2d
mov byte [rbp - 0x72], 0x7e
mov byte [rbp - 0x71], 0x5e
mov byte [rbp - 0x70], 0x1c
mov byte [rbp - 0x6f], shutdown
mov byte [rbp - 0x6e], 0x64
mov byte [rbp - 0x6d], 0x4a
mov byte [rbp - 0x6c], 0x67
mov byte [rbp - 0x6b], 0x43
mov byte [rbp - 0x6a], 0x59
mov byte [rbp - 0x69], 0x5e
mov byte [rbp - 0x68], 0x2d
mov byte [rbp - 0x67], 0x75
mov byte [rbp - 0x66], 0x4a
mov byte [rbp - 0x65], 0x4d
mov byte [rbp - 0x64], gethostbyname
mov byte [rbp - 0x63], 0x5e
mov byte [rbp - 0x62], 0xa
movzx eax, byte [rsp + 0x69]
movzx eax, byte [rsp + 0x68]
test al, al
jne 0x140005a51
mov r8, rbx
nop dword [rax + rax]
movzx ecx, byte [rsp + r8 + 0x69]
mov eax, 0xa
sub eax, ecx
imul ecx, eax, 0x2c
mov eax, 0x81020409
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x7f
sub ecx, eax
mov eax, 0x81020409
add ecx, 0x7f
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x7f
sub ecx, eax
mov byte [rsp + r8 + 0x69], cl
inc r8
cmp r8, 0x36
jb 0x140005a00
mov r9d, 0x18
mov dword [rsp + 0x20], 0xf0000008
lea r8, [rsp + 0x69]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x140005d9e
mov byte [rbp - 0x60], bl
mov byte [rbp - 0x5f], reloc.WS2_32.dll_gethostbyname
mov byte [rbp - 0x5e], 0x40
mov byte [rbp - 0x5d], 7
mov byte [rbp - 0x5c], 0x56
mov byte [rbp - 0x5b], 0x79
mov byte [rbp - 0x5a], 0x20
mov byte [rbp - 0x59], 0x79
mov byte [rbp - 0x58], 0x63
mov byte [rbp - 0x57], 0x69
mov byte [rbp - 0x56], 0x45
mov byte [rbp - 0x55], 0x67
mov byte [rbp - 0x54], 0x30
mov byte [rbp - 0x53], 0x76
mov byte [rbp - 0x52], reloc.WS2_32.dll_WSAStartup
mov byte [rbp - 0x51], 0x30
mov byte [rbp - 0x50], 7
mov byte [rbp - 0x4f], 0x1a
mov byte [rbp - 0x4e], 0x50
mov byte [rbp - 0x4d], 0x45
mov byte [rbp - 0x4c], 0x24
mov byte [rbp - 0x4b], WSAGetLastError
mov byte [rbp - 0x4a], 0x41
mov byte [rbp - 0x49], 0x45
mov byte [rbp - 0x48], reloc.WS2_32.dll_WSAStartup
mov byte [rbp - 0x47], 0x30
mov byte [rbp - 0x46], 0x50
mov byte [rbp - 0x45], 0x45
mov byte [rbp - 0x44], 0x41
mov byte [rbp - 0x43], 0x67
mov byte [rbp - 0x42], WSAGetLastError
mov byte [rbp - 0x41], 0x45
mov byte [rbp - 0x40], 0x54
mov byte [rbp - 0x3f], 0x56
mov byte [rbp - 0x3e], 0x59
mov byte [rbp - 0x3d], 0x43
mov byte [rbp - 0x3c], 0x69
mov byte [rbp - 0x3b], 0x79
mov byte [rbp - 0x3a], 0x2d
mov byte [rbp - 0x39], 0x56
mov byte [rbp - 0x38], reloc.WS2_32.dll_WSAStartup
mov byte [rbp - 0x37], 0x43
mov byte [rbp - 0x36], 0x76
mov byte [rbp - 0x35], 0x40
mov byte [rbp - 0x34], 7
mov byte [rbp - 0x33], 0x45
mov byte [rbp - 0x32], 0x11
mov byte [rbp - 0x31], 0x56
mov byte [rbp - 0x30], 0x79
mov byte [rbp - 0x2f], 0x7c
mov byte [rbp - 0x2e], 0x40
mov byte [rbp - 0x2d], 0x50
mov byte [rbp - 0x2c], 0x1a
mov byte [rbp - 0x2b], 0x56
mov byte [rbp - 0x2a], 0x45
mov byte [rbp - 0x29], setsockopt
mov byte [rbp - 0x28], 0x11
mov byte [rbp - 0x27], 0x56
mov byte [rbp - 0x26], 0x79
mov byte [rbp - 0x25], 0x69
mov byte [rbp - 0x24], 0x79
mov byte [rbp - 0x23], 0x69
mov byte [rbp - 0x22], 0x59
mov byte [rbp - 0x21], 0x43
mov byte [rbp - 0x20], 0x1a
mov byte [rbp - 0x1f], 0x5b
mov byte [rbp - 0x1e], shutdown
movzx eax, byte [rbp - 0x5f]
movzx eax, byte [rbp - 0x60]
test al, al
jne 0x140005bf4
mov r8, rbx
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [rbp + r8 - 0x5f]
mov eax, shutdown
sub eax, ecx
lea ecx, [rax + rax*4]
mov eax, 0x81020409
shl ecx, 3
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x7f
sub ecx, eax
mov eax, 0x81020409
add ecx, 0x7f
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x7f
sub ecx, eax
mov byte [rbp + r8 - 0x5f], cl
inc r8
cmp r8, 0x42
jb 0x140005ba0
mov r9d, 0x18
mov dword [rsp + 0x20], 0xf0000000
lea r8, [rbp - 0x5f]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x140005d9e
mov byte [rbp - 0x10], bl
mov byte [rbp - 0xf], 0x21
mov byte [rbp - 0xe], 0x75
mov byte [rbp - 0xd], 0x63
mov byte [rbp - 0xc], 0x11
mov byte [rbp - 0xb], 8
mov byte [rbp - 0xa], shutdown
mov byte [rbp - 9], 8
mov byte [rbp - 8], WSAGetLastError
mov byte [rbp - 7], reloc.WS2_32.dll_socket
mov byte [rbp - 6], 0x19
mov byte [rbp - 5], 9
mov byte [rbp - 4], 5
mov byte [rbp - 3], WSAStartup
mov byte [rbp - 2], 0x5d
mov byte [rbp - 1], 5
mov byte [rbp], 0x63
mov byte [rbp + 1], 0x69
mov byte [rbp + 2], 0x66
mov byte [rbp + 3], 0x19
mov byte [rbp + 4], 0x30
mov byte [rbp + 5], gethostbyname
mov byte [rbp + 6], 0x7c
mov byte [rbp + 7], 0x19
mov byte [rbp + 8], 0x5d
mov byte [rbp + 9], 5
mov byte [rbp + 0xa], 0x66
mov byte [rbp + 0xb], 0x19
mov byte [rbp + 0xc], 0x7c
mov byte [rbp + 0xd], 9
mov byte [rbp + 0xe], gethostbyname
mov byte [rbp + 0xf], 0x19
mov byte [rbp + 0x10], 3
mov byte [rbp + 0x11], 0x11
mov byte [rbp + 0x12], 0x26
mov byte [rbp + 0x13], inet_ntoa
mov byte [rbp + 0x14], reloc.WS2_32.dll_socket
mov byte [rbp + 0x15], 8
mov byte [rbp + 0x16], reloc.WS2_32.dll_WSAGetLastError
mov byte [rbp + 0x17], 0x11
mov byte [rbp + 0x18], 0x5d
mov byte [rbp + 0x19], inet_ntoa
mov byte [rbp + 0x1a], WSAStartup
mov byte [rbp + 0x1b], 0x75
mov byte [rbp + 0x1c], 0x63
mov byte [rbp + 0x1d], 0x19
mov byte [rbp + 0x1e], 0x2a
mov byte [rbp + 0x1f], 0x11
mov byte [rbp + 0x20], 8
mov byte [rbp + 0x21], 0x1d
mov byte [rbp + 0x22], 0x75
mov byte [rbp + 0x23], 0x66
mov byte [rbp + 0x24], 0x69
mov byte [rbp + 0x25], 0x11
mov byte [rbp + 0x26], 0x19
mov byte [rbp + 0x27], gethostbyname
mov byte [rbp + 0x28], 0x2a
mov byte [rbp + 0x29], 0x11
mov byte [rbp + 0x2a], 8
mov byte [rbp + 0x2b], reloc.WS2_32.dll_socket
mov byte [rbp + 0x2c], 8
mov byte [rbp + 0x2d], reloc.WS2_32.dll_socket
mov byte [rbp + 0x2e], 0x26
mov byte [rbp + 0x2f], inet_ntoa
mov byte [rbp + 0x30], 0x69
mov byte [rbp + 0x31], reloc.WS2_32.dll_gethostbyname
mov byte [rbp + 0x32], gethostname
movzx eax, byte [rbp - 0xf]
movzx eax, byte [rbp - 0x10]
test al, al
jne 0x140005d7f
movzx ecx, byte [rbp + rbx - 0xf]
mov eax, gethostname
sub eax, ecx
imul ecx, eax, 0x2a
mov eax, 0x81020409
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x7f
sub ecx, eax
mov eax, 0x81020409
add ecx, 0x7f
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x7f
sub ecx, eax
mov byte [rbp + rbx - 0xf], cl
inc rbx
cmp rbx, 0x42
jb 0x140005d30
mov r9d, 0x18
mov dword [rsp + 0x20], 0xf0000008
lea r8, [rbp - 0xf]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
jmp 0x140005da3
mov eax, 1
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret