Function at 0x41af62
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 0x545e40
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.005205e0
add esp, 0xc
lea eax, [ebp - 0x1f8]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x41b45e
mov dword [ebp - 0x18], 0x4b3ef76
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0xe640eba1
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x18], 0x76184a46
mov dword [ebp - 0x14], 0xf52f0c30
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x18], 0x4efd535
mov dword [ebp - 0x14], 0xe640eba1
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], 0x76184a46
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 0x14], 0xf52f0c30
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 0x41b080
sub ecx, edx
lea eax, [ebp - 0x50]
push ecx
push eax
lea ecx, [ebp - 0x3c]
call fcn.00410090
mov dword [ebp - 4], 1
sub esp, 0x18
mov dword [ebp - 0x18], 0x4efd50f
mov edx, esp
mov dword [ebp - 0x14], 0xe640eba1
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], 0x76184a46
mov dword [ebp - 0x14], 0xf52f0c30
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x18], 0x4efd535
mov dword [ebp - 0x14], 0xe640eba1
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], 0x76184a46
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], ecx
mov dword [ebp - 0x14], 0xf52f0c30
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 0x41b143
sub ecx, edi
lea eax, [ebp - 0x60]
push ecx
push eax
mov ecx, edx
call fcn.00410090
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 0x41b181
sub ecx, edi
lea eax, [ebp - 0x1f8]
push ecx
push eax
mov ecx, edx
call fcn.00410090
mov byte [ebp - 4], 3
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x8c]
call fcn.0041a690
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 0x41b306
mov dword [ebp - 0x18], 0x4ef890f
mov dword [ebp - 0x14], 0xe640eba1
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x18], 0x76184a46
mov dword [ebp - 0x14], 0xf52f0c30
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x18], 0x4efd535
mov dword [ebp - 0x14], 0xe640eba1
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], 0x76184a46
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0x14], 0xf52f0c30
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 0x41b270
sub ecx, dword [ebp - 0x24]
mov eax, closesocket
sub eax, edi
cmp eax, ecx
jb 0x41b473
cmp dword [edx + 0x14], 0x10
jb 0x41b291
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.004b41d0
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x1c], 3
call fcn.0040fe10
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.0040fe10
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 0x41b409
push 0x104
lea eax, [ebp - 0x300]
push 0
push eax
call fcn.005205e0
mov edx, dword [ebp - 0x20]
add esp, 0xc
mov dword [ebp - 0x18], 0x4ef8d10
mov dword [ebp - 0x14], 0xe640eba1
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x18], 0x76184a46
mov dword [ebp - 0x14], 0xf52f0c30
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x18], 0x4efd535
mov dword [ebp - 0x14], 0xe640eba1
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0x18], 0x76184a46
mov dword [ebp - 0x14], 0xf52f0c30
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.00410490
lea ecx, [ebp - 0x300]
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41b3f1
sub ecx, edx
lea eax, [ebp - 0x300]
push ecx
push eax
mov ecx, esi
call fcn.004abaf0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x8c]
call fcn.004add00
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x28]
cmp ecx, 0x10
jb 0x41b44c
mov edx, dword [ebp - 0x3c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41b442
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b478
push ecx
push edx
call fcn.005083b1
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.0040f760
call fcn.005238a0
int3