Function at 0x415fb0
Capabilities:
Encode data using xor
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x523d87
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x268
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x44], esi
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [ebp - 0x24], 0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x170]
push 0x104
push 0
push eax
mov dword [ebp - 0x24], 1
call fcn.004fe500
add esp, 0xc
lea eax, [ebp - 0x170]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x4163ed
mov byte [ebp - 0x20], 0x33
xor edx, edx
mov byte [ebp - 0x1f], 0xbd
mov edi, 0xf
mov byte [ebp - 0x1e], 0xd8
mov byte [ebp - 0x1d], 0x83
mov al, byte [ebp - 0x20]
mov dword [ebp - 0x14], edx
mov al, byte [ebp + edx - 0x20]
mov ecx, edx
and ecx, edi
mov byte [ebp - 0xd], al
cmp ecx, edi
mov eax, 0x44fe157f
mov edx, 0xb74671c3
cmovae ecx, edi
shl ecx, 2
call fcn.00521900
mov edx, dword [ebp - 0x14]
and al, 0xf
lea ecx, [edx + 0x7f]
xor al, cl
xor al, byte [ebp - 0xd]
mov byte [ebp + edx - 0x20], al
inc edx
mov dword [ebp - 0x14], edx
cmp edx, 4
jb 0x416063
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x2c], 0
movups xmmword [ebp - 0x40], xmm0
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4160c0
sub ecx, edx
lea eax, [ebp - 0x20]
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.0040bb00
mov dword [ebp - 4], 1
xor edx, edx
mov byte [ebp - 0x16], 0x7a
mov byte [ebp - 0x15], 0x4c
mov al, byte [ebp - 0x16]
mov dword [ebp - 0x14], edx
nop dword [eax]
mov al, byte [ebp + edx - 0x16]
mov ecx, edx
and ecx, 0xf
mov byte [ebp - 0xd], al
cmp ecx, 0xf
mov eax, 0xa3b47547
mov edx, 0xffe320b4
cmovae ecx, edi
shl ecx, 2
call fcn.00521900
mov edx, dword [ebp - 0x14]
and al, 0xf
lea ecx, [edx + 0x47]
xor al, cl
xor al, byte [ebp - 0xd]
mov byte [ebp + edx - 0x16], al
inc edx
mov dword [ebp - 0x14], edx
cmp edx, 2
jb 0x4160f0
sub esp, 0x18
lea ecx, [ebp - 0x16]
mov edx, esp
mov dword [ebp - 0x14], esp
xorps xmm0, xmm0
lea edi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x416150
sub ecx, edi
lea eax, [ebp - 0x16]
push ecx
push eax
mov ecx, edx
call fcn.0040bb00
mov byte [ebp - 4], 2
sub esp, 0x18
mov edx, esp
mov dword [ebp - 0x48], esp
xorps xmm0, xmm0
lea ecx, [ebp - 0x170]
lea edi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x416190
sub ecx, edi
lea eax, [ebp - 0x170]
push ecx
push eax
mov ecx, edx
call fcn.0040bb00
mov byte [ebp - 4], 3
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x54]
call fcn.00415760
add esp, 0x30
mov byte [ebp - 4], 4
mov eax, 0x2aaaaaab
mov ecx, dword [ebp - 0x50]
sub ecx, dword [ebp - 0x54]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x4162c5
mov byte [ebp - 0x19], 0x5a
xor edx, edx
mov byte [ebp - 0x18], 0x38
mov edi, 0xf
mov byte [ebp - 0x17], 0x60
mov al, byte [ebp - 0x19]
mov dword [ebp - 0x14], edx
mov al, byte [ebp + edx - 0x19]
mov ecx, edx
and ecx, edi
mov byte [ebp - 0xd], al
cmp ecx, edi
mov eax, 0x2f5a3361
mov edx, 0x41ef8f97
cmovae ecx, edi
shl ecx, 2
call fcn.00521900
mov edx, dword [ebp - 0x14]
and al, 0xf
lea ecx, [edx + 0x61]
xor al, cl
xor al, byte [ebp - 0xd]
mov byte [ebp + edx - 0x19], al
inc edx
mov dword [ebp - 0x14], edx
cmp edx, 3
jb 0x4161f5
mov edx, dword [ebp - 0x54]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x19]
mov edi, dword [edx + 0x10]
lea eax, [ecx + 1]
mov dword [ebp - 0x14], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x416244
sub ecx, dword [ebp - 0x14]
mov eax, closesocket
sub eax, edi
cmp eax, ecx
jb 0x4163ff
cmp dword [edx + 0x14], 0x10
jb 0x416265
mov edx, dword [edx]
push ecx
lea eax, [ebp - 0x19]
push eax
push edi
push edx
push ecx
push dword [ebp - 0x48]
lea ecx, [ebp - 0x6c]
call fcn.00492df0
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x24], 3
call fcn.0040b870
movups xmm0, xmmword [ebp - 0x6c]
mov eax, 3
mov byte [ebp - 0x6c], 0
movups xmmword [ebp - 0x40], xmm0
movq xmm0, qword [ebp - 0x5c]
mov dword [ebp - 0x24], eax
and eax, 0xfffffffd
movq qword [ebp - 0x30], xmm0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0xf
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x6c]
call fcn.0040b870
cmp dword [ebp - 0x2c], 0x10
lea ecx, [ebp - 0x28]
push 0
push 0
push 0
push 0
push ecx
push 0
lea eax, [ebp - 0x40]
mov dword [ebp - 0x28], 0
cmovae eax, dword [ebp - 0x40]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x41639b
push 0x104
lea eax, [ebp - 0x274]
push 0
push eax
call fcn.004fe500
mov byte [ebp - 0x1c], 0x45
add esp, 0xc
mov byte [ebp - 0x1b], 0x3c
xor edx, edx
mov byte [ebp - 0x1a], 0x60
mov esi, 0xf
mov al, byte [ebp - 0x1c]
mov dword [ebp - 0x14], edx
mov al, byte [ebp + edx - 0x1c]
mov ecx, edx
and ecx, esi
mov byte [ebp - 0xd], al
cmp ecx, esi
mov eax, 0x2f5a3361
mov edx, 0x41ef8f97
cmovae ecx, esi
shl ecx, 2
call fcn.00521900
mov edx, dword [ebp - 0x14]
and al, 0xf
lea ecx, [edx + 0x61]
xor al, cl
xor al, byte [ebp - 0xd]
mov byte [ebp + edx - 0x1c], al
inc edx
mov dword [ebp - 0x14], edx
cmp edx, 3
jb 0x416325
push dword [ebp - 0x28]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x274]
push eax
call fcn.0040be80
mov esi, dword [ebp - 0x44]
lea ecx, [ebp - 0x274]
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x416383
sub ecx, edx
lea eax, [ebp - 0x274]
push ecx
push eax
mov ecx, esi
call fcn.0048a3c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x54]
call fcn.0048c6c0
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0x10
jb 0x4163db
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4163d1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416404
push ecx
push edx
call fcn.004e62c1
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
call fcn.0040b180
call fcn.005017c0
int3