Function at 0x4a0e80
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4be459
mov eax, dword fs:[0]
push eax
sub esp, 0x4d8
mov eax, dword [0x50dc94]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
mov ecx, edx
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x4e4], eax
mov dword [ebp - 0x4d8], eax
mov eax, dword [ebp + 0xc]
lea edi, [ecx + 2]
mov dword [ebp - 0x4e0], eax
xor eax, eax
mov dword [ebp - 0x4dc], 0
mov dword [ebp - 0x4b0], 0
mov dword [ebp - 0x4ac], 7
mov word [ebp - 0x4c0], ax
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a0f00
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x4c0]
call fcn.00410410
mov ecx, esi
mov dword [ebp - 4], 1
xor eax, eax
mov dword [ebp - 0x498], 0
mov dword [ebp - 0x494], 7
mov word [ebp - 0x4a8], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a0f45
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x4a8]
call fcn.00410410
lea eax, [ebp - 0x4c0]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x490]
call fcn.00410760
lea eax, [ebp - 0x4a8]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x478]
call fcn.00410760
mov byte [ebp - 4], 4
lea edi, [ebp - 0x460]
mov dword [ebp - 0x460], 0x4e7220
mov ebx, 0x4eb818
mov dword [ebp - 0x45c], 0x4eb818
mov dword [ebp - 0x458], 0x4eb820
mov dword [ebp - 0x454], 0x4eb824
mov dword [ebp - 0x450], 0x4eb80c
mov dword [ebp - 0x44c], 0x4eb82c
mov dword [ebp - 0x448], 0x4eb834
mov dword [ebp - 0x444], 0x4eb838
mov dword [ebp - 0x440], 0x4dc618
mov dword [ebp - 0x43c], 0x4eb840
mov dword [ebp - 0x438], 0x4eb810
mov dword [ebp - 0x434], 0x4eb848
mov dword [ebp - 0x430], 0x4eb814
mov dword [ebp - 0x42c], 0x4eb850
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 0
nop dword [eax]
mov esi, dword [edi]
lea eax, [ebp - 0x4c0]
push 1
push ebx
push esi
push eax
call fcn.0040c330
push 1
push ebx
lea eax, [ebp - 0x4a8]
push esi
push eax
call fcn.0040c330
mov ebx, dword [edi + 0xc]
lea edi, [edi + 8]
add esp, 0x20
test ebx, ebx
jne 0x4a1040
mov ebx, dword [ebp - 0x4e0]
mov eax, ebx
cmp dword [ebx + 0x14], 8
jb 0x4a107f
mov eax, dword [ebx]
push str.SETLOCAL_ENABLEDELAYEDEXPANSION
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x4a10c2
push 1
push 0x4eb898
lea eax, [ebp - 0x4c0]
push 0x4eb8a0
push eax
call fcn.0040c330
push 1
push 0x4eb898
lea eax, [ebp - 0x4a8]
push 0x4eb8a0
push eax
call fcn.0040c330
add esp, 0x20
cmp dword [ebp - 0x4ac], 8
lea eax, [ebp - 0x4c0]
push 1
cmovae eax, dword [ebp - 0x4c0]
push eax
push 0x4eb8a4
push ebx
call fcn.0040c330
cmp dword [ebp - 0x494], 8
lea eax, [ebp - 0x4a8]
push 1
cmovae eax, dword [ebp - 0x4a8]
push eax
push str.password
push ebx
call fcn.0040c330
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004b493e
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.004b493e
add esp, 0x38
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x4d0]
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
push 0x104
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x4d0]
push eax
call dword [sym.imp.ole32.dll_StringFromGUID2]
call dword [sym.imp.ole32.dll_CoUninitialize]
push 0xffffffffffffffff
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [0x4c5af4]
push 0xffffffffffffffff
push str..cmd
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [0x4c5af4]
push 0x4dbd7c
lea eax, [ebp - 0x218]
mov dword [ebp - 0x4d4], 0
push eax
lea eax, [ebp - 0x4d4]
push eax
call dword [0x4c5a74]
mov eax, dword [ebp - 0x4d4]
add esp, 0x2c
test eax, eax
jne 0x4a12d4
mov ebx, dword [ebp - 0x4d8]
xor ecx, ecx
mov dword [ebx + 0x10], eax
lea edx, [ecx + 2]
mov dword [ebx + 0x14], 7
mov word [ebx], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a11f5
sub ecx, edx
sar ecx, 1
push ecx
push 0
mov ecx, ebx
call fcn.00410410
push 0x4105b0
push 2
push 0x18
lea eax, [ebp - 0x490]
mov dword [ebp - 0x4dc], 1
push eax
mov byte [ebp - 4], 2
call fcn.004af81b
mov edx, dword [ebp - 0x494]
cmp edx, 8
jb 0x4a1273
mov ecx, dword [ebp - 0x4a8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a1269
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4a1269
call dword [0x4c59b0]
push edx
push ecx
call fcn.004aebf7
add esp, 8
mov edx, dword [ebp - 0x4ac]
xor eax, eax
mov dword [ebp - 0x498], 0
mov dword [ebp - 0x494], 7
mov word [ebp - 0x4a8], ax
cmp edx, 8
jb 0x4a13af
mov ecx, dword [ebp - 0x4c0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a13a5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4a13a5
call dword [0x4c59b0]
cmp dword [ebx + 0x14], 8
jb 0x4a12dc
mov ebx, dword [ebx]
push ebx
push 0x4d86e4
push eax
call fcn.004a17c0
push dword [ebp - 0x4d4]
call dword [0x4c5a64]
mov ebx, dword [ebp - 0x4d8]
lea ecx, [ebp - 0x218]
add esp, 0x10
lea edx, [ecx + 2]
xor eax, eax
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 7
mov word [ebx], ax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a1320
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, ebx
call fcn.00410410
push 0x4105b0
push 2
push 0x18
lea eax, [ebp - 0x490]
mov dword [ebp - 0x4dc], 1
push eax
mov byte [ebp - 4], 2
call fcn.004af81b
mov edx, dword [ebp - 0x494]
cmp edx, 8
jb 0x4a1273
mov ecx, dword [ebp - 0x4a8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a1269
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4a1269
call dword [0x4c59b0]
push edx
push ecx
call fcn.004aebf7
add esp, 8
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ae9c0
mov esp, ebp
pop ebp
ret