Function at 0x42e5c2
Capabilities:
Get common file path

Disassembly:
push 0x28
mov eax, 0x4d7ac9
call fcn.004ae920
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.0048b151
push eax
lea ecx, [ebp - 0x14]
call fcn.00402821
mov byte [ebp - 4], 5
call fcn.0048b151
push eax
lea ecx, [ebp - 0x10]
call fcn.00402821
mov byte [ebp - 4], 6
call fcn.0048b151
push eax
lea ecx, [ebp - 0x18]
call fcn.00402821
mov byte [ebp - 4], 7
call fcn.0048b151
push eax
lea ecx, [ebp - 0x1c]
call fcn.00402821
mov byte [ebp - 4], 8
push dword [ebp + 0xc]
mov ebx, SysReAllocStringLen
push ebx
mov eax, 0x2001f
lea edi, [ebp - 0x34]
call fcn.00411f8b
test eax, eax
jne 0x42e901
mov eax, 0x104
push eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x20], eax
call fcn.0040298b
mov ecx, edi
push 0x5229b8
push ecx
lea esi, [ebp - 0x20]
mov edi, eax
call fcn.00411f23
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
mov esi, eax
call fcn.00411fe7
lea ecx, [ebp - 0x34]
call fcn.00411fc7
test esi, esi
jne 0x42e901
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], esi
je 0x42e901
push ecx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x24], esp
mov ecx, esp
push eax
lea esi, [ebp - 0x10]
call fcn.00402582
mov ecx, esi
call fcn.0040ce48
mov edi, 0x5257bc
push edi
xor ecx, ecx
call fcn.004077ca
cmp eax, 0xffffffff
jne 0x42e712
push 0x208
push 0
mov esi, 0x56b238
push esi
call fcn.004ae4c0
add esp, 0xc
push 0x103
push esi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push esi
lea ecx, [ebp - 0x10]
call fcn.0040274c
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push str.media
call fcn.0040253e
lea ecx, [ebp - 0x10]
call fcn.00406d1b
push ecx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x24], esp
mov ecx, esp
push eax
call fcn.00402582
lea ecx, [ebp - 0x10]
call fcn.00406d1b
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.0040f5e7
test al, al
jne 0x42e901
push edi
lea eax, [ebp - 0x24]
push 0x568e10
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.00411f8b
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 0x42e7c6
mov eax, 0x104
push eax
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x20], eax
call fcn.0040298b
mov ebx, 0x5229b8
mov ecx, edi
push ebx
push ecx
lea esi, [ebp - 0x20]
mov edi, eax
call fcn.00411f23
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
call fcn.00411fe7
lea ecx, [ebp - 0x34]
call fcn.00411fc7
jmp 0x42e7cb
mov ebx, 0x5229b8
push ecx
lea eax, [ebp + 0x10]
mov dword [ebp - 0x24], esp
mov ecx, esp
push eax
call fcn.00402582
lea eax, [ebp - 0x24]
push eax
call fcn.0042e969
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xa
call fcn.0040260d
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 0x42e815
lea eax, [ebp + 0x10]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040260d
mov eax, dword [ebp - 0x18]
cmp dword [eax - 0xc], esi
jne 0x42e829
lea eax, [ebp + 0x18]
push eax
lea ecx, [ebp - 0x18]
call fcn.0040260d
push esi
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push ebx
call fcn.0040253e
push ecx
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x14]
mov dword [ebp - 0x20], esp
mov ecx, esp
push eax
call fcn.00402582
push ecx
mov byte [ebp - 4], 0xc
mov ecx, esp
mov dword [ebp - 0x28], esp
push ebx
call fcn.0040253e
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.0040c60b
add esp, 0xc
push dword [ebp + 8]
mov byte [ebp - 4], 8
push 0x25
pop ecx
call fcn.0040d1f6
mov ebx, eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push str.Event
push eax
call fcn.0040c60b
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.0040d999
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.00402582
push dword [ebp + 8]
call fcn.0040d999
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.00411fc7
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.004ae9f8
ret 0x14