Function at 0x405b68
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov dword [ebp - 0xfc], eax
mov eax, 0x4648f0
call fcn.004566f8
mov dword [ebp - 0xdc], 2
lea edx, [ebp - 4]
lea eax, [ebp - 4]
call fcn.00460808
inc dword [ebp - 0xdc]
mov word [ebp - 0xe8], 8
lea edx, [ebp - 8]
lea eax, [ebp - 8]
call fcn.00460808
inc dword [ebp - 0xdc]
push 0x104
lea edx, [ebp - 0x21c]
push edx
call sub.KERNEL32.DLL_GetWindowsDirectoryA
mov word [ebp - 0xe8], 0x14
lea eax, [ebp - 0xc]
call fcn.00401a24
mov edx, eax
inc dword [ebp - 0xdc]
lea eax, [ebp - 8]
call fcn.00460b18
lea edx, [ebp - 0xc]
push edx
mov edx, 0x462a1c
lea eax, [ebp - 0x10]
call fcn.004607d0
inc dword [ebp - 0xdc]
lea edx, [ebp - 0x10]
pop eax
call fcn.00460d0c
mov dword [ebp - 0x100], eax
dec dword [ebp - 0xdc]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.004608a0
dec dword [ebp - 0xdc]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004608a0
mov word [ebp - 0xe8], 8
cmp dword [ebp - 0x100], 0
je 0x405e0f
mov word [ebp - 0xe8], 0x2c
mov edx, str._F2C:_
lea eax, [ebp - 0x14]
call fcn.004607d0
inc dword [ebp - 0xdc]
call fcn.00404ad0
add eax, dword [ebp - 0x100]
mov dword [ebp - 0x104], eax
dec dword [ebp - 0xdc]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004608a0
mov word [ebp - 0xe8], 0x20
mov word [ebp - 0xe8], 0x38
lea eax, [ebp - 0x2c]
call fcn.00401a24
push eax
inc dword [ebp - 0xdc]
lea eax, [ebp - 8]
call fcn.00404ad0
mov ecx, eax
sub ecx, dword [ebp - 0x104]
inc ecx
lea eax, [ebp - 8]
mov edx, dword [ebp - 0x104]
call fcn.00460c28
lea ecx, [ebp - 0x2c]
push ecx
lea eax, [ebp - 0x18]
call fcn.00401a24
push eax
inc dword [ebp - 0xdc]
mov ecx, dword [ebp - 0x100]
add ecx, 2
lea eax, [ebp - 8]
mov edx, 1
call fcn.00460c28
lea ecx, [ebp - 0x18]
push ecx
lea eax, [ebp - 0x20]
call fcn.00401a24
push eax
inc dword [ebp - 0xdc]
lea edx, [ebp - 0x21c]
lea eax, [ebp - 0x1c]
call fcn.004607d0
inc dword [ebp - 0xdc]
lea edx, [ebp - 0x1c]
pop ecx
pop eax
call fcn.004608f8
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 0x28]
call fcn.00401a24
push eax
inc dword [ebp - 0xdc]
mov edx, 0x462a2a
lea eax, [ebp - 0x24]
call fcn.004607d0
inc dword [ebp - 0xdc]
lea edx, [ebp - 0x24]
pop ecx
pop eax
call fcn.004608f8
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x30]
call fcn.00401a24
mov ecx, eax
inc dword [ebp - 0xdc]
pop eax
pop edx
call fcn.004608f8
lea edx, [ebp - 0x30]
lea eax, [ebp - 8]
call fcn.004608d0
dec dword [ebp - 0xdc]
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.004608a0
dec dword [ebp - 0xdc]
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.004608a0
dec dword [ebp - 0xdc]
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.004608a0
dec dword [ebp - 0xdc]
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.004608a0
dec dword [ebp - 0xdc]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.004608a0
dec dword [ebp - 0xdc]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004608a0
dec dword [ebp - 0xdc]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.004608a0
mov word [ebp - 0xe8], 8
mov word [ebp - 0xe8], 0x44
lea eax, [ebp - 0x34]
call fcn.00401a24
mov edx, eax
inc dword [ebp - 0xdc]
lea eax, [ebp - 8]
call fcn.00460b18
lea edx, [ebp - 0x34]
push edx
mov edx, str._F1C:_
lea eax, [ebp - 0x38]
call fcn.004607d0
inc dword [ebp - 0xdc]
lea edx, [ebp - 0x38]
pop eax
call fcn.00460d0c
mov dword [ebp - 0x108], eax
dec dword [ebp - 0xdc]
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.004608a0
dec dword [ebp - 0xdc]
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.004608a0
mov word [ebp - 0xe8], 8
cmp dword [ebp - 0x108], 0
je 0x4067f6
mov word [ebp - 0xe8], 0x50
lea eax, [ebp - 0x3c]
call fcn.00401a24
inc dword [ebp - 0xdc]
mov word [ebp - 0xe8], 0x5c
mov word [ebp - 0xe8], 0x68
lea eax, [ebp - 0x40]
call fcn.00401a24
inc dword [ebp - 0xdc]
mov word [ebp - 0xe8], 0x5c
mov word [ebp - 0xe8], 0x74
lea eax, [ebp - 0x44]
call fcn.00401a24
push eax
inc dword [ebp - 0xdc]
lea eax, [ebp - 8]
call fcn.00404ad0
mov ecx, eax
sub ecx, dword [ebp - 0x108]
inc ecx
lea eax, [ebp - 8]
mov edx, dword [ebp - 0x108]
call fcn.00460c28
mov word [ebp - 0xe8], 0x5c
mov word [ebp - 0xe8], 0x80
mov edx, 0x462a33
lea eax, [ebp - 0x4c]
call fcn.004607d0
inc dword [ebp - 0xdc]
lea edx, [ebp - 0x4c]
lea eax, [ebp - 0x44]
call fcn.00460d0c
mov dword [ebp - 0x10c], eax
dec dword [ebp - 0xdc]
lea eax, [ebp - 0x4c]
mov edx, 2
call fcn.004608a0
mov word [ebp - 0xe8], 0x5c
cmp dword [ebp - 0x10c], 0
jne 0x405fb6
mov word [ebp - 0xe8], 0x8c
lea eax, [ebp - 0x50]
call fcn.00401a24
push eax
inc dword [ebp - 0xdc]
lea eax, [ebp - 0x44]
call fcn.00404ad0
mov ecx, eax
add ecx, 0xfffffffa
lea eax, [ebp - 0x44]
mov edx, 7
call fcn.00460c28
lea edx, [ebp - 0x50]
lea eax, [ebp - 0x3c]
call fcn.004608d0
dec dword [ebp - 0xdc]
lea eax, [ebp - 0x50]
mov edx, 2
call fcn.004608a0
jmp 0x406002
mov word [ebp - 0xe8], 0x98
lea eax, [ebp - 0x54]
call fcn.00401a24
push eax
inc dword [ebp - 0xdc]
mov ecx, dword [ebp - 0x10c]
add ecx, 0xfffffffa
lea eax, [ebp - 0x44]
mov edx, 7
call fcn.00460c28
lea edx, [ebp - 0x54]
lea eax, [ebp - 0x3c]
call fcn.004608d0
dec dword [ebp - 0xdc]
lea eax, [ebp - 0x54]
mov edx, 2
call fcn.004608a0
mov word [ebp - 0xe8], 0xa4
lea eax, [ebp - 0x60]
call fcn.00401a24
push eax
inc dword [ebp - 0xdc]
mov edx, 0x462a35
lea eax, [ebp - 0x5c]
call fcn.004607d0
inc dword [ebp - 0xdc]
lea edx, [ebp - 0x5c]
push edx
lea edx, [ebp - 0x21c]
lea eax, [ebp - 0x58]
call fcn.004607d0
inc dword [ebp - 0xdc]
pop edx
pop ecx
call fcn.004608f8
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x64]
call fcn.00401a24
mov ecx, eax
inc dword [ebp - 0xdc]
lea edx, [ebp - 0x3c]
pop eax
call fcn.004608f8
lea edx, [ebp - 0x64]
lea eax, [ebp - 0x40]
call fcn.004608d0
dec dword [ebp - 0xdc]
lea eax, [ebp - 0x64]
mov edx, 2
call fcn.004608a0
dec dword [ebp - 0xdc]
lea eax, [ebp - 0x60]
mov edx, 2
call fcn.004608a0
dec dword [ebp - 0xdc]
lea eax, [ebp - 0x5c]
mov edx, 2
call fcn.004608a0
dec dword [ebp - 0xdc]
lea eax, [ebp - 0x58]
mov edx, 2
call fcn.004608a0
lea eax, [ebp - 0x40]
call fcn.00404a04
push eax
lea eax, [ebp - 0x3c]
call fcn.00404a04
push eax
mov word [ebp - 0xe8], 0xb0
lea eax, [ebp - 0x68]
call fcn.00401a24
mov edx, eax
inc dword [ebp - 0xdc]
mov eax, dword [ebp - 4]
call fcn.0044b930
lea eax, [ebp - 0x68]
call fcn.00404a04
push eax
push 2
call fcn.0040c358
add esp, 0x10
xor edx, edx
mov dl, al
cmp edx, 1
sbb ecx, ecx
neg ecx
push ecx
dec dword [ebp - 0xdc]
lea eax, [ebp - 0x68]
mov edx, 2
call fcn.004608a0
pop ecx
test cl, cl
je 0x406344
mov word [ebp - 0xe8], 0xc8
lea eax, [ebp - 0x70]
call fcn.00401a24
mov edx, eax
inc dword [ebp - 0xdc]
mov eax, dword [ebp - 4]
call fcn.0044b930
lea edx, [ebp - 0x70]
push edx
lea eax, [ebp - 0x74]
call fcn.00401a24
mov ecx, eax
inc dword [ebp - 0xdc]
mov eax, str.From
pop edx
call fcn.00460d80
lea ecx, [ebp - 0x74]
push ecx
lea eax, [ebp - 0x78]
call fcn.00401a24
mov ecx, eax
inc dword [ebp - 0xdc]
lea edx, [ebp - 0x3c]
pop eax
call fcn.004608f8
lea edx, [ebp - 0x78]
push edx
lea eax, [ebp - 0x80]
call fcn.00401a24
push eax
inc dword [ebp - 0xdc]
mov edx, str._to_n
lea eax, [ebp - 0x7c]
call fcn.004607d0
inc dword [ebp - 0xdc]
lea edx, [ebp - 0x7c]
pop ecx
pop eax
call fcn.004608f8
lea edx, [ebp - 0x80]
push edx
lea eax, [ebp - 0x6c]
call fcn.00401a24
mov ecx, eax
inc dword [ebp - 0xdc]
lea edx, [ebp - 0x40]
pop eax
call fcn.004608f8
dec dword [ebp - 0xdc]
lea eax, [ebp - 0x80]
mov edx, 2
call fcn.004608a0
dec dword [ebp - 0xdc]
lea eax, [ebp - 0x7c]
mov edx, 2
call fcn.004608a0
dec dword [ebp - 0xdc]
lea eax, [ebp - 0x78]
mov edx, 2
call fcn.004608a0
dec dword [ebp - 0xdc]
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.004608a0
dec dword [ebp - 0xdc]
lea eax, [ebp - 0x70]
mov edx, 2
call fcn.004608a0
mov word [ebp - 0xe8], 0xbc
push 0
push str.AsusSetup____Copying_file_failed...
lea eax, [ebp - 0x6c]
call fcn.00404a04
push eax
push 0
call sub.USER32.DLL_MessageBoxA
mov word [ebp - 0xe8], 0xd4
mov edx, 0x462a66
lea eax, [ebp - 0x84]
call fcn.004607d0
inc dword [ebp - 0xdc]
lea edx, [ebp - 0x84]
mov eax, dword [ebp + 8]
call fcn.004608d0
mov eax, dword [ebp + 8]
mov word [ebp - 0xe8], 0xe0
push eax
dec dword [ebp - 0xdc]
lea eax, [ebp - 0x84]
mov edx, 2
call fcn.004608a0
dec dword [ebp - 0xdc]
lea eax, [ebp - 0x6c]
mov edx, 2
call fcn.004608a0
dec dword [ebp - 0xdc]
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.004608a0
dec dword [ebp - 0xdc]
lea eax, [ebp - 0x40]
mov edx, 2
call fcn.004608a0
dec dword [ebp - 0xdc]
lea eax, [ebp - 0x3c]
mov edx, 2
call fcn.004608a0
dec dword [ebp - 0xdc]
lea eax, [ebp - 8]
mov edx, 2
call fcn.004608a0
dec dword [ebp - 0xdc]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004608a0
pop eax
mov word [ebp - 0xe8], 0xd4
inc dword [ebp - 0xdc]
mov edx, dword [ebp - 0xf8]
mov dword fs:[0], edx
jmp 0x406963
mov word [ebp - 0xe8], 0xec
lea eax, [ebp - 0x88]
call fcn.00401a24
mov edx, eax
inc dword [ebp - 0xdc]
mov eax, dword [ebp - 4]
call fcn.0044b930
lea edx, [ebp - 0x88]
push edx
lea eax, [ebp - 0x8c]
call fcn.00401a24
mov ecx, eax
inc dword [ebp - 0xdc]
lea edx, [ebp - 0x3c]
pop eax
call fcn.004608f8
lea edx, [ebp - 0x8c]
lea eax, [ebp - 0x3c]
call fcn.004608d0
dec dword [ebp - 0xdc]
lea eax, [ebp - 0x8c]
mov edx, 2
call fcn.004608a0
dec dword [ebp - 0xdc]
lea eax, [ebp - 0x88]
mov edx, 2
call fcn.004608a0
mov word [ebp - 0xe8], 0xf8
lea eax, [ebp - 0x48]
call fcn.00401a24
push eax
inc dword [ebp - 0xdc]
lea edx, [ebp - 0x21c]
lea eax, [ebp - 0x90]
call fcn.004607d0
inc dword [ebp - 0xdc]
mov ecx, 2
mov edx, 1
call fcn.00460c28
dec dword [ebp - 0xdc]
lea eax, [ebp - 0x90]
mov edx, 2
call fcn.004608a0
mov word [ebp - 0xe8], 0x5c
mov dl, 1
mov eax, dword [0x43fe28]
call fcn.00401a54
mov dword [ebp - 0x110], eax
mov ecx, dword [ebp - 0x40]
mov dl, 1
mov eax, dword [0x417fd4]
call fcn.00404a24
mov dword [ebp - 0x114], eax
mov edx, dword [ebp - 0x110]
mov eax, dword [ebp - 0x114]
mov ecx, dword [eax]
call dword [ecx + 0x3c]
xor eax, eax
mov dword [ebp - 0x118], eax
jmp 0x4066a1
mov edx, str.szDir
lea eax, [ebp - 0x98]
call fcn.004607d0
inc dword [ebp - 0xdc]
push dword [eax]
push dword [ebp - 0x48]
mov word [ebp - 0xe8], 0x104
lea eax, [ebp - 0x94]
call fcn.00401a24
mov ecx, eax
inc dword [ebp - 0xdc]
mov edx, dword [ebp - 0x118]
mov eax, dword [ebp - 0x110]
mov ebx, dword [eax]
call dword [ebx + 0xc]
lea ecx, [ebp - 0x94]
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x114]
mov eax, dword [ebp - 0xfc]
call fcn.00406988
dec dword [ebp - 0xdc]
lea eax, [ebp - 0x98]
mov edx, 2
call fcn.004608a0
dec dword [ebp - 0xdc]
lea eax, [ebp - 0x94]
mov edx, 2
call fcn.004608a0
mov edx, str.szPath
lea eax, [ebp - 0xa0]
call fcn.004607d0
inc dword [ebp - 0xdc]
push dword [eax]
push dword [ebp - 0x48]
mov word [ebp - 0xe8], 0x110
lea eax, [ebp - 0x9c]
call fcn.00401a24
mov ecx, eax
inc dword [ebp - 0xdc]
mov edx, dword [ebp - 0x118]
mov eax, dword [ebp - 0x110]
mov ebx, dword [eax]
call dword [ebx + 0xc]
lea ecx, [ebp - 0x9c]
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x114]
mov eax, dword [ebp - 0xfc]
call fcn.00406988
dec dword [ebp - 0xdc]
lea eax, [ebp - 0xa0]
mov edx, 2
call fcn.004608a0
dec dword [ebp - 0xdc]
lea eax, [ebp - 0x9c]
mov edx, 2
call fcn.004608a0
mov edx, str.szFolder
lea eax, [ebp - 0xa8]
call fcn.004607d0
inc dword [ebp - 0xdc]
push dword [eax]
push dword [ebp - 0x48]
mov word [ebp - 0xe8], 0x11c
lea eax, [ebp - 0xa4]
call fcn.00401a24
mov ecx, eax
inc dword [ebp - 0xdc]
mov edx, dword [ebp - 0x118]
mov eax, dword [ebp - 0x110]
mov ebx, dword [eax]
call dword [ebx + 0xc]
lea ecx, [ebp - 0xa4]
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x114]
mov eax, dword [ebp - 0xfc]
call fcn.00406988
dec dword [ebp - 0xdc]
lea eax, [ebp - 0xa8]
mov edx, 2
call fcn.004608a0
dec dword [ebp - 0xdc]
lea eax, [ebp - 0xa4]
mov edx, 2
call fcn.004608a0
mov edx, str.szResultFolder
lea eax, [ebp - 0xb0]
call fcn.004607d0
inc dword [ebp - 0xdc]
push dword [eax]
push dword [ebp - 0x48]
mov word [ebp - 0xe8], 0x128
lea eax, [ebp - 0xac]
call fcn.00401a24
mov ecx, eax
inc dword [ebp - 0xdc]
mov edx, dword [ebp - 0x118]
mov eax, dword [ebp - 0x110]
mov ebx, dword [eax]
call dword [ebx + 0xc]
lea ecx, [ebp - 0xac]
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x114]
mov eax, dword [ebp - 0xfc]
call fcn.00406988
dec dword [ebp - 0xdc]
lea eax, [ebp - 0xb0]
mov edx, 2
call fcn.004608a0
dec dword [ebp - 0xdc]
lea eax, [ebp - 0xac]
mov edx, 2
call fcn.004608a0
inc dword [ebp - 0x118]
mov eax, dword [ebp - 0x110]
mov edx, dword [eax]
call dword [edx + 0x14]
cmp eax, dword [ebp - 0x118]
jg 0x406467
mov ecx, dword [ebp - 0x114]
mov dword [ebp - 0xb8], ecx
cmp dword [ebp - 0xb8], 0
je 0x4066fd
mov eax, dword [ebp - 0xb8]
mov edx, dword [eax]
mov dword [ebp - 0xb4], edx
mov word [ebp - 0xe8], 0x140
mov edx, 3
mov eax, dword [ebp - 0xb8]
mov ecx, dword [eax]
call dword [ecx - 4]
mov word [ebp - 0xe8], 0x134
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0xc0], 0
je 0x406742
mov edx, dword [ebp - 0xc0]
mov ecx, dword [edx]
mov dword [ebp - 0xbc], ecx
mov word [ebp - 0xe8], 0x158
mov edx, 3
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax]
call dword [ecx - 4]
mov word [ebp - 0xe8], 0x14c
mov edx, dword [ebp - 0x108]
add edx, 3
lea eax, [ebp - 8]
mov ecx, 2
call fcn.00460a48
mov word [ebp - 0xe8], 0x164
lea edx, [ebp - 0x21c]
lea eax, [ebp - 0xc4]
call fcn.004607d0
mov edx, eax
inc dword [ebp - 0xdc]
mov ecx, dword [ebp - 0x108]
add ecx, 3
lea eax, [ebp - 8]
call fcn.00460a20
dec dword [ebp - 0xdc]
lea eax, [ebp - 0xc4]
mov edx, 2
call fcn.004608a0
dec dword [ebp - 0xdc]
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004608a0
dec dword [ebp - 0xdc]
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.004608a0
dec dword [ebp - 0xdc]
lea eax, [ebp - 0x40]
mov edx, 2
call fcn.004608a0
dec dword [ebp - 0xdc]
lea eax, [ebp - 0x3c]
mov edx, 2
call fcn.004608a0
mov word [ebp - 0xe8], 8
cmp dword [ebp - 0x100], 0
jne 0x40680c
cmp dword [ebp - 0x108], 0
je 0x4068ff
mov word [ebp - 0xe8], 0x170
lea eax, [ebp - 0xc8]
call fcn.00401a24
mov ecx, eax
inc dword [ebp - 0xdc]
lea edx, [ebp - 4]
mov eax, str.Change_Run:
call fcn.00460d80
lea edx, [ebp - 0xc8]
push edx
lea eax, [ebp - 0xd0]
call fcn.00401a24
push eax
inc dword [ebp - 0xdc]
mov edx, 0x462a98
lea eax, [ebp - 0xcc]
call fcn.004607d0
inc dword [ebp - 0xdc]
lea edx, [ebp - 0xcc]
pop ecx
pop eax
call fcn.004608f8
lea edx, [ebp - 0xd0]
push edx
lea eax, [ebp - 0xd4]
call fcn.00401a24
mov ecx, eax
inc dword [ebp - 0xdc]
lea edx, [ebp - 8]
pop eax
call fcn.004608f8
lea edx, [ebp - 0xd4]
mov edx, dword [edx]
mov eax, dword [ebp - 0xfc]
call fcn.00409a64
dec dword [ebp - 0xdc]
lea eax, [ebp - 0xd4]
mov edx, 2
call fcn.004608a0
dec dword [ebp - 0xdc]
lea eax, [ebp - 0xd0]
mov edx, 2
call fcn.004608a0
dec dword [ebp - 0xdc]
lea eax, [ebp - 0xcc]
mov edx, 2
call fcn.004608a0
dec dword [ebp - 0xdc]
lea eax, [ebp - 0xc8]
mov edx, 2
call fcn.004608a0
mov word [ebp - 0xe8], 0x17c
lea edx, [ebp - 8]
mov eax, dword [ebp + 8]
call fcn.004608d0
mov eax, dword [ebp + 8]
mov word [ebp - 0xe8], 0x188
push eax
dec dword [ebp - 0xdc]
lea eax, [ebp - 8]
mov edx, 2
call fcn.004608a0
dec dword [ebp - 0xdc]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004608a0
pop eax
mov word [ebp - 0xe8], 0x17c
inc dword [ebp - 0xdc]
mov edx, dword [ebp - 0xf8]
mov dword fs:[0], edx
pop ebx
mov esp, ebp
pop ebp
ret 4