Function at 0x41d228
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a34e9
mov eax, dword fs:[0]
push eax
sub esp, 0x298
mov eax, dword [0x4d3a00]
xor eax, esp
mov dword [esp + 0x290], eax
push ebx
push esi
push edi
mov eax, dword [0x4d3a00]
xor eax, esp
push eax
lea eax, [esp + 0x2a8]
mov dword fs:[0], eax
xor eax, eax
xor ebx, ebx
push 0x208
mov word [esp + 0x90], ax
lea eax, [esp + 0x92]
push ebx
push eax
call fcn.00482250
add esp, 0xc
lea eax, [esp + 0x8c]
push eax
push ebx
push ebx
push 0x24
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [esp + 0x8c]
push eax
lea ecx, [esp + 0x60]
call fcn.00403059
mov dword [esp + 0x2b0], ebx
mov edi, 0x4b5338
mov edx, edi
lea ecx, [esp + 0x5c]
call fcn.0041d4da
test al, al
jne 0x41d48c
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x30]
call fcn.00403034
mov byte [esp + 0x2b0], 1
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x48]
call fcn.00403034
mov byte [esp + 0x2b0], 2
mov esi, str.System32mshtml.tlb
push esi
call fcn.00402919
pop ecx
push eax
push esi
lea ecx, [esp + 0x34]
call fcn.0040413e
mov esi, str.SysWOW64mshtml.tlb
push esi
call fcn.00402919
pop ecx
push eax
push esi
lea ecx, [esp + 0x4c]
call fcn.0040413e
xor eax, eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], ebx
mov word [esp + 0x14], ax
mov byte [esp + 0x2b0], 3
lea eax, [esp + 0x14]
push eax
push edi
mov edx, str.SoftwareClassesTypeLib3050F1C5_98B5_11CF_BB82_00AA00BDCE0B4.00win32
mov ecx, reloc.WS2_32.dll_accept
call fcn.0041e07d
pop ecx
pop ecx
push 8
pop edi
cmp al, 1
jne 0x41d3bd
cmp dword [esp + 0x40], edi
lea ecx, [esp + 0x2c]
lea eax, [esp + 0x14]
cmovae ecx, dword [esp + 0x2c]
cmp dword [esp + 0x28], edi
push ecx
cmovae eax, dword [esp + 0x18]
push eax
call fcn.0047b6f6
pop ecx
pop ecx
test eax, eax
je 0x41d3b6
cmp dword [esp + 0x58], edi
lea ecx, [esp + 0x44]
lea eax, [esp + 0x14]
cmovae ecx, dword [esp + 0x44]
cmp dword [esp + 0x28], edi
push ecx
cmovae eax, dword [esp + 0x18]
push eax
call fcn.0047b6f6
pop ecx
pop ecx
test eax, eax
jne 0x41d3bd
mov bl, 1
jmp 0x41d44d
push ecx
push ecx
push str.SoftwareClassesTypeLib3050F1C5_98B5_11CF_BB82_00AA00BDCE0B
push ecx
call fcn.0041cd3c
push ecx
push ecx
push str.SoftwareClassesTypeLib3050F1C5_98B5_11CF_BB82_00AA00BDCE0B4.0
mov esi, eax
push ecx
and esi, 1
call fcn.0041cd3c
push ecx
push ecx
push str.SoftwareClassesTypeLib3050F1C5_98B5_11CF_BB82_00AA00BDCE0B4.00
push ecx
and esi, eax
call fcn.0041cd3c
push ecx
push ecx
push str.SoftwareClassesTypeLib3050F1C5_98B5_11CF_BB82_00AA00BDCE0B4.00win32
push ecx
and esi, eax
call fcn.0041cd3c
and esi, eax
je 0x41d44d
cmp dword [esp + 0x40], edi
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x74]
cmovae eax, dword [esp + 0x2c]
push eax
call fcn.00403059
mov byte [esp + 0x2b0], 4
lea eax, [esp + 0x74]
push eax
push 0x4b5338
push str.SoftwareClassesTypeLib3050F1C5_98B5_11CF_BB82_00AA00BDCE0B4.00win32
push ecx
call fcn.0041d1d8
mov esi, eax
mov byte [esp + 0x2b0], 3
push ebx
push 1
lea ecx, [esp + 0x7c]
call fcn.0040314a
test esi, esi
sete bl
mov byte [esp + 0x2b0], 2
lea ecx, [esp + 0x14]
push 0
push 1
call fcn.0040314a
mov byte [esp + 0x2b0], 1
lea ecx, [esp + 0x44]
push 0
push 1
call fcn.0040314a
mov byte [esp + 0x2b0], 0
lea ecx, [esp + 0x2c]
push 0
push 1
call fcn.0040314a
or dword [esp + 0x2b0], 0xffffffff
lea ecx, [esp + 0x5c]
push 0
push 1
call fcn.0040314a
mov al, bl
mov ecx, dword [esp + 0x2a8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x290]
xor ecx, esp
call fcn.0047aabf
mov esp, ebp
pop ebp
ret