Function at 0x18002a700
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Get disk information via ioctl

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
push rbp
push rdi
push r12
push r13
push r14
lea rbp, [rax - 0x6e8]
sub rsp, 0x7c0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x1800c8010]
xor rax, rsp
mov qword [rbp + 0x690], rax
movzx ebx, cl
and bl, 0xdf
lea eax, [rbx - 0x41]
cmp al, 0x19
ja 0x18002b1b7
movsd xmm7, qword [0x1800ba7d0]
lea rcx, [0x1800a7d98]
movaps xmm1, xmm7
movq rdx, xmm7
call fcn.18000ba10
movzx eax, word [0x1800a7dcc]
mov r13d, 0xffffffff
movdqa xmm0, xmmword [0x1800bba60]
psubb xmm0, xmmword [0x1800bac20]
mov word [rbp - 0x20], ax
movzx eax, byte [0x1800a7dce]
mov byte [rbp - 0x1e], al
mov eax, dword [str..X:]
mov dword [rbp + 0x68], eax
movzx eax, word [0x1800a7db4]
mov word [rbp + 0x6c], ax
movzx eax, byte [0x1800a7db6]
mov byte [rbp + 0x6e], al
mov eax, 0x10
mov dword [rbp - 0x18], 0x5c3a58
mov byte [rbp - 0x18], bl
mov byte [rbp - 0x20], bl
mov byte [rbp + 0x6c], bl
mov dword [rsp + 0x50], 0x39454a35
mov dword [rsp + 0x54], 0x4634353b
mov dword [rsp + 0x58], 0x483c3b37
mov word [rsp + 0x5c], 0x4939
mov byte [rsp + 0x5e], 0
movdqu xmmword [rsp + 0x40], xmm0
nop dword [rax + rax]
add byte [rsp + rax + 0x40], 0xfc
inc rax
cmp rax, 0x1e
jb 0x18002a7f0
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x78]
call fcn.18000a950
mov rdx, rax
lea rcx, [0x1800cb328]
call fcn.18000a540
xor edi, edi
lea rcx, [rbp + 0x68]
mov qword [rsp + 0x30], rdi
xor r9d, r9d
mov dword [rsp + 0x28], edi
xor edx, edx
mov dword [rsp + 0x20], 3
lea r8d, [rdi + 3]
call rax
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x18002b1b7
movaps xmm1, xmm7
lea rcx, [0x1800a7d98]
movq rdx, xmm7
call fcn.18000ba10
movdqa xmm0, xmmword [0x1800bbbf0]
mov eax, edi
movdqa xmm1, xmmword [0x1800bbb10]
movdqa xmm6, xmmword [0x1800baca0]
movdqu xmmword [rbp - 0x48], xmm0
mov dword [rbp - 8], edi
movdqu xmmword [rbp - 0x38], xmm1
mov dword [rbp - 0x28], 0x404a3837
mov word [rbp - 0x24], 0x493b
mov byte [rbp - 0x22], dil
nop word [rax + rax]
movdqu xmm0, xmmword [rbp + rax - 0x48]
psubb xmm0, xmm6
movdqu xmmword [rbp + rax - 0x48], xmm0
add rax, 0x10
cmp rax, 0x20
jb 0x18002a8a0
cmp rax, 0x26
jae 0x18002a8ce
add byte [rbp + rax - 0x48], 0xf9
inc rax
cmp rax, 0x26
jb 0x18002a8c0
lea rdx, [rbp - 0x48]
lea rcx, [rsp + 0x68]
call fcn.18000a950
mov rdx, rax
lea rcx, [0x1800cb328]
call fcn.18000a540
mov qword [rsp + 0x38], rdi
lea rcx, [rbp - 8]
mov qword [rsp + 0x30], rcx
xor r9d, r9d
lea rcx, [rbp + 8]
mov dword [rsp + 0x28], 0xc
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rcx, rbx
mov edx, 0x2d1080
call rax
test eax, eax
cmovne r13d, dword [rbp + 0xc]
test rbx, rbx
je 0x18002a9f6
movdqa xmm1, xmmword [0x1800bb1c0]
lea rdx, [rsp + 0x69]
movdqa xmm2, xmmword [str.___Z_..ZY]
movdqa xmm0, xmm1
movd ecx, xmm1
movdqu xmmword [rsp + 0x78], xmm2
mov byte [rbp - 0x79], dil
xor byte [rsp + 0x79], cl
xor byte [rsp + 0x7a], cl
xor byte [rsp + 0x7b], cl
xor byte [rsp + 0x7c], cl
xor byte [rsp + 0x7d], cl
xor byte [rsp + 0x7e], cl
xor byte [rsp + 0x7f], cl
xor byte [rbp - 0x80], cl
xor byte [rbp - 0x7f], cl
xor byte [rbp - 0x7e], cl
xor byte [rbp - 0x7d], cl
xor byte [rbp - 0x7c], cl
xor byte [rbp - 0x7b], cl
xor byte [rbp - 0x7a], cl
movdqu xmmword [rsp + 0x68], xmm1
xor byte [rsp + 0x6a], cl
xor byte [rsp + 0x6b], cl
xor byte [rsp + 0x6c], cl
xor byte [rsp + 0x6d], cl
xor byte [rsp + 0x6e], cl
xor byte [rsp + 0x6f], cl
xor byte [rsp + 0x70], cl
xor byte [rsp + 0x71], cl
xor byte [rsp + 0x72], cl
xor byte [rsp + 0x73], cl
xor byte [rsp + 0x74], cl
xor byte [rsp + 0x75], cl
xor byte [rsp + 0x76], cl
xor byte [rsp + 0x77], cl
psrldq xmm0, 1
movd eax, xmm0
xor al, cl
mov byte [rsp + 0x69], al
movd eax, xmm2
xor al, cl
lea rcx, [rbp - 0x48]
mov byte [rsp + 0x78], al
call fcn.18000a950
mov rdx, rax
lea rcx, [0x1800cb328]
call fcn.18000a540
mov rcx, rbx
call rax
cmp r13d, 0xffffffff
jne 0x18002aa05
lea eax, [r13 + 2]
jmp 0x18002b0b2
movaps xmm1, xmm7
lea rcx, [0x1800a7d98]
movq rdx, xmm7
call fcn.18000ba10
movdqa xmm1, xmmword [0x1800bbf50]
mov dl, 0x29
movd ecx, xmm1
movdqa xmm0, xmm1
movdqa xmm2, xmmword [0x1800bbfb0]
mov r8b, 0x5a
movdqu xmmword [rbp - 0x68], xmm2
xor byte [rbp - 0x67], cl
xor dl, cl
xor byte [rbp - 0x66], cl
xor r8b, cl
xor byte [rbp - 0x65], cl
mov r9b, 0x2b
xor byte [rbp - 0x64], cl
xor r9b, cl
xor byte [rbp - 0x63], cl
xor byte [rbp - 0x62], cl
xor byte [rbp - 0x61], cl
xor byte [rbp - 0x60], cl
xor byte [rbp - 0x5f], cl
xor byte [rbp - 0x5e], cl
xor byte [rbp - 0x5d], cl
xor byte [rbp - 0x5c], cl
xor byte [rbp - 0x5b], cl
xor byte [rbp - 0x5a], cl
xor byte [rbp - 0x59], cl
movdqu xmmword [rbp - 0x78], xmm1
xor byte [rbp - 0x76], cl
xor byte [rbp - 0x75], cl
xor byte [rbp - 0x74], cl
xor byte [rbp - 0x73], cl
xor byte [rbp - 0x72], cl
xor byte [rbp - 0x71], cl
xor byte [rbp - 0x70], cl
xor byte [rbp - 0x6f], cl
xor byte [rbp - 0x6e], cl
xor byte [rbp - 0x6d], cl
xor byte [rbp - 0x6c], cl
xor byte [rbp - 0x6b], cl
xor byte [rbp - 0x6a], cl
xor byte [rbp - 0x69], cl
psrldq xmm0, 1
movd eax, xmm0
mov byte [rbp - 0x58], dl
lea rdx, [rbp - 0x77]
mov byte [rbp - 0x57], r8b
xor al, cl
mov byte [rbp - 0x56], r9b
mov byte [rbp - 0x77], al
movd eax, xmm2
mov byte [rbp - 0x55], dil
xor al, cl
lea rcx, [rbp - 0x48]
mov byte [rbp - 0x68], al
call fcn.18000a950
mov rdx, rax
lea rcx, [0x1800cb328]
call fcn.18000a540
lea rcx, [rbp - 0x18]
call rax
movdqa xmm0, xmmword [0x1800bacc0]
mov ebx, eax
movdqa xmm1, xmmword [0x1800bc520]
mov rcx, rdi
movdqu xmmword [rbp - 0x78], xmm0
mov dword [rbp - 0x50], eax
movdqu xmmword [rbp - 0x68], xmm1
mov dword [rbp - 0x58], 0x7e080b0b
mov dword [rbp - 0x54], 0x7a080b
nop word [rax + rax]
movzx eax, cl
add al, byte [rbp - 0x78]
xor byte [rbp + rcx - 0x77], al
inc rcx
cmp rcx, 0x26
jb 0x18002ab20
lea rdx, [rbp - 0x77]
mov byte [rbp - 0x51], dil
lea rcx, [rbp - 0x48]
call fcn.18000a950
mov rdx, rax
lea rcx, [0x1800cb328]
call fcn.18000a540
mov r8d, 0x104
lea rdx, [rbp + 0x70]
lea rcx, [rbp - 0x20]
call rax
test eax, eax
je 0x18002b1b7
movaps xmm1, xmm7
lea rcx, [0x1800a7d98]
movq rdx, xmm7
call fcn.18000ba10
lea rdx, str.Floppy
lea rcx, [rbp + 0x70]
call fcn.180058dfc
test rax, rax
mov eax, ebx
setne cl
sub eax, 2
je 0x18002abbc
sub eax, 1
je 0x18002abb3
cmp eax, 2
jne 0x18002b1b7
lea r12, [0x1800876f8]
jmp 0x18002abd3
lea r12, [0x1800876e8]
jmp 0x18002abd3
lea r12, [0x1800876e8]
test cl, cl
lea rax, [0x180087708]
cmove rax, r12
mov r12, rax
movaps xmm1, xmm7
lea rcx, [0x1800a7d98]
movq rdx, xmm7
call fcn.18000ba10
mov r9d, 0x12
xor r8d, r8d
xor edx, edx
mov rcx, r12
call qword [sym.imp.SETUPAPI.dll_SetupDiGetClassDevsA]
mov r14, rax
cmp rax, 0xffffffffffffffff
je 0x18002b1b7
lea rax, [rbp + 0x28]
mov qword [rsp + 0x7f0], rsi
mov qword [rsp + 0x7f8], r15
xor r9d, r9d
mov r8, r12
mov qword [rsp + 0x20], rax
xor edx, edx
mov dword [rbp + 0x28], 0x20
mov rcx, r14
mov r15d, edi
call qword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInterfaces]
test eax, eax
je 0x18002b083
lea rax, [rbp - 0x1c]
mov qword [rsp + 0x28], rdi
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rbp - 0x1c], edi
lea rdx, [rbp + 0x28]
mov rcx, r14
call qword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceInterfaceDetailA]
mov r9d, dword [rbp - 0x1c]
lea eax, [r9 - 1]
cmp eax, 0x3ff
ja 0x18002b05e
xorps xmm0, xmm0
mov dword [rbp + 0x290], 8
lea rax, [rbp + 0x48]
mov rcx, r14
mov qword [rsp + 0x28], rax
lea r8, [rbp + 0x290]
lea rax, [rbp - 0x1c]
movups xmmword [rbp + 0x48], xmm0
lea rdx, [rbp + 0x28]
mov qword [rsp + 0x20], rax
movups xmmword [rbp + 0x58], xmm0
mov dword [rbp + 0x48], 0x20
call qword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceInterfaceDetailA]
test eax, eax
je 0x18002b05e
movdqa xmm0, xmmword [0x1800bbb40]
mov eax, 0x10
psubb xmm0, xmm6
mov dword [rsp + 0x78], 0x3c484d38
movdqu xmmword [rsp + 0x68], xmm0
mov dword [rsp + 0x7c], 0x4937383e
mov dword [rbp - 0x80], 0x4b3f3e3a
mov word [rbp - 0x7c], 0x4c3c
mov byte [rbp - 0x7a], dil
nop dword [rax]
add byte [rsp + rax + 0x68], 0xf9
inc rax
cmp rax, 0x1e
jb 0x18002ad00
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x48]
call fcn.18000a950
mov rdx, rax
lea rcx, [0x1800cb328]
call fcn.18000a540
xor r9d, r9d
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
lea rcx, [rbp + 0x294]
xor edx, edx
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 3]
call rax
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x18002b05e
movdqa xmm1, xmmword [0x1800bbd70]
mov rax, rdi
movdqa xmm0, xmmword [0x1800bbe30]
movdqu xmmword [rsp + 0x50], xmm1
mov dword [rbp], edi
movdqa xmm1, xmmword [0x1800bad70]
movdqu xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x60], 0x454f3d3c
mov word [rsp + 0x64], 0x4e40
mov byte [rsp + 0x66], dil
nop dword [rax]
movdqu xmm0, xmmword [rsp + rax + 0x40]
psubb xmm0, xmm1
movdqu xmmword [rsp + rax + 0x40], xmm0
add rax, 0x10
cmp rax, 0x20
jb 0x18002ada0
cmp rax, 0x26
jae 0x18002adce
add byte [rsp + rax + 0x40], 0xf4
inc rax
cmp rax, 0x26
jb 0x18002adc0
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x78]
call fcn.18000a950
mov rdx, rax
lea rcx, [0x1800cb328]
call fcn.18000a540
mov qword [rsp + 0x38], rdi
lea rcx, [rbp]
mov qword [rsp + 0x30], rcx
xor r9d, r9d
lea rcx, [rbp + 0x18]
mov dword [rsp + 0x28], 0xc
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rcx, rsi
mov edx, 0x2d1080
call rax
test eax, eax
je 0x18002ae28
cmp r13d, dword [rbp + 0x1c]
je 0x18002b0e3
test rsi, rsi
je 0x18002b05e
mov dl, 0x44
lea rcx, [rsp + 0x40]
call fcn.18003f230
mov dl, 0x46
mov byte [rsp + 0x40], al
lea rcx, [rsp + 0x40]
call fcn.18003f230
mov dl, 0x34
mov byte [rsp + 0x41], al
lea rcx, [rsp + 0x40]
call fcn.18003f230
mov dl, 0x38
mov byte [rsp + 0x42], al
lea rcx, [rsp + 0x40]
call fcn.18003f230
mov dl, 0x31
mov byte [rsp + 0x43], al
lea rcx, [rsp + 0x40]
call fcn.18003f230
mov dl, 0x45
mov byte [rsp + 0x44], al
lea rcx, [rsp + 0x40]
call fcn.18003f230
mov dl, 0x39
mov byte [rsp + 0x45], al
lea rcx, [rsp + 0x40]
call fcn.18003f230
mov dl, 0x44
mov byte [rsp + 0x46], al
lea rcx, [rsp + 0x40]
call fcn.18003f230
mov dl, 0x39
mov byte [rsp + 0x47], al
lea rcx, [rsp + 0x40]
call fcn.18003f230
mov dl, 0x43
mov byte [rsp + 0x48], al
lea rcx, [rsp + 0x40]
call fcn.18003f230
mov dl, 0x42
mov byte [rsp + 0x49], al
lea rcx, [rsp + 0x40]
call fcn.18003f230
mov dl, 0x38
mov byte [rsp + 0x4a], al
lea rcx, [rsp + 0x40]
call fcn.18003f230
mov dl, 0x43
mov byte [rsp + 0x4b], al
lea rcx, [rsp + 0x40]
call fcn.18003f230
mov dl, 0x39
mov byte [rsp + 0x4c], al
lea rcx, [rsp + 0x40]
call fcn.18003f230
mov dl, 0x32
mov byte [rsp + 0x4d], al
lea rcx, [rsp + 0x40]
call fcn.18003f230
mov dl, 0x37
mov byte [rsp + 0x4e], al
lea rcx, [rsp + 0x40]
call fcn.18003f230
mov dl, 0x39
mov byte [rsp + 0x4f], al
lea rcx, [rsp + 0x40]
call fcn.18003f230
mov dl, 0x44
mov byte [rsp + 0x50], al
lea rcx, [rsp + 0x40]
call fcn.18003f230
mov dl, 0x39
mov byte [rsp + 0x51], al
lea rcx, [rsp + 0x40]
call fcn.18003f230
mov dl, 0x44
mov byte [rsp + 0x52], al
lea rcx, [rsp + 0x40]
call fcn.18003f230
mov byte [rsp + 0x53], al
mov dl, 0x45
lea rcx, [rsp + 0x40]
call fcn.18003f230
mov dl, 0x32
mov byte [rsp + 0x54], al
lea rcx, [rsp + 0x40]
call fcn.18003f230
mov dl, 0x31
mov byte [rsp + 0x55], al
lea rcx, [rsp + 0x40]
call fcn.18003f230
mov dl, 0x31
mov byte [rsp + 0x56], al
lea rcx, [rsp + 0x40]
call fcn.18003f230
mov dl, 0x41
mov byte [rsp + 0x57], al
lea rcx, [rsp + 0x40]
call fcn.18003f230
mov dl, 0x41
mov byte [rsp + 0x58], al
lea rcx, [rsp + 0x40]
call fcn.18003f230
mov dl, 0x38
mov byte [rsp + 0x59], al
lea rcx, [rsp + 0x40]
call fcn.18003f230
mov dl, 0x45
mov byte [rsp + 0x5a], al
lea rcx, [rsp + 0x40]
call fcn.18003f230
mov dl, 0x46
mov byte [rsp + 0x5b], al
lea rcx, [rsp + 0x40]
call fcn.18003f230
mov dl, 0x35
mov byte [rsp + 0x5c], al
lea rcx, [rsp + 0x40]
call fcn.18003f230
mov byte [rsp + 0x5d], al
mov rbx, rdi
mov byte [rsp + 0x5e], dil
nop dword [rax]
movzx edx, byte [rsp + rbx + 0x40]
lea rcx, [rsp + 0x40]
call fcn.18003f220
mov byte [rsp + rbx + 0x40], al
inc rbx
cmp rbx, 0x1e
jb 0x18002b020
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x78]
call fcn.18000a950
mov rdx, rax
lea rcx, [0x1800cb328]
call fcn.18000a540
mov rcx, rsi
call rax
lea rax, [rbp + 0x28]
inc r15d
mov r9d, r15d
mov qword [rsp + 0x20], rax
mov r8, r12
xor edx, edx
mov rcx, r14
call qword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInterfaces]
test eax, eax
jne 0x18002ac44
movaps xmm1, xmm7
lea rcx, [0x1800a7d98]
movq rdx, xmm7
call fcn.18000ba10
mov rcx, r14
call qword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
xor eax, eax
mov rsi, qword [rsp + 0x7f0]
mov r15, qword [rsp + 0x7f8]
mov rcx, qword [rbp + 0x690]
xor rcx, rsp
call fcn.1800555d0
lea r11, [rsp + 0x7c0]
mov rbx, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rbp
ret
test rsi, rsi
je 0x18002b14b
movdqa xmm0, xmmword [0x1800bb8f0]
mov rdx, rdi
movdqa xmm1, xmmword [str.FK7M13EIH_:D88J]
movdqu xmmword [rsp + 0x40], xmm0
movdqu xmmword [rsp + 0x50], xmm1
nop word [rax + rax]
movzx eax, dl
add al, byte [rsp + 0x40]
xor byte [rsp + rdx + 0x41], al
inc rdx
cmp rdx, 0x1e
jb 0x18002b110
lea rdx, [rsp + 0x41]
mov byte [rsp + 0x5f], dil
lea rcx, [rbp - 0x78]
call fcn.18000a950
mov rdx, rax
lea rcx, [0x1800cb328]
call fcn.18000a540
mov rcx, rsi
call rax
mov rcx, r14
call qword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
mov edx, dword [rbp + 0x5c]
lea rcx, [rbp - 0x10]
xor r8d, r8d
mov dword [rbp - 0x10], edi
call qword [sym.imp.SETUPAPI.dll_CM_Get_Parent]
mov ecx, dword [rbp - 0x10]
lea rdx, [rbp + 0x180]
xor r9d, r9d
mov r8d, 0x104
call qword [sym.imp.SETUPAPI.dll_CM_Get_Device_IDA]
mov r8d, 4
lea rdx, str.USB_
lea rcx, [rbp + 0x180]
call fcn.180068100
test eax, eax
jne 0x18002b1a7
mov eax, 2
jmp 0x18002b0a2
cmp dword [rbp - 0x50], 5
setne dil
lea eax, [rdi + 3]
jmp 0x18002b0a2
xor eax, eax
jmp 0x18002b0b2