Function at 0x140012fe0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x4950]
mov eax, 0x4a50
call fcn.14004e850
sub rsp, rax
mov rax, qword [0x1400781b0]
xor rax, rsp
mov qword [rbp + 0x4940], rax
xor edi, edi
mov ebx, edi
mov dword [rsp + 0x30], ebx
lea r8, [rbp + 0x130]
mov edx, 0x4000
lea rcx, [rbp + 0x140]
call qword [sym.imp.KERNEL32.dll_K32EnumDeviceDrivers]
test eax, eax
je 0x140013b51
mov eax, dword [rbp + 0x130]
cmp eax, 0x4000
jae 0x140013b51
shr rax, 3
mov qword [rbp + 0x108], rax
test rax, rax
je 0x140013b51
mov eax, edi
mov qword [rbp - 0x20], rax
mov r8d, 0x800
lea rdx, [rbp + 0x4140]
mov rcx, qword [rbp + rax*8 + 0x140]
call qword [sym.imp.KERNEL32.dll_K32GetDeviceDriverBaseNameA]
test eax, eax
je 0x140013b39
mov qword [rbp + 0x110], rdi
mov qword [rbp + 0x120], rdi
mov qword [rbp + 0x128], socket
mov byte [rbp + 0x110], 0
lea rax, [rbp + 0x4140]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x1400130c3
lea rdx, [rbp + 0x4140]
lea rcx, [rbp + 0x110]
call fcn.14001f770
nop
mov dword [rbp - 0x50], 0x4e526f75
mov dword [rbp - 0x4c], 0x56574641
mov dword [rbp - 0x48], 0x424b464e
mov dword [rbp - 0x44], 0x100594f
mov rcx, rdi
lea eax, [rcx + 0x1e]
xor byte [rbp + rcx - 0x50], al
inc rcx
cmp rcx, 0xe
jb 0x140013100
mov byte [rbp - 0x41], 0
mov qword [rbp + 0xe8], rdi
mov qword [rbp + 0xf8], rdi
mov qword [rbp + 0x100], socket
mov byte [rbp + 0xe8], 0
mov r8d, send
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0xe8]
call fcn.14001f770
or ebx, 0xc00
or ebx, 1
mov dword [rsp + 0x30], ebx
lea r9, [rbp + 0xe8]
mov r12, qword [rbp + 0xe8]
cmp qword [rbp + 0x100], 0x10
cmovae r9, r12
lea rcx, [rbp + 0x110]
cmp qword [rbp + 0x128], 0x10
cmovae rcx, qword [rbp + 0x110]
mov rax, qword [rbp + 0xf8]
mov qword [rsp + 0x20], rax
mov rdx, qword [rbp + 0x120]
call fcn.140022320
cmp rax, 0xffffffffffffffff
jne 0x14001381c
mov dword [rsp + 0x50], 0x44497d4d
mov dword [rsp + 0x54], 0x475571
mov byte [rsp + 0x58], 1
mov rcx, rdi
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx + 0x1e]
xor byte [rsp + rcx + 0x50], al
inc rcx
cmp rcx, 7
jb 0x1400131d0
mov byte [rsp + 0x58], 0
mov qword [rbp - 0x18], rdi
mov qword [rbp - 8], rdi
mov qword [rbp], send
mov byte [rbp - 0x18], 0
mov r8d, 7
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x18]
call fcn.14001f770
or ebx, 0x3000
or ebx, 2
mov dword [rsp + 0x30], ebx
lea r9, [rbp - 0x18]
mov r15, qword [rbp - 0x18]
mov r13, qword [rbp]
cmp r13, 0x10
cmovae r9, r15
lea rcx, [rbp + 0x110]
cmp qword [rbp + 0x128], 0x10
cmovae rcx, qword [rbp + 0x110]
mov rax, qword [rbp - 8]
mov qword [rsp + 0x20], rax
mov rdx, qword [rbp + 0x120]
call fcn.140022320
cmp rax, 0xffffffffffffffff
jne 0x140013824
mov dword [rsp + 0x34], 0x174b7d7a
mov word [rsp + 0x38], reloc.WS2_32.dll_shutdown
mov byte [rsp + 0x3a], 1
mov rcx, rdi
nop dword [rax + rax]
lea eax, [rcx + 0x1e]
xor byte [rsp + rcx + 0x34], al
inc rcx
cmp rcx, 5
jb 0x140013280
mov byte [rsp + 0x3a], 0
mov qword [rbp - 0x40], rdi
mov qword [rbp - 0x30], rdi
mov qword [rbp - 0x28], send
mov byte [rbp - 0x40], 0
mov r8d, 5
lea rdx, [rsp + 0x34]
lea rcx, [rbp - 0x40]
call fcn.14001f770
or ebx, 0xc000
or ebx, 4
mov dword [rsp + 0x30], ebx
lea r9, [rbp - 0x40]
mov rsi, qword [rbp - 0x40]
mov r14, qword [rbp - 0x28]
cmp r14, 0x10
cmovae r9, rsi
lea rcx, [rbp + 0x110]
cmp qword [rbp + 0x128], 0x10
cmovae rcx, qword [rbp + 0x110]
mov rax, qword [rbp - 0x30]
mov qword [rsp + 0x20], rax
mov rdx, qword [rbp + 0x120]
call fcn.140022320
cmp rax, 0xffffffffffffffff
jne 0x14001382c
mov dword [rsp + 0x3c], 0x124b7d7a
mov word [rsp + 0x40], reloc.WS2_32.dll_recv
mov byte [rsp + 0x42], 1
mov rcx, rdi
nop dword [rax + rax]
lea eax, [rcx + 0x1e]
xor byte [rsp + rcx + 0x3c], al
inc rcx
cmp rcx, 5
jb 0x140013330
mov byte [rsp + 0x42], 0
mov qword [rbp + 0xa8], rdi
mov qword [rbp + 0xb8], rdi
mov qword [rbp + 0xc0], socket
mov byte [rbp + 0xa8], 0
mov r8d, 5
lea rdx, [rsp + 0x3c]
lea rcx, [rbp + 0xa8]
call fcn.14001f770
or ebx, 0x30000
or ebx, 8
mov dword [rsp + 0x30], ebx
lea r9, [rbp + 0xa8]
cmp qword [rbp + 0xc0], 0x10
cmovae r9, qword [rbp + 0xa8]
lea rcx, [rbp + 0x110]
cmp qword [rbp + 0x128], 0x10
cmovae rcx, qword [rbp + 0x110]
mov rax, qword [rbp + 0xb8]
mov qword [rsp + 0x20], rax
mov rdx, qword [rbp + 0x120]
call fcn.140022320
cmp rax, 0xffffffffffffffff
jne 0x14001382c
mov dword [rbp - 0x80], 0x5341774d
mov dword [rbp - 0x7c], 0x7a606c52
mov dword [rbp - 0x78], 0x5e5562
mov byte [rbp - 0x74], 1
mov rcx, rdi
nop word [rax + rax]
lea eax, [rcx + 0x1e]
xor byte [rbp + rcx - 0x80], al
inc rcx
cmp rcx, 0xb
jb 0x140013400
mov byte [rbp - 0x74], 0
mov qword [rbp + 0x88], rdi
mov qword [rbp + 0x98], rdi
mov qword [rbp + 0xa0], socket
mov byte [rbp + 0x88], 0
mov r8d, recv
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0x88]
call fcn.14001f770
or ebx, 0xc0000
or ebx, 0x10
mov dword [rsp + 0x30], ebx
lea r9, [rbp + 0x88]
cmp qword [rbp + 0xa0], 0x10
cmovae r9, qword [rbp + 0x88]
lea rcx, [rbp + 0x110]
cmp qword [rbp + 0x128], 0x10
cmovae rcx, qword [rbp + 0x110]
mov rax, qword [rbp + 0x98]
mov qword [rsp + 0x20], rax
mov rdx, qword [rbp + 0x120]
call fcn.140022320
cmp rax, 0xffffffffffffffff
jne 0x14001382c
mov dword [rsp + 0x44], 0x40436f70
mov word [rsp + 0x48], 0x52
mov byte [rsp + 0x4a], 1
mov rcx, rdi
nop
lea eax, [rcx + 0x1e]
xor byte [rsp + rcx + 0x44], al
inc rcx
cmp rcx, 5
jb 0x1400134c0
mov byte [rsp + 0x4a], 0
mov qword [rbp + 0x68], rdi
mov qword [rbp + 0x78], rdi
mov qword [rbp + 0x80], socket
mov byte [rbp + 0x68], 0
mov r8d, 5
lea rdx, [rsp + 0x44]
lea rcx, [rbp + 0x68]
call fcn.14001f770
or ebx, 0x300000
or ebx, 0x20
mov dword [rsp + 0x30], ebx
lea r9, [rbp + 0x68]
cmp qword [rbp + 0x80], 0x10
cmovae r9, qword [rbp + 0x68]
lea rcx, [rbp + 0x110]
cmp qword [rbp + 0x128], 0x10
cmovae rcx, qword [rbp + 0x110]
mov rax, qword [rbp + 0x78]
mov qword [rsp + 0x20], rax
mov rdx, qword [rbp + 0x120]
call fcn.140022320
cmp rax, 0xffffffffffffffff
jne 0x14001382c
mov dword [rsp + 0x70], 0x72596f4d
mov dword [rsp + 0x74], 0x5148464a
mov dword [rsp + 0x78], 0x1005543
mov rcx, rdi
nop
lea eax, [rcx + 0x1e]
xor byte [rsp + rcx + 0x70], al
inc rcx
cmp rcx, 0xa
jb 0x140013570
mov byte [rsp + 0x7b], 0
mov qword [rbp + 0x48], rdi
mov qword [rbp + 0x58], rdi
mov qword [rbp + 0x60], send
mov byte [rbp + 0x48], 0
mov r8d, 0xa
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x48]
call fcn.14001f770
or ebx, 0xc00000
or ebx, 0x40
mov dword [rsp + 0x30], ebx
lea r9, [rbp + 0x48]
cmp qword [rbp + 0x60], 0x10
cmovae r9, qword [rbp + 0x48]
lea rcx, [rbp + 0x110]
cmp qword [rbp + 0x128], 0x10
cmovae rcx, qword [rbp + 0x110]
mov rax, qword [rbp + 0x58]
mov qword [rsp + 0x20], rax
mov rdx, qword [rbp + 0x120]
call fcn.140022320
cmp rax, 0xffffffffffffffff
jne 0x14001382c
mov dword [rbp - 0x70], 0x52596f4d
mov dword [rbp - 0x6c], 0x5148464a
mov dword [rbp - 0x68], 0x6d7c5543
mov word [rbp - 0x64], 0x63
mov byte [rbp - 0x62], 1
mov rcx, rdi
lea eax, [rcx + 0x1e]
xor byte [rbp + rcx - 0x70], al
inc rcx
cmp rcx, 0xd
jb 0x140013620
mov byte [rbp - 0x62], 0
mov qword [rbp + 0x28], rdi
mov qword [rbp + 0x38], rdi
mov qword [rbp + 0x40], send
mov byte [rbp + 0x28], 0
mov r8d, recv
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0x28]
call fcn.14001f770
or ebx, 0x3000000
bts ebx, 7
mov dword [rsp + 0x30], ebx
lea r9, [rbp + 0x28]
cmp qword [rbp + 0x40], 0x10
cmovae r9, qword [rbp + 0x28]
lea rcx, [rbp + 0x110]
cmp qword [rbp + 0x128], 0x10
cmovae rcx, qword [rbp + 0x110]
mov rax, qword [rbp + 0x38]
mov qword [rsp + 0x20], rax
mov rdx, qword [rbp + 0x120]
call fcn.140022320
cmp rax, 0xffffffffffffffff
jne 0x14001382c
mov dword [rbp - 0x60], 0x52596f4d
mov dword [rbp - 0x5c], 0x5148464a
mov dword [rbp - 0x58], 0x6f7f5543
mov word [rbp - 0x54], 0x7a
mov byte [rbp - 0x52], 1
mov rcx, rdi
nop
lea eax, [rcx + 0x1e]
xor byte [rbp + rcx - 0x60], al
inc rcx
cmp rcx, 0xd
jb 0x1400136d0
mov byte [rbp - 0x52], 0
mov qword [rbp + 8], rdi
mov qword [rbp + 0x18], rdi
mov qword [rbp + 0x20], send
mov byte [rbp + 8], 0
mov r8d, recv
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 8]
call fcn.14001f770
or ebx, 0xc000000
bts ebx, 8
mov dword [rsp + 0x30], ebx
lea r9, [rbp + 8]
cmp qword [rbp + 0x20], 0x10
cmovae r9, qword [rbp + 8]
lea rcx, [rbp + 0x110]
cmp qword [rbp + 0x128], 0x10
cmovae rcx, qword [rbp + 0x110]
mov rax, qword [rbp + 0x18]
mov qword [rsp + 0x20], rax
mov rdx, qword [rbp + 0x120]
call fcn.140022320
cmp rax, 0xffffffffffffffff
jne 0x14001382c
mov dword [rsp + 0x60], 0x44527669
mov dword [rsp + 0x64], 0x57454b51
mov word [rsp + 0x68], 0x4d
mov byte [rsp + 0x6a], 1
mov rcx, rdi
nop dword [rax]
lea eax, [rcx + 0x1e]
xor byte [rsp + rcx + 0x60], al
inc rcx
cmp rcx, 9
jb 0x140013780
mov byte [rsp + 0x6a], 0
mov qword [rbp + 0xc8], rdi
mov qword [rbp + 0xd8], rdi
mov qword [rbp + 0xe0], socket
mov r8d, 9
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0xc8]
call fcn.14001f770
or ebx, 0x30000200
lea r9, [rbp + 0xc8]
cmp qword [rbp + 0xe0], 0x10
cmovae r9, qword [rbp + 0xc8]
lea rcx, [rbp + 0x110]
cmp qword [rbp + 0x128], 0x10
cmovae rcx, qword [rbp + 0x110]
mov rax, qword [rbp + 0xd8]
mov qword [rsp + 0x20], rax
mov rdx, qword [rbp + 0x120]
call fcn.140022320
cmp rax, 0xffffffffffffffff
jne 0x14001382c
xor dil, dil
jmp 0x14001382f
mov r13, qword [rbp]
mov r15, qword [rbp - 0x18]
mov rsi, qword [rbp - 0x40]
mov r14, qword [rbp - 0x28]
mov dil, 1
bt ebx, 9
jae 0x14001387b
btr ebx, 9
mov rdx, qword [rbp + 0xe0]
cmp rdx, 0x10
jb 0x14001387b
inc rdx
mov rcx, qword [rbp + 0xc8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140013875
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140013b83
call fcn.14004dbe0
nop
bt ebx, 8
jae 0x1400138c1
btr ebx, 8
mov rdx, qword [rbp + 0x20]
cmp rdx, 0x10
jb 0x1400138c1
inc rdx
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400138bb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140013b8a
call fcn.14004dbe0
nop
test bl, bl
jns 0x140013905
btr ebx, 7
mov rdx, qword [rbp + 0x40]
cmp rdx, 0x10
jb 0x140013905
inc rdx
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400138ff
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140013b91
call fcn.14004dbe0
nop
test bl, 0x40
je 0x140013949
and ebx, 0xffffffbf
mov rdx, qword [rbp + 0x60]
cmp rdx, 0x10
jb 0x140013949
inc rdx
mov rcx, qword [rbp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140013943
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140013b98
call fcn.14004dbe0
nop
test bl, 0x20
je 0x140013990
and ebx, 0xffffffdf
mov rdx, qword [rbp + 0x80]
cmp rdx, 0x10
jb 0x140013990
inc rdx
mov rcx, qword [rbp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001398a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140013b9f
call fcn.14004dbe0
nop
test bl, 0x10
je 0x1400139da
and ebx, 0xffffffef
mov rdx, qword [rbp + 0xa0]
cmp rdx, 0x10
jb 0x1400139da
inc rdx
mov rcx, qword [rbp + 0x88]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400139d4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140013ba6
call fcn.14004dbe0
nop
test bl, 8
je 0x140013a24
and ebx, 0xfffffff7
mov rdx, qword [rbp + 0xc0]
cmp rdx, 0x10
jb 0x140013a24
inc rdx
mov rcx, qword [rbp + 0xa8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140013a1e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140013bad
call fcn.14004dbe0
nop
test bl, 4
je 0x140013a64
and ebx, 0xfffffffb
cmp r14, 0x10
jb 0x140013a64
lea rdx, [r14 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140013a5b
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140013bb4
mov rcx, rsi
call fcn.14004dbe0
nop
test bl, 2
je 0x140013aa4
and ebx, 0xfffffffd
cmp r13, 0x10
jb 0x140013aa4
lea rdx, [r13 + 1]
mov rax, r15
cmp rdx, 0x1000
jb 0x140013a9b
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140013bbb
mov rcx, r15
call fcn.14004dbe0
nop
test bl, 1
je 0x140013aec
and ebx, 0xfffffffe
mov rax, qword [rbp + 0x100]
cmp rax, 0x10
jb 0x140013aec
lea rdx, [rax + 1]
mov rax, r12
cmp rdx, 0x1000
jb 0x140013ae3
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140013bc2
mov rcx, r12
call fcn.14004dbe0
nop
mov rax, qword [rbp + 0x128]
test dil, dil
jne 0x140013bc9
cmp rax, 0x10
jb 0x140013b37
lea rdx, [rax + 1]
mov rcx, qword [rbp + 0x110]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140013b32
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140013bfb
call fcn.14004dbe0
xor edi, edi
mov rax, qword [rbp - 0x20]
inc rax
mov qword [rbp - 0x20], rax
cmp rax, qword [rbp + 0x108]
jl 0x140013072
xor al, al
mov rcx, qword [rbp + 0x4940]
xor rcx, rsp
call fcn.14004dbc0
lea r11, [rsp + 0x4a50]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
cmp rax, 0x10
jb 0x140013c07
lea rdx, [rax + 1]
mov rcx, qword [rbp + 0x110]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140013c02
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140013c02
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004dbe0
mov al, 1
jmp 0x140013b53