Function at 0x41f640
Capabilities:
Get common file path
Get disk information
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59b491
mov eax, dword fs:[0]
push eax
mov eax, 0x319c
call fcn.0056fad0
mov eax, dword [0x608ec4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x3164], edi
push 0x400
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.005720f0
add esp, 0xc
lea eax, [ebp - 0xc28]
push eax
call fcn.004216d0
cmp dword [eax + 0x14], 0x10
jb 0x41f6a3
mov eax, dword [eax]
push eax
push 0x5e5a30
lea eax, [ebp - 0x810]
push 0x400
push eax
call fcn.00407210
mov ecx, dword [ebp - 0xc14]
add esp, 0x10
cmp ecx, 0x10
jb 0x41f6f7
mov edx, dword [ebp - 0xc28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41f6ed
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42063f
push ecx
push edx
call fcn.0056eea1
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
push 0x4011
mov dword [ebp - 0x3170], eax
lea esi, [edi + 0x420]
push 0x45c
lea eax, [ebp - 0x289c]
push eax
push 0
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
push eax
mov ecx, esi
call fcn.004269d0
push dword [edi + 0x424]
call dword [sym.imp.COMCTL32.dll_ImageList_GetImageCount]
mov dword [edi + 0x490], eax
test esi, esi
jne 0x41f74b
xor eax, eax
jmp 0x41f74e
mov eax, dword [esi + 4]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push eax
push 0
push 0x402
push dword [edi + 0x148]
call esi
push eax
call fcn.00426bed
lea ecx, [edi + 0x420]
call fcn.00426bc3
mov ecx, dword [ebp - 0x3170]
mov al, 0x41
mov dword [ebp - 0x315c], 0
mov byte [ebp - 0x3155], al
nop dword [eax]
test cl, 1
je 0x420299
mov byte [ebp - 0x810], al
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
movzx eax, byte [eax + 0x420658]
jmp dword [eax*4 + 0x420650]
inc al
shr ecx, 1
mov byte [ebp - 0x3155], al
mov dword [ebp - 0x3170], ecx
cmp al, 0x5a
jle 0x41f790
movups xmm0, xmmword [0x5abe60]
sub esp, 0x10
mov eax, esp
movups xmmword [eax], xmm0
lea eax, [ebp - 0x3168]
push eax
call fcn.00422680
push dword [ebp - 0x3168]
lea eax, [ebp - 0xc10]
push 0x400
push eax
call fcn.0057b0ba
mov edx, dword [ebp - 0x3168]
add esp, 0xc
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x420304
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0xc10]
push 0x5e21bf
push eax
call fcn.0057a1f3
add esp, 8
test eax, eax
jne 0x420335
push str.my_network
lea eax, [ebp - 0xc10]
push 0x400
push eax
call fcn.0057b0ba
add esp, 0xc
lea eax, [ebp - 0x3174]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
lea eax, [ebp - 0x3160]
push eax
push 0x12
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
push 0x800
lea eax, [ebp - 0x2440]
push 0
push eax
call fcn.005720f0
add esp, 0xc
mov dword [ebp - 0x1c40], 3
lea eax, [ebp - 0x2440]
mov ecx, edi
push 1
push eax
mov eax, dword [ebp - 0x315c]
push 0
push eax
lea eax, [ebp - 0xc10]
push eax
push dword [ebp - 0x3160]
call fcn.00420660
mov edx, dword [edi + 0x4bc]
lea eax, [edi + 0x4b8]
cmp edx, dword [eax + 8]
je 0x4203c8
mov ecx, 0x201
lea esi, [ebp - 0x2440]
mov edi, edx
rep movsd dword es:[edi], dword [esi]
add dword [eax + 4], 0x804
mov edi, dword [ebp - 0x3164]
jmp 0x4203d7
lea ecx, [ebp - 0x2440]
push ecx
push edx
mov ecx, eax
call fcn.004251e0
mov eax, dword [ebp - 0x3174]
push dword [ebp - 0x3160]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x3174]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push 0
push 0
push 0x14e
push dword [edi + 0x148]
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x5e21bf
push dword [edi + 0x488]
mov dword [edi + 0x4a0], 0
call fcn.0057a1f3
mov ecx, dword [edi + 0x148]
add esp, 8
push 0
push 0
test eax, eax
jne 0x420531
push 0x147
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x150
push dword [edi + 0x148]
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, eax
test edx, edx
jne 0x420463
xor ecx, ecx
jmp 0x42047d
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x316c], eax
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x420470
sub ecx, dword [ebp - 0x316c]
push ecx
push edx
lea ecx, [edi + 0x488]
call fcn.004036d0
push ecx
mov esi, esp
mov dword [ebp - 0x31a8], esp
mov dword [ebp - 0x316c], esi
mov eax, dword [edi + 0x488]
sub eax, 0x10
push eax
call fcn.004039d0
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], 1
mov esi, esp
mov dword [ebp - 0x316c], esp
mov dword [ebp - 0x3178], esi
call fcn.00431e1a
mov ecx, eax
test ecx, ecx
je 0x420644
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
push str.strWebDrive
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.004033a0
test al, al
jne 0x4204ff
push 0xb
push str.strWebDrive
mov ecx, esi
call fcn.004036d0
push ecx
mov byte [ebp - 4], 3
mov esi, esp
mov dword [ebp - 0x3178], esi
mov eax, dword [edi + 0x484]
sub eax, 0x10
push eax
call fcn.004039d0
add esp, 4
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], 0xffffffff
call fcn.00409bf0
jmp 0x4205a6
push 0x146
push ecx
xor esi, esi
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
jle 0x4205a6
push 0
push esi
push 0x150
push dword [edi + 0x148]
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x420644
push eax
push dword [edi + 0x488]
call fcn.0057a1f3
add esp, 8
push 0
test eax, eax
je 0x42058e
push 0
push 0x146
push dword [edi + 0x148]
inc esi
call dword [sym.imp.USER32.dll_SendMessageA]
cmp esi, eax
jl 0x420543
jmp 0x4205a6
push esi
push 0x14e
push dword [edi + 0x148]
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [edi + 0x4a0], esi
push 0x5e21bf
push dword [edi + 0x48c]
call fcn.0057a1f3
add esp, 8
test eax, eax
jne 0x420624
mov ecx, dword [edi + 0x488]
mov esi, dword [edi + 0x48c]
sub esi, 0x10
lea edx, [ecx - 0x10]
cmp edx, esi
je 0x420624
cmp dword [esi + 0xc], eax
jl 0x420615
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x420615
push edx
call fcn.004039d0
add esp, 4
mov dword [ebp - 0x316c], eax
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42060a
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x316c]
add eax, 0x10
mov dword [edi + 0x48c], eax
jmp 0x420624
push dword [ecx - 0xc]
push ecx
lea ecx, [edi + 0x48c]
call fcn.004036d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0056ee93
mov esp, ebp
pop ebp
ret
call fcn.0057504f
push 0x80004005
call fcn.00403680
nop
lea eax, [edx]
inc edx
add byte [edx + 0x41f7], bh
add byte [ecx], al
add dword [ecx], eax
add dword [ecx], eax
int3