Function at 0x42aa10
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc7c
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00403f60
push 0x5a3e
call fcn.00402a64
pop ecx
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.00416884
test al, al
jne 0x42ad41
push 0x58
push 0
lea ecx, [ebp - 0x78]
push ecx
call fcn.0066c86c
add esp, 0xc
call fcn.00407784
test eax, eax
je 0x42aa6b
mov dword [ebp - 0x78], 0x58
jmp 0x42aa72
mov dword [ebp - 0x78], 0x4c
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x180]
mov dword [ebp - 0x74], edx
xor ecx, ecx
mov dword [ebp - 0x70], ecx
xor eax, eax
mov dword [ebp - 0x68], eax
xor edx, edx
mov dword [ebp - 0x64], edx
mov byte [ebp - 0x17c], 0
lea ecx, [ebp - 0x17c]
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x58], 0x104
mov byte [ebp - 0x280], 0
lea eax, [ebp - 0x280]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], 0x104
push 0x104
push 0
lea edx, [ebp - 0x384]
push edx
call fcn.0066c86c
add esp, 0xc
lea ecx, [ebp - 0x384]
push ecx
push 0x6ebaf4
call fcn.00403b1c
add esp, 8
push 0
lea eax, [ebp - 0x384]
push eax
call fcn.0066e7cc
add esp, 8
test eax, eax
je 0x42ab0b
lea edx, [ebp - 0x384]
push edx
push 0x104
call sub.KERNEL32.DLL_GetCurrentDirectoryA
lea ecx, [ebp - 0x384]
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x44], 0xa1804
push 0x5a1f
call fcn.00402a64
pop ecx
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x6c], 0x6ebaf8
mov dword [ebp - 0x3c], 0x6ebb13
lea eax, [ebp - 0x78]
push eax
call fcn.00463210
pop ecx
test eax, eax
je 0x42ad41
mov edx, dword [ebp - 0x54]
mov cl, byte [edx]
test cl, cl
je 0x42ad41
call fcn.00404a38
push dword [ebp - 0x5c]
lea eax, [ebp - 0x384]
push eax
call fcn.0066c9ec
add esp, 8
push 0x5c
lea edx, [ebp - 0x384]
push edx
call fcn.0066cb35
add esp, 8
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x42ad3c
mov eax, dword [ebp - 0xc]
mov byte [eax], 0
push 0x5c
lea edx, [ebp - 0x384]
push edx
call fcn.0066cb35
add esp, 8
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x42ad3c
inc dword [ebp - 0x10]
xor eax, eax
mov dword [0x757d2c], eax
xor edx, edx
mov dword [0x6f6a84], edx
mov dword [0x6f6b24], 1
mov eax, dword [ebp - 4]
call fcn.004073dc
push 0
push 0
push 1
push dword [ebp - 0x10]
lea edx, [ebp - 0x384]
push edx
mov ecx, dword [0x6e7628]
push dword [ecx + 0xc]
call fcn.00456750
add esp, 0x18
push 0x6ebb14
push dword [ebp - 0x10]
call fcn.0066cbe8
add esp, 8
test eax, eax
je 0x42ac30
push dword [ebp - 0x10]
mov eax, dword [0x6e7628]
push dword [eax + 0xc]
call fcn.00457d84
add esp, 8
mov dword [ebp - 0x1c], eax
push 0x6ebb1d
push dword [ebp - 0x1c]
call fcn.004523a4
add esp, 8
push 0x6ebb26
push dword [ebp - 0x10]
call fcn.0066c9ec
add esp, 8
push 0
lea edx, [ebp - 0x384]
push edx
call fcn.0066e7cc
add esp, 8
test eax, eax
jne 0x42ac77
push 0
push 0
push 1
push dword [ebp - 0x10]
lea ecx, [ebp - 0x384]
push ecx
mov eax, dword [0x6e7628]
push dword [eax + 0xc]
call fcn.00456750
add esp, 0x18
jmp 0x42acef
push 1
push 0
push dword [ebp - 0x10]
mov edx, dword [0x6e7628]
push dword [edx + 0xc]
call fcn.00457718
add esp, 0x10
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x42acef
push 0x6ebb2f
mov eax, dword [0x6e7628]
push dword [eax + 0xc]
call fcn.00457d84
add esp, 8
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
test edx, edx
je 0x42acc6
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx + 0x124]
mov dword [ebp - 0x20], eax
jmp 0x42acd0
lea edx, [ebp - 0x20]
push edx
call fcn.00679560
pop ecx
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx + 0x14]
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
mov byte [edx + 0x121], 1
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
mov dword [ecx + 0x124], eax
mov edx, dword [0x6e7628]
mov ecx, dword [edx + 0xc]
xor eax, eax
mov dword [ecx + 0x48], eax
mov eax, dword [ebp - 4]
call fcn.00418a68
mov edx, str._VIDEO_TS
mov eax, dword [ebp - 4]
call fcn.004195d8
mov edx, dword [0x6e7628]
mov eax, dword [ebp - 4]
call fcn.00413d10
mov dword [0x6e75ec], 9
mov eax, dword [ebp - 4]
call fcn.00405538
mov dword [0x6e7638], 1
call fcn.00404a4c
mov esp, ebp
pop ebp
ret