Function at 0x42e585
Capabilities:
Get common file path

Disassembly:
push 0x28
mov eax, 0x4d75cb
call fcn.004ae200
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 4
call fcn.0048aa29
push eax
lea ecx, [ebp - 0x14]
call fcn.00402840
mov byte [ebp - 4], 5
call fcn.0048aa29
push eax
lea ecx, [ebp - 0x10]
call fcn.00402840
mov byte [ebp - 4], 6
call fcn.0048aa29
push eax
lea ecx, [ebp - 0x18]
call fcn.00402840
mov byte [ebp - 4], 7
call fcn.0048aa29
push eax
lea ecx, [ebp - 0x1c]
call fcn.00402840
mov byte [ebp - 4], 8
push dword [ebp + 0xc]
mov ebx, SysReAllocStringLen
push ebx
mov eax, 0x2001f
lea edi, [ebp - 0x34]
call fcn.00411f6e
test eax, eax
jne 0x42e8c4
mov eax, 0x104
push eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x20], eax
call fcn.0040298b
mov ecx, edi
push 0x520938
push ecx
lea esi, [ebp - 0x20]
mov edi, eax
call fcn.00411f06
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
mov esi, eax
call fcn.00411fca
lea ecx, [ebp - 0x34]
call fcn.00411faa
test esi, esi
jne 0x42e8c4
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], esi
je 0x42e8c4
push ecx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x24], esp
mov ecx, esp
push eax
lea esi, [ebp - 0x10]
call fcn.004025a1
mov ecx, esi
call fcn.0040ce13
mov edi, 0x5236bc
push edi
xor ecx, ecx
call fcn.004077b1
cmp eax, 0xffffffff
jne 0x42e6d5
push 0x208
push 0
mov esi, 0x567f50
push esi
call fcn.004adda0
add esp, 0xc
push 0x103
push esi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push esi
lea ecx, [ebp - 0x10]
call fcn.0040276b
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push str.media
call fcn.0040255d
lea ecx, [ebp - 0x10]
call fcn.00406d13
push ecx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x24], esp
mov ecx, esp
push eax
call fcn.004025a1
lea ecx, [ebp - 0x10]
call fcn.00406d13
mov ecx, dword [ebp + 8]
xor eax, eax
push eax
push eax
push eax
push eax
push 1
push 1
push 1
lea edx, [ebp - 0x10]
call fcn.0040f5b2
test al, al
jne 0x42e8c4
push edi
lea eax, [ebp - 0x24]
push 0x565b70
push eax
call fcn.004021ba
add esp, 0xc
lea ecx, [ebp + 0x18]
push ecx
push eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 9
call fcn.00402163
add esp, 0xc
push dword [eax]
mov eax, 0x2001f
push ebx
lea edi, [ebp - 0x34]
call fcn.00411f6e
mov ecx, dword [ebp - 0x20]
mov ebx, eax
neg ebx
sbb bl, bl
add ecx, 0xfffffff0
inc bl
call fcn.00402883
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.00402883
test bl, bl
je 0x42e789
mov eax, 0x104
push eax
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x20], eax
call fcn.0040298b
mov ebx, 0x520938
mov ecx, edi
push ebx
push ecx
lea esi, [ebp - 0x20]
mov edi, eax
call fcn.00411f06
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
call fcn.00411fca
lea ecx, [ebp - 0x34]
call fcn.00411faa
jmp 0x42e78e
mov ebx, 0x520938
push ecx
lea eax, [ebp + 0x10]
mov dword [ebp - 0x24], esp
mov ecx, esp
push eax
call fcn.004025a1
lea eax, [ebp - 0x24]
push eax
call fcn.0042e92c
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xa
call fcn.0040262c
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.00402883
mov eax, dword [ebp - 0x1c]
xor esi, esi
cmp dword [eax - 0xc], esi
jne 0x42e7d8
lea eax, [ebp + 0x10]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040262c
mov eax, dword [ebp - 0x18]
cmp dword [eax - 0xc], esi
jne 0x42e7ec
lea eax, [ebp + 0x18]
push eax
lea ecx, [ebp - 0x18]
call fcn.0040262c
push esi
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push ebx
call fcn.0040255d
push ecx
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x14]
mov dword [ebp - 0x20], esp
mov ecx, esp
push eax
call fcn.004025a1
push ecx
mov byte [ebp - 4], 0xc
mov ecx, esp
mov dword [ebp - 0x28], esp
push ebx
call fcn.0040255d
push ecx
mov eax, esp
mov dword [ebp - 0x2c], esp
lea ecx, [ebp + 0xc]
push ecx
push str.HKEY_CURRENT_USER_
push eax
mov byte [ebp - 4], 0xd
call fcn.0040c5f2
add esp, 0xc
push dword [ebp + 8]
mov byte [ebp - 4], 8
push 0x25
pop ecx
call fcn.0040d1c1
mov ebx, eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push str.Event
push eax
call fcn.0040c5f2
add esp, 0xc
push str._for_the_program
push eax
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 4], 0xe
call fcn.004021ba
add esp, 8
mov ecx, esp
mov dword [ebp - 0x2c], esp
lea edx, [ebp - 0x18]
push edx
push eax
push ecx
mov byte [ebp - 4], 0xf
call fcn.00402163
add esp, 0xc
push dword [ebp + 8]
call fcn.0040d964
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.00402883
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.00402883
push ecx
lea eax, [ebp + 0x14]
mov dword [ebp - 0x2c], esp
mov ecx, esp
push eax
call fcn.004025a1
push dword [ebp + 8]
call fcn.0040d964
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.00402883
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00402883
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402883
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00402883
lea ecx, [ebp - 0x34]
call fcn.00411faa
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.00402883
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.00402883
mov ecx, dword [ebp + 0x14]
add ecx, 0xfffffff0
call fcn.00402883
mov ecx, dword [ebp + 0x18]
add ecx, 0xfffffff0
call fcn.00402883
call fcn.004ae2d8
ret 0x14