Function at 0x41a810
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 0x522907
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 - 0x4c], 0
push edi
mov dword [ebp - 0x30], eax
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x41a866
push 0x15
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x41a86b
mov al, 1
mov dword [ebp - 0x30], eax
xorps xmm0, xmm0
mov word [ebp - 0x25], 0xb2c4
mov byte [ebp - 0x23], 0xd5
xor ecx, ecx
movq qword [ebp - 0x22], xmm0
mov word [ebp - 0x1a], 0
lea eax, [ecx - 0x79]
xor byte [ebp + ecx - 0x25], al
inc ecx
cmp ecx, 3
jb 0x41a885
mov dword [0x55d590], ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0x25]
mov byte [ebp - 0x22], 0
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x38], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x34], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41a8b7
sub ecx, edx
lea eax, [ebp - 0x25]
push ecx
push eax
lea ecx, [ebp - 0x48]
call fcn.00402b80
cmp dword [ebp - 0x34], 0x10
lea ecx, [ebp - 0x190]
push 0x105
push ecx
lea ecx, [ebp - 0x80]
push ecx
lea ecx, [ebp - 0x84]
push ecx
lea ecx, [ebp - 0x88]
push ecx
push 0x105
lea ecx, [ebp - 0x298]
lea eax, [ebp - 0x48]
cmovae eax, dword [ebp - 0x48]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov ecx, dword [ebp - 0x34]
mov esi, eax
cmp ecx, 0x10
jb 0x41a93f
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41a935
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ac52
push ecx
push edx
call fcn.004fb0f1
add esp, 8
test esi, esi
je 0x41ac3c
movaps xmm0, xmmword [0x548320]
xor ecx, ecx
mov byte [ebp - 0x29], 0xd1
movups xmmword [ebp - 0x28], xmm0
lea eax, [ecx - 0x79]
xor byte [ebp + ecx - 0x29], al
inc ecx
cmp ecx, 7
jb 0x41a958
mov dword [0x55d560], ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0x29]
mov byte [ebp - 0x22], 0
movups xmmword [ebp - 0x7c], xmm0
mov dword [ebp - 0x6c], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x68], 0
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41a990
sub ecx, edx
lea eax, [ebp - 0x29]
push ecx
push eax
lea ecx, [ebp - 0x7c]
call fcn.00402b80
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x190]
cmp dword [ebp - 0x68], 0x10
mov eax, 0x19
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x7c]
cmovae eax, dword [ebp - 0x7c]
nop dword [eax]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x41a9f0
test dl, dl
je 0x41a9ec
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x41a9f0
add ecx, 2
add eax, 2
test dl, dl
jne 0x41a9d0
xor eax, eax
jmp 0x41a9f5
sbb eax, eax
or eax, 1
test eax, eax
je 0x41ab56
movaps xmm0, xmmword [0x547030]
xor ecx, ecx
movups xmmword [ebp - 0x28], xmm0
nop word [eax + eax]
lea eax, [ecx - 0x79]
xor byte [ebp + ecx - 0x28], al
inc ecx
cmp ecx, 6
jb 0x41aa10
mov dword [0x55d548], ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x22], 0
movups xmmword [ebp - 0x64], xmm0
mov dword [ebp - 0x54], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x50], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41aa42
sub ecx, edx
lea eax, [ebp - 0x28]
push ecx
push eax
lea ecx, [ebp - 0x64]
call fcn.00402b80
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x190]
cmp dword [ebp - 0x50], 0x10
mov eax, 0x3b
mov edi, dword [ebp - 0x64]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x64]
cmovae eax, edi
nop dword [eax]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x41aaa0
test dl, dl
je 0x41aa9c
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x41aaa0
add ecx, 2
add eax, 2
test dl, dl
jne 0x41aa80
xor eax, eax
jmp 0x41aaa5
sbb eax, eax
or eax, 1
test eax, eax
je 0x41ab59
movaps xmm0, xmmword [0x548310]
xor ecx, ecx
mov word [ebp - 0x2b], 0xcad1
mov byte [ebp - 0x29], 0xe6
movups xmmword [ebp - 0x28], xmm0
lea eax, [ecx - 0x79]
xor byte [ebp + ecx - 0x2b], al
inc ecx
cmp ecx, 9
jb 0x41aac4
mov dword [0x55d630], ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0x2b]
mov byte [ebp - 0x22], 0
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x38], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x34], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41aaf6
sub ecx, edx
lea eax, [ebp - 0x2b]
push ecx
push eax
lea ecx, [ebp - 0x48]
call fcn.00402b80
mov esi, dword [ebp - 0x34]
lea ecx, [ebp - 0x190]
mov eax, 0x7f
cmp esi, 0x10
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x48]
cmovae eax, dword [ebp - 0x48]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x41ab47
test dl, dl
je 0x41ab43
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x41ab47
add ecx, 2
add eax, 2
test dl, dl
jne 0x41ab27
xor eax, eax
jmp 0x41ab4c
sbb eax, eax
or eax, 1
test eax, eax
je 0x41ab5c
mov byte [ebp - 0x11], 0
jmp 0x41ab60
mov edi, dword [ebp - 0x64]
mov esi, dword [ebp - 0x34]
mov byte [ebp - 0x11], 1
mov eax, dword [ebp - 0x18]
test al, 4
je 0x41aba3
and eax, 0xfffffffb
mov dword [ebp - 0x18], eax
cmp esi, 0x10
jb 0x41aba3
mov edx, dword [ebp - 0x48]
lea ecx, [esi + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x41ab96
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ac57
push ecx
push edx
call fcn.004fb0f1
mov eax, dword [ebp - 0x18]
add esp, 8
test al, 2
je 0x41abe1
mov ecx, dword [ebp - 0x50]
and eax, 0xfffffffd
mov dword [ebp - 0x18], eax
cmp ecx, 0x10
jb 0x41abe1
inc ecx
mov eax, edi
cmp ecx, 0x1000
jb 0x41abd4
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ac57
push ecx
push edi
call fcn.004fb0f1
mov eax, dword [ebp - 0x18]
add esp, 8
test al, 1
je 0x41ac17
mov eax, dword [ebp - 0x68]
cmp eax, 0x10
jb 0x41ac17
mov edx, dword [ebp - 0x7c]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x41ac0d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ac57
push ecx
push edx
call fcn.004fb0f1
add esp, 8
mov eax, dword [ebp - 0x30]
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 - 0x30]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00500390
call fcn.00500390
int3