Function at 0x408c80
Capabilities:
Get common file path

Disassembly:
mov eax, 0x8014
call fcn.00416960
mov eax, dword [0x43e270]
xor eax, esp
mov dword [esp + 0x8010], eax
push esi
push edi
mov esi, ecx
push str.Run_
mov ecx, 0x440628
mov edi, edx
mov dword [esp + 0x14], 1
call fcn.00403b70
push 0x200
lea eax, [esp + 0x1c]
push 0
push eax
mov dword [esp + 0x18], esi
call fcn.0040d9a0
push 0x800
lea ecx, [esp + 0x228]
push 0
push ecx
call fcn.0040d9a0
push 0x200
lea edx, [esp + 0xa34]
push 0
push edx
call fcn.0040d9a0
push 0x200
lea eax, [esp + 0xc40]
push 0
push eax
call fcn.0040d9a0
push 0x800
lea ecx, [esp + 0x5850]
push 0
push ecx
mov byte [esp + 0xe54], 0
mov byte [esp + 0xe55], 0
call fcn.0040d9a0
add esp, 0x40
push 0x800
lea edx, [esp + 0x101c]
push 0
push edx
call fcn.0040d9a0
add esp, 0xc
lea eax, [esp + 0x5818]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x408d71
push 0x800
push eax
lea ecx, [esp + 0x5820]
push ecx
call fcn.0040d9a0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea edx, [esp + 0x581c]
push edx
push str._s_04x
lea edx, [esp + 0x1024]
call fcn.004029a0
add esp, 0xc
lea ecx, [esp + 0x1018]
call fcn.00401830
lea edx, [esp + 0x1018]
lea ecx, [esp + 8]
call fcn.00404670
mov ecx, 0x440628
test al, al
jne 0x408dc3
push str.Extract_files_to_fail___
jmp 0x4090ee
push str.Success_to_Extract
call fcn.00403b70
push 0x2000
lea eax, [esp + 0x6020]
push 0
push eax
call fcn.0040d9a0
push 0x2000
lea ecx, [esp + 0x382c]
push 0
push ecx
call fcn.0040d9a0
add esp, 0x1c
push str.COMMAND
lea edx, [esp + 0xc]
push edx
mov ecx, 0x1000
lea edx, [esp + 0x3820]
call fcn.00405170
test eax, eax
jne 0x408ebf
lea eax, [esp + 0x3818]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x408e25
sub eax, edx
sar eax, 1
je 0x408ebf
test edi, edi
je 0x408e8b
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x408e43
sub eax, edx
sar eax, 1
je 0x408e8b
push 0xfff
push 0x43612c
lea eax, [esp + 0x3820]
push 0x1000
push eax
call fcn.0040d2a5
push 0xfff
push edi
lea ecx, [esp + 0x3830]
push 0x1000
push ecx
call fcn.0040d2a5
add esp, 0x20
lea edx, [esp + 0x3818]
push edx
lea eax, [esp + 0x101c]
push eax
push 0x43470c
lea edx, [esp + 0x6024]
call fcn.004040c0
add esp, 0xc
lea edx, [esp + 0x10]
lea ecx, [esp + 0x6018]
call fcn.00409e50
push 0x2000
lea ecx, [esp + 0x381c]
push 0
push ecx
call fcn.0040d9a0
add esp, 0xc
push 0x4354b4
lea edx, [esp + 0xc]
push edx
mov ecx, 0x1000
lea edx, [esp + 0x3820]
call fcn.00405170
test eax, eax
jne 0x4090f6
lea eax, [esp + 0x3818]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x408f03
sub eax, edx
sar eax, 1
je 0x4090f6
push str.DRIVER
lea eax, [esp + 0xc]
push eax
mov ecx, 0x100
lea edx, [esp + 0x1c]
call fcn.00405170
test eax, eax
jne 0x4090e4
call fcn.00409bd0
cmp eax, 0x100001
jae 0x4090b5
push str.In_Windows_XP__copy_driver_files_under_program_files_folder
mov ecx, 0x440628
call fcn.00403b70
push 0x800
lea ecx, [esp + 0x3020]
push 0
push ecx
call fcn.0040d9a0
push 0x800
lea edx, [esp + 0x202c]
push 0
push edx
call fcn.0040d9a0
push 0x800
lea eax, [esp + 0x2838]
push 0
push eax
call fcn.0040d9a0
push 0x800
lea ecx, [esp + 0x1844]
push 0
push ecx
call fcn.0040d9a0
push 0x200
lea edx, [esp + 0xe50]
push 0
push edx
call fcn.0040d9a0
add esp, 0x40
lea esi, [esp + 0x3018]
call fcn.00409930
test al, al
je 0x4090a3
push 0x3ff
lea eax, [esp + 0x381c]
push eax
lea ecx, [esp + 0x2020]
push 0x400
push ecx
call fcn.0040cafb
lea edx, [esp + 0x2028]
push 0x5c
push edx
call fcn.0040c87b
mov esi, eax
add esp, 0x18
test esi, esi
je 0x409029
push 0xff
push esi
lea eax, [esp + 0xe20]
push 0x100
push eax
call fcn.0040cafb
add esp, 0x10
xor ecx, ecx
mov word [esi], cx
lea edx, [esp + 0x2018]
push edx
lea eax, [esp + 0x101c]
push eax
push 0x43470c
lea edx, [esp + 0x2824]
call fcn.004029a0
lea ecx, [esp + 0x2024]
push ecx
lea edx, [esp + 0x3028]
push edx
push 0x43470c
lea edx, [esp + 0x1830]
call fcn.004029a0
add esp, 0x18
lea ecx, [esp + 0x1818]
call fcn.00401830
lea edi, [esp + 0x1818]
lea esi, [esp + 0x2818]
call fcn.00401000
test eax, eax
jne 0x4090b5
lea eax, [esp + 0xe18]
push eax
mov ecx, edi
push ecx
push 0x4351e8
jmp 0x4090ca
push str.Get_Programfiles_directory_fail__
mov ecx, 0x440628
call fcn.00403b70
add esp, 4
lea edx, [esp + 0x3818]
push edx
lea eax, [esp + 0x101c]
push eax
push 0x43470c
lea edx, [esp + 0x220]
call fcn.004029a0
add esp, 0xc
lea ecx, [esp + 0x14]
call fcn.00405330
jmp 0x4090f6
push str.Get_Driver_Name_fail__
mov ecx, 0x440628
call fcn.00403b70
add esp, 4
lea ecx, [esp + 0x1018]
call fcn.00401830
mov ecx, dword [esp + 0x8018]
mov eax, dword [esp + 0x10]
pop edi
pop esi
xor ecx, esp
call fcn.0040c641
add esp, 0x8014
ret