Function at 0x42e9ba
Capabilities:
Get common file path

Disassembly:
push 0x28
mov eax, 0x4e0530
call fcn.004b6730
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.0049219b
push eax
lea ecx, [ebp - 0x14]
call fcn.00402802
mov byte [ebp - 4], 5
call fcn.0049219b
push eax
lea ecx, [ebp - 0x10]
call fcn.00402802
mov byte [ebp - 4], 6
call fcn.0049219b
push eax
lea ecx, [ebp - 0x18]
call fcn.00402802
mov byte [ebp - 4], 7
call fcn.0049219b
push eax
lea ecx, [ebp - 0x1c]
call fcn.00402802
mov byte [ebp - 4], 8
push dword [ebp + 0xc]
mov ebx, SysReAllocStringLen
push ebx
mov eax, 0x2001f
lea edi, [ebp - 0x34]
call fcn.0041236b
test eax, eax
jne 0x42ecf9
mov eax, 0x104
push eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x20], eax
call fcn.0040294d
mov ecx, edi
push 0x52dc10
push ecx
lea esi, [ebp - 0x20]
mov edi, eax
call fcn.00412303
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
mov esi, eax
call fcn.004123c7
lea ecx, [ebp - 0x34]
call fcn.004123a7
test esi, esi
jne 0x42ecf9
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], esi
je 0x42ecf9
push ecx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x24], esp
mov ecx, esp
push eax
lea esi, [ebp - 0x10]
call fcn.004022fa
mov ecx, esi
call fcn.0040d1fb
mov edi, 0x530c3c
push edi
xor ecx, ecx
call fcn.00407898
cmp eax, 0xffffffff
jne 0x42eb0a
push 0x208
push 0
mov esi, 0x57bd78
push esi
call fcn.004b62d0
add esp, 0xc
push 0x103
push esi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push esi
lea ecx, [ebp - 0x10]
call fcn.0040272d
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push str.media
call fcn.0040254f
lea ecx, [ebp - 0x10]
call fcn.00406dfa
push ecx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x24], esp
mov ecx, esp
push eax
call fcn.004022fa
lea ecx, [ebp - 0x10]
call fcn.00406dfa
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.0040f99a
test al, al
jne 0x42ecf9
push edi
lea eax, [ebp - 0x24]
push 0x5798b8
push eax
call fcn.0040217c
add esp, 0xc
lea ecx, [ebp + 0x18]
push ecx
push eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 9
call fcn.00402125
add esp, 0xc
push dword [eax]
mov eax, 0x2001f
push ebx
lea edi, [ebp - 0x34]
call fcn.0041236b
mov ecx, dword [ebp - 0x20]
mov ebx, eax
neg ebx
sbb bl, bl
add ecx, 0xfffffff0
inc bl
call fcn.00402845
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.00402845
test bl, bl
je 0x42ebbe
mov eax, 0x104
push eax
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x20], eax
call fcn.0040294d
mov ebx, 0x52dc10
mov ecx, edi
push ebx
push ecx
lea esi, [ebp - 0x20]
mov edi, eax
call fcn.00412303
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
call fcn.004123c7
lea ecx, [ebp - 0x34]
call fcn.004123a7
jmp 0x42ebc3
mov ebx, 0x52dc10
push ecx
lea eax, [ebp + 0x10]
mov dword [ebp - 0x24], esp
mov ecx, esp
push eax
call fcn.004022fa
lea eax, [ebp - 0x24]
push eax
call fcn.0042ed61
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xa
call fcn.004025ee
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.00402845
mov eax, dword [ebp - 0x1c]
xor esi, esi
cmp dword [eax - 0xc], esi
jne 0x42ec0d
lea eax, [ebp + 0x10]
push eax
lea ecx, [ebp - 0x1c]
call fcn.004025ee
mov eax, dword [ebp - 0x18]
cmp dword [eax - 0xc], esi
jne 0x42ec21
lea eax, [ebp + 0x18]
push eax
lea ecx, [ebp - 0x18]
call fcn.004025ee
push esi
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push ebx
call fcn.0040254f
push ecx
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x14]
mov dword [ebp - 0x20], esp
mov ecx, esp
push eax
call fcn.004022fa
push ecx
mov byte [ebp - 4], 0xc
mov ecx, esp
mov dword [ebp - 0x28], esp
push ebx
call fcn.0040254f
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.0040c9b1
add esp, 0xc
push dword [ebp + 8]
mov byte [ebp - 4], 8
push 0x25
pop ecx
call fcn.0040d5a9
mov ebx, eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push str.Event
push eax
call fcn.0040c9b1
add esp, 0xc
push str._for_the_program
push eax
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 4], 0xe
call fcn.0040217c
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.00402125
add esp, 0xc
push dword [ebp + 8]
call fcn.0040dd4c
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.00402845
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.00402845
push ecx
lea eax, [ebp + 0x14]
mov dword [ebp - 0x2c], esp
mov ecx, esp
push eax
call fcn.004022fa
push dword [ebp + 8]
call fcn.0040dd4c
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.00402845
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00402845
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402845
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00402845
lea ecx, [ebp - 0x34]
call fcn.004123a7
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.00402845
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.00402845
mov ecx, dword [ebp + 0x14]
add ecx, 0xfffffff0
call fcn.00402845
mov ecx, dword [ebp + 0x18]
add ecx, 0xfffffff0
call fcn.00402845
call fcn.004b6808
ret 0x14