Function at 0x418da0
Capabilities:
Encode data using xor
Get disk information

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51f2b7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x288
push esi
xor al, al
mov dword [ebp - 0x48], 0
push edi
mov dword [ebp - 0x2c], eax
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x418df6
push 0x15
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x418dfb
mov al, 1
mov dword [ebp - 0x2c], eax
xorps xmm0, xmm0
mov word [ebp - 0x1d], 0xd6a8
mov byte [ebp - 0x1b], 0xb1
xor ecx, ecx
movq qword [ebp - 0x1a], xmm0
mov byte [ebp - 0x12], 0
lea eax, [ecx - 0x15]
xor byte [ebp + ecx - 0x1d], al
inc ecx
cmp ecx, 3
jb 0x418e13
mov dword [0x558540], ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0x1d]
mov byte [ebp - 0x1a], 0
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x30], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x418e45
sub ecx, edx
lea eax, [ebp - 0x1d]
push ecx
push eax
lea ecx, [ebp - 0x44]
call fcn.00402b20
cmp dword [ebp - 0x30], 0x10
lea ecx, [ebp - 0x190]
push 0x105
push ecx
lea ecx, [ebp - 0x7c]
push ecx
lea ecx, [ebp - 0x80]
push ecx
lea ecx, [ebp - 0x84]
push ecx
push 0x105
lea ecx, [ebp - 0x298]
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov ecx, dword [ebp - 0x30]
mov esi, eax
cmp ecx, 0x10
jb 0x418eca
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x418ec0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4191de
push ecx
push edx
call fcn.004f7c11
add esp, 8
test esi, esi
je 0x4191c8
movaps xmm0, xmmword [0x543490]
xor ecx, ecx
movups xmmword [ebp - 0x21], xmm0
nop
lea eax, [ecx - 0x15]
xor byte [ebp + ecx - 0x21], al
inc ecx
cmp ecx, 7
jb 0x418ee0
mov dword [0x558510], ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0x21]
mov byte [ebp - 0x1a], 0
movups xmmword [ebp - 0x78], xmm0
mov dword [ebp - 0x68], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x64], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x418f12
sub ecx, edx
lea eax, [ebp - 0x21]
push ecx
push eax
lea ecx, [ebp - 0x78]
call fcn.00402b20
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x190]
cmp dword [ebp - 0x64], 0x10
mov eax, 0x19
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x78]
cmovae eax, dword [ebp - 0x78]
nop dword [eax + eax]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x418f70
test dl, dl
je 0x418f6c
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x418f70
add ecx, 2
add eax, 2
test dl, dl
jne 0x418f50
xor eax, eax
jmp 0x418f75
sbb eax, eax
or eax, 1
test eax, eax
je 0x4190e2
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0x9682aebd
mov word [ebp - 0x1c], 0xb6bc
xor ecx, ecx
movq qword [ebp - 0x1a], xmm0
mov byte [ebp - 0x12], 0
lea eax, [ecx - 0x15]
xor byte [ebp + ecx - 0x20], al
inc ecx
cmp ecx, 6
jb 0x418f98
mov dword [0x5584f8], ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0x20]
mov byte [ebp - 0x1a], 0
movups xmmword [ebp - 0x60], xmm0
mov dword [ebp - 0x50], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x4c], 0
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x418fd0
sub ecx, edx
lea eax, [ebp - 0x20]
push ecx
push eax
lea ecx, [ebp - 0x60]
call fcn.00402b20
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x190]
cmp dword [ebp - 0x4c], 0x10
mov eax, 0x3b
mov edi, dword [ebp - 0x60]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x60]
cmovae eax, edi
nop dword [eax + eax]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x419030
test dl, dl
je 0x41902c
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x419030
add ecx, 2
add eax, 2
test dl, dl
jne 0x419010
xor eax, eax
jmp 0x419035
sbb eax, eax
or eax, 1
test eax, eax
je 0x4190e5
movaps xmm0, xmmword [0x543480]
xor ecx, ecx
mov word [ebp - 0x23], 0xaebd
movups xmmword [ebp - 0x21], xmm0
lea eax, [ecx - 0x15]
xor byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 9
jb 0x419050
mov dword [0x5585e0], ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0x23]
mov byte [ebp - 0x1a], 0
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x30], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x419082
sub ecx, edx
lea eax, [ebp - 0x23]
push ecx
push eax
lea ecx, [ebp - 0x44]
call fcn.00402b20
mov esi, dword [ebp - 0x30]
lea ecx, [ebp - 0x190]
mov eax, 0x7f
cmp esi, 0x10
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x4190d3
test dl, dl
je 0x4190cf
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x4190d3
add ecx, 2
add eax, 2
test dl, dl
jne 0x4190b3
xor eax, eax
jmp 0x4190d8
sbb eax, eax
or eax, 1
test eax, eax
je 0x4190e8
mov byte [ebp - 0x11], 0
jmp 0x4190ec
mov edi, dword [ebp - 0x60]
mov esi, dword [ebp - 0x30]
mov byte [ebp - 0x11], 1
mov eax, dword [ebp - 0x28]
test al, 4
je 0x41912f
and eax, 0xfffffffb
mov dword [ebp - 0x28], eax
cmp esi, 0x10
jb 0x41912f
mov edx, dword [ebp - 0x44]
lea ecx, [esi + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x419122
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4191e3
push ecx
push edx
call fcn.004f7c11
mov eax, dword [ebp - 0x28]
add esp, 8
test al, 2
je 0x41916d
mov ecx, dword [ebp - 0x4c]
and eax, 0xfffffffd
mov dword [ebp - 0x28], eax
cmp ecx, 0x10
jb 0x41916d
inc ecx
mov eax, edi
cmp ecx, 0x1000
jb 0x419160
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4191e3
push ecx
push edi
call fcn.004f7c11
mov eax, dword [ebp - 0x28]
add esp, 8
test al, 1
je 0x4191a3
mov eax, dword [ebp - 0x64]
cmp eax, 0x10
jb 0x4191a3
mov edx, dword [ebp - 0x78]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x419199
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4191e3
push ecx
push edx
call fcn.004f7c11
add esp, 8
mov eax, dword [ebp - 0x2c]
mov ecx, 1
cmp byte [ebp - 0x11], 0
movzx eax, al
cmovne eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x2c]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004fceb0
call fcn.004fceb0
int3