Function at 0x41afb2
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54af50
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x2f8
push esi
mov esi, ecx
push edi
mov dword [ebp - 0xec], esi
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 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 - 0x1f8]
push 0x104
push 0
push eax
mov dword [ebp - 0x1c], 1
call fcn.005256f0
add esp, 0xc
lea eax, [ebp - 0x1f8]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x41b4ae
mov dword [ebp - 0x18], 0x5518c64c
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0xd280d90
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x18], 0xaf4b4030
mov dword [ebp - 0x14], 0xbe0aaf25
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x18], 0x5544fc0f
mov dword [ebp - 0x14], 0xd280d90
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], 0xaf4b4030
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 0x14], 0xbe0aaf25
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
movaps xmm1, xmmword [ebp - 0x50]
mov dword [ebp - 0x94], ecx
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x98], eax
lea edx, [ecx + 1]
pxor xmm1, xmmword [ebp - 0xa0]
movaps xmmword [ebp - 0x50], xmm1
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41b0d0
sub ecx, edx
lea eax, [ebp - 0x50]
push ecx
push eax
lea ecx, [ebp - 0x3c]
call fcn.004100e0
mov dword [ebp - 4], 1
sub esp, 0x18
mov dword [ebp - 0x18], 0x5544fc35
mov edx, esp
mov dword [ebp - 0x14], 0xd280d90
xorps xmm0, xmm0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x18], 0xaf4b4030
mov dword [ebp - 0x14], 0xbe0aaf25
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x18], 0x5544fc0f
mov dword [ebp - 0x14], 0xd280d90
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], 0xaf4b4030
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], ecx
mov dword [ebp - 0x14], 0xbe0aaf25
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
movaps xmm1, xmmword [ebp - 0x60]
mov dword [ebp - 0xa4], ecx
lea ecx, [ebp - 0x60]
mov dword [ebp - 0xa8], eax
lea edi, [ecx + 1]
pxor xmm1, xmmword [ebp - 0xb0]
movaps xmmword [ebp - 0x60], xmm1
movups xmmword [edx], xmm0
mov dword [ebp - 0x24], esp
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41b193
sub ecx, edi
lea eax, [ebp - 0x60]
push ecx
push eax
mov ecx, edx
call fcn.004100e0
mov byte [ebp - 4], 2
sub esp, 0x18
mov edx, esp
mov dword [ebp - 0x14], esp
xorps xmm0, xmm0
lea ecx, [ebp - 0x1f8]
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 0x41b1d1
sub ecx, edi
lea eax, [ebp - 0x1f8]
push ecx
push eax
mov ecx, edx
call fcn.004100e0
mov byte [ebp - 4], 3
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x8c]
call fcn.0041a6e0
add esp, 0x30
mov byte [ebp - 4], 4
mov eax, 0x2aaaaaab
mov ecx, dword [ebp - 0x88]
sub ecx, dword [ebp - 0x8c]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x41b356
mov dword [ebp - 0x18], 0x5544a035
mov dword [ebp - 0x14], 0xd280d90
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x18], 0xaf4b4030
mov dword [ebp - 0x14], 0xbe0aaf25
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x18], 0x5544fc0f
mov dword [ebp - 0x14], 0xd280d90
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], 0xaf4b4030
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0x14], 0xbe0aaf25
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xbc], ecx
mov ecx, dword [ebp - 0x14]
movaps xmm1, xmmword [ebp - 0x70]
mov edx, dword [ebp - 0x8c]
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xb4], ecx
pxor xmm1, xmmword [ebp - 0xc0]
movaps xmmword [ebp - 0x70], xmm1
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x70]
mov edi, dword [edx + 0x10]
lea eax, [ecx + 1]
mov dword [ebp - 0x24], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41b2c0
sub ecx, dword [ebp - 0x24]
mov eax, closesocket
sub eax, edi
cmp eax, ecx
jb 0x41b4c3
cmp dword [edx + 0x14], 0x10
jb 0x41b2e1
mov edx, dword [edx]
push ecx
lea eax, [ebp - 0x70]
push eax
push edi
push edx
push ecx
push dword [ebp - 0x14]
lea ecx, [ebp - 0xe8]
call fcn.004b92d0
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x1c], 3
call fcn.0040fe60
movups xmm0, xmmword [ebp - 0xe8]
mov eax, 3
mov byte [ebp - 0xe8], 0
movups xmmword [ebp - 0x3c], xmm0
movq xmm0, qword [ebp - 0xd8]
mov dword [ebp - 0x1c], eax
and eax, 0xfffffffd
movq qword [ebp - 0x2c], xmm0
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xd4], 0xf
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xe8]
call fcn.0040fe60
cmp dword [ebp - 0x28], 0x10
lea ecx, [ebp - 0x20]
push 0
push 0
push 0
push 0
push ecx
push 0
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x20], 0
cmovae eax, dword [ebp - 0x3c]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x41b459
push 0x104
lea eax, [ebp - 0x300]
push 0
push eax
call fcn.005256f0
mov edx, dword [ebp - 0x20]
add esp, 0xc
mov dword [ebp - 0x18], 0x5544a42a
mov dword [ebp - 0x14], 0xd280d90
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x18], 0xaf4b4030
mov dword [ebp - 0x14], 0xbe0aaf25
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x18], 0x5544fc0f
mov dword [ebp - 0x14], 0xd280d90
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0x18], 0xaf4b4030
mov dword [ebp - 0x14], 0xbe0aaf25
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xc8], eax
lea eax, [ebp - 0x80]
mov dword [ebp - 0xcc], ecx
mov ecx, dword [ebp - 0x14]
movaps xmm1, xmmword [ebp - 0x80]
push edx
push eax
mov dword [ebp - 0xc4], ecx
lea eax, [ebp - 0x300]
pxor xmm1, xmmword [ebp - 0xd0]
push eax
movaps xmmword [ebp - 0x80], xmm1
call fcn.004104e0
lea ecx, [ebp - 0x300]
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41b441
sub ecx, edx
lea eax, [ebp - 0x300]
push ecx
push eax
mov ecx, esi
call fcn.004b0bf0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x8c]
call fcn.004b2e00
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x28]
cmp ecx, 0x10
jb 0x41b49c
mov edx, dword [ebp - 0x3c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41b492
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b4c8
push ecx
push edx
call fcn.0050d4b1
add esp, 8
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0040f7b0
call fcn.005289b0
int3