Function at 0x41219c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
push edi
mov dword [ebp - 0x138], ecx
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 0x138]
add ecx, 0x414
call fcn.004172b0
jmp 0x4121cb
lea ecx, [ebp - 4]
call fcn.00417850
lea ecx, [ebp - 0x11c]
push ecx
mov ecx, dword [ebp - 0x138]
add ecx, 0x414
call fcn.00436710
push eax
lea ecx, [ebp - 4]
call fcn.00448ed0
and eax, 0xff
test eax, eax
je 0x41223e
lea ecx, [ebp - 4]
call fcn.00432be0
mov dword [ebp - 8], eax
push 0x4c272c
mov edx, dword [ebp - 8]
add edx, 0x108
push edx
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
je 0x412221
mov eax, dword [ebp - 8]
cmp dword [eax], 0x73
je 0x41223a
push 0x4c273c
mov ecx, dword [ebp - 8]
add ecx, 0x108
push ecx
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
je 0x41223c
jmp 0x41223e
jmp 0x4121c3
lea edx, [ebp - 0x120]
push edx
mov ecx, dword [ebp - 0x138]
add ecx, 0x414
call fcn.00436710
push eax
lea ecx, [ebp - 4]
call fcn.00448ed0
and eax, 0xff
test eax, eax
je 0x4124ed
mov byte [ebp - 0x10c], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x10b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0
push 0
lea eax, [ebp - 0x10c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
jne 0x4122a1
jmp 0x4124ed
push 0x4c2744
push 0x104
lea ecx, [ebp - 0x10c]
push ecx
call fcn.004152f0
push 0x4c275c
lea edx, [ebp - 0x10c]
push edx
call dword [sym.imp.MSVCRT.dll_fopen]
add esp, 8
mov dword [ebp - 0x110], eax
push 0x4c2760
mov eax, dword [ebp - 0x110]
push eax
call dword [sym.imp.MSVCRT.dll_fprintf]
add esp, 8
push 0x4c27cc
mov ecx, dword [ebp - 0x110]
push ecx
call dword [sym.imp.MSVCRT.dll_fprintf]
add esp, 8
lea edx, [ebp - 0x124]
push edx
mov ecx, dword [ebp - 0x138]
add ecx, 0x414
call fcn.004172b0
mov eax, dword [eax]
mov dword [ebp - 4], eax
jmp 0x412323
lea ecx, [ebp - 4]
call fcn.00417850
lea ecx, [ebp - 0x128]
push ecx
mov ecx, dword [ebp - 0x138]
add ecx, 0x414
call fcn.00436710
push eax
lea ecx, [ebp - 4]
call fcn.00448ed0
and eax, 0xff
test eax, eax
je 0x4123d2
lea ecx, [ebp - 4]
call fcn.00432be0
mov dword [ebp - 0x114], eax
push 0x4c27f0
mov edx, dword [ebp - 0x114]
add edx, 0x108
push edx
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
je 0x412386
mov eax, dword [ebp - 0x114]
cmp dword [eax], 0x73
je 0x4123a2
push 0x4c2800
mov ecx, dword [ebp - 0x114]
add ecx, 0x108
push ecx
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
je 0x4123cd
mov edx, dword [ebp - 0x114]
add edx, 4
push edx
mov eax, dword [ebp - 0x114]
add eax, 0x108
push eax
push str._s__t__s_n
mov ecx, dword [ebp - 0x110]
push ecx
call dword [sym.imp.MSVCRT.dll_fprintf]
add esp, 0x10
jmp 0x41231b
mov edx, dword [ebp - 0x110]
push edx
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
push 0
push 0x4c2814
push 0x4c2820
mov ecx, dword [ebp - 0x138]
add ecx, 4
call fcn.00402b20
push 0x104
push 0x4c2868
push 0x4c2874
mov ecx, dword [ebp - 0x138]
add ecx, 4
call fcn.00402b20
cmp eax, 7
jne 0x4124ed
lea eax, [ebp - 0x12c]
push eax
mov ecx, dword [ebp - 0x138]
add ecx, 0x414
call fcn.004172b0
mov ecx, dword [eax]
mov dword [ebp - 4], ecx
lea edx, [ebp - 0x130]
push edx
mov ecx, dword [ebp - 0x138]
add ecx, 0x414
call fcn.00436710
push eax
lea ecx, [ebp - 4]
call fcn.00448ed0
and eax, 0xff
test eax, eax
je 0x4124ed
lea ecx, [ebp - 4]
call fcn.00432be0
mov dword [ebp - 0x118], eax
push 0x4c28a8
mov eax, dword [ebp - 0x118]
add eax, 0x108
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
je 0x4124a1
mov ecx, dword [ebp - 0x118]
cmp dword [ecx], 0x73
je 0x4124bd
push str.Virus.
mov edx, dword [ebp - 0x118]
add edx, 0x108
push edx
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
je 0x4124e0
mov eax, dword [ebp - 4]
push eax
lea ecx, [ebp - 0x134]
push ecx
mov ecx, dword [ebp - 0x138]
add ecx, 0x414
call fcn.004390b0
mov edx, dword [eax]
mov dword [ebp - 4], edx
jmp 0x4124e8
lea ecx, [ebp - 4]
call fcn.00417850
jmp 0x41243f
pop edi
mov esp, ebp
pop ebp
ret