Function at 0x41ce65
Capabilities:
Get common file path

Disassembly:
mov eax, 0x44d158
call fcn.0042c4cc
sub esp, 0x4a0
mov al, byte [0x46a9b4]
push ebx
push esi
push edi
push 0x40
mov byte [ebp - 0x36c], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x36b]
mov esi, 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x36c]
push esi
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
neg eax
sbb eax, eax
neg eax
mov dword [ebp - 0x20], eax
jne 0x41ceba
push str.GetModuleFileName
jmp 0x41cefc
mov al, byte [0x46a9b4]
push 0x40
mov byte [ebp - 0x268], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x267]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x268]
push esi
push eax
lea eax, [ebp - 0x36c]
push eax
call fcn.00420421
add esp, 0xc
neg eax
sbb eax, eax
neg eax
mov dword [ebp - 0x20], eax
jne 0x41cf15
push str.GetDirectoryNameFromPath
push str._s_failed_n
push 0x46abb8
call fcn.00414d1c
add esp, 0xc
xor eax, eax
jmp 0x41d206
lea eax, [ebp - 0x268]
push eax
call fcn.0042cc10
mov ebx, dword [ebp + 8]
pop ecx
push eax
lea eax, [ebp - 0x268]
push eax
mov ecx, ebx
call fcn.00401879
push dword [ebp + 0xc]
call fcn.0042cc10
pop ecx
push eax
mov ecx, ebx
push dword [ebp + 0xc]
call fcn.00404b64
mov esi, str.autorun.inf
push esi
call fcn.0042cc10
pop ecx
push eax
push esi
mov ecx, ebx
call fcn.00404b64
and byte [0x47afc4], 0
mov eax, dword [ebx + 4]
test eax, eax
jne 0x41cf70
mov eax, 0x44f48c
mov esi, 0x47afc4
push 0
push esi
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
test eax, eax
je 0x41cf98
push esi
call fcn.0042cc10
pop ecx
push eax
push esi
mov ecx, ebx
call fcn.00401879
mov al, byte [0x46a9b4]
push 7
mov byte [ebp - 0x40], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x3f]
rep stosd dword es:[edi], eax
mov ebx, dword [ebx + 4]
stosw word es:[edi], ax
stosb byte es:[edi], al
test ebx, ebx
mov eax, 0x44f48c
je 0x41cfbb
mov eax, ebx
mov ebx, 0x800
lea ecx, [ebp - 0x40]
push ebx
push 0x20
push ecx
mov esi, str.Version
push str.DIVISION
push esi
push eax
call fcn.0041ff18
add esp, 0x18
test eax, eax
je 0x41d203
mov al, byte [ebp + 0xb]
push 0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 0x1c], al
call fcn.004151e3
lea eax, [ebp - 0x40]
push eax
call fcn.0042cc10
pop ecx
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00401879
and dword [ebp - 4], 0
mov edi, 0x460f80
push edi
call fcn.0042cc10
pop ecx
push eax
push edi
lea ecx, [ebp - 0x1c]
call fcn.00404b64
mov edi, dword [ebp + 8]
mov eax, dword [edi + 4]
test eax, eax
jne 0x41d033
mov eax, 0x44f48c
push ebx
lea ecx, [ebp - 0x40]
push 0x20
push ecx
push str.COEXIST_RELEASE_NUM
push esi
push eax
call fcn.0041ff18
add esp, 0x18
test eax, eax
jne 0x41d077
mov eax, dword [edi + 4]
test eax, eax
jne 0x41d059
mov eax, 0x44f48c
push ebx
lea ecx, [ebp - 0x40]
push 0x20
push ecx
push str.ICE_REV
push esi
push eax
call fcn.0041ff18
add esp, 0x18
test eax, eax
je 0x41d1f5
lea eax, [ebp - 0x40]
push eax
call fcn.0042ce86
pop ecx
push eax
lea eax, [ebp - 0x40]
push str._2.2d
push eax
call fcn.0042c4eb
lea eax, [ebp - 0x40]
push eax
call fcn.0042cc10
add esp, 0x10
lea ecx, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00404b64
mov edi, str..dat
push edi
call fcn.0042cc10
pop ecx
push eax
push edi
lea ecx, [ebp - 0x1c]
call fcn.00404b64
mov al, byte [0x46a9b4]
push 0x40
mov byte [ebp - 0x164], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x163]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x164]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x41d1f5
lea eax, [ebp - 0x164]
push 0x45f5a8
push eax
call fcn.0042cca0
lea eax, [ebp - 0x164]
push eax
call fcn.0042cc10
add esp, 0xc
lea ecx, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x164]
push eax
push 0
call fcn.00415166
mov eax, dword [ebp - 0x18]
mov edi, 0x44f48c
test eax, eax
jne 0x41d134
mov eax, edi
lea ecx, [ebp - 0x4ac]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x41d1f5
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x41d15b
mov eax, edi
push eax
push str.looking_for__s_in_windows_folder_n
push 0x46abb8
call fcn.00414b92
mov eax, dword [ebp + 8]
add esp, 0xc
mov eax, dword [eax + 4]
test eax, eax
jne 0x41d17a
mov eax, edi
push ebx
lea ecx, [ebp - 0x40]
push 0x20
push ecx
push str.DriverVer
push esi
push eax
call fcn.0041ff18
add esp, 0x18
test eax, eax
je 0x41d1f5
mov al, byte [0x46a9b4]
push 7
mov byte [ebp - 0x60], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x5f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x41d1b5
mov eax, 0x44f48c
push ebx
lea ecx, [ebp - 0x60]
push 0x20
push ecx
push str.DriverVer
push esi
push eax
call fcn.0041ff18
add esp, 0x18
test eax, eax
je 0x41d1f5
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0042d587
pop ecx
test eax, eax
pop ecx
jne 0x41d1f5
push dword [0x44f390]
mov ecx, dword [ebp + 8]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004015d2
or dword [ebp - 4], 0xffffffff
push 1
lea ecx, [ebp - 0x1c]
call fcn.004151e3
push 1
pop eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret