Function at 0x42ab5c
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.00404098
push 0x5a3e
call fcn.00402b9c
pop ecx
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.004169bc
test al, al
jne 0x42ae8d
push 0x58
push 0
lea ecx, [ebp - 0x78]
push ecx
call fcn.0066cc88
add esp, 0xc
call fcn.004078bc
test eax, eax
je 0x42abb7
mov dword [ebp - 0x78], 0x58
jmp 0x42abbe
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.0066cc88
add esp, 0xc
lea ecx, [ebp - 0x384]
push ecx
push 0x6f03aa
call fcn.00403c54
add esp, 8
push 0
lea eax, [ebp - 0x384]
push eax
call fcn.0066ebe8
add esp, 8
test eax, eax
je 0x42ac57
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.00402b9c
pop ecx
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x6c], 0x6f03ae
mov dword [ebp - 0x3c], 0x6f03c9
lea eax, [ebp - 0x78]
push eax
call fcn.004634f8
pop ecx
test eax, eax
je 0x42ae8d
mov edx, dword [ebp - 0x54]
mov cl, byte [edx]
test cl, cl
je 0x42ae8d
call fcn.00404b70
push dword [ebp - 0x5c]
lea eax, [ebp - 0x384]
push eax
call fcn.0066ce08
add esp, 8
push 0x5c
lea edx, [ebp - 0x384]
push edx
call fcn.0066cf51
add esp, 8
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x42ae88
mov eax, dword [ebp - 0xc]
mov byte [eax], 0
push 0x5c
lea edx, [ebp - 0x384]
push edx
call fcn.0066cf51
add esp, 8
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x42ae88
inc dword [ebp - 0x10]
xor eax, eax
mov dword [0x760e38], eax
xor edx, edx
mov dword [0x6fb2c0], edx
mov dword [0x6fb360], 1
mov eax, dword [ebp - 4]
call fcn.00407514
push 0
push 0
push 1
push dword [ebp - 0x10]
lea edx, [ebp - 0x384]
push edx
mov ecx, dword [0x6ebef0]
push dword [ecx + 0xc]
call fcn.00456a38
add esp, 0x18
push 0x6f03ca
push dword [ebp - 0x10]
call fcn.0066d004
add esp, 8
test eax, eax
je 0x42ad7c
push dword [ebp - 0x10]
mov eax, dword [0x6ebef0]
push dword [eax + 0xc]
call fcn.0045806c
add esp, 8
mov dword [ebp - 0x1c], eax
push 0x6f03d3
push dword [ebp - 0x1c]
call fcn.00452654
add esp, 8
push 0x6f03dc
push dword [ebp - 0x10]
call fcn.0066ce08
add esp, 8
push 0
lea edx, [ebp - 0x384]
push edx
call fcn.0066ebe8
add esp, 8
test eax, eax
jne 0x42adc3
push 0
push 0
push 1
push dword [ebp - 0x10]
lea ecx, [ebp - 0x384]
push ecx
mov eax, dword [0x6ebef0]
push dword [eax + 0xc]
call fcn.00456a38
add esp, 0x18
jmp 0x42ae3b
push 1
push 0
push dword [ebp - 0x10]
mov edx, dword [0x6ebef0]
push dword [edx + 0xc]
call fcn.00457a00
add esp, 0x10
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x42ae3b
push 0x6f03e5
mov eax, dword [0x6ebef0]
push dword [eax + 0xc]
call fcn.0045806c
add esp, 8
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
test edx, edx
je 0x42ae12
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx + 0x124]
mov dword [ebp - 0x20], eax
jmp 0x42ae1c
lea edx, [ebp - 0x20]
push edx
call fcn.0067997c
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 [0x6ebef0]
mov ecx, dword [edx + 0xc]
xor eax, eax
mov dword [ecx + 0x4c], eax
mov eax, dword [ebp - 4]
call fcn.00418ba0
mov edx, str._VIDEO_TS
mov eax, dword [ebp - 4]
call fcn.00419710
mov edx, dword [0x6ebef0]
mov eax, dword [ebp - 4]
call fcn.00413e48
mov dword [0x6ebeb4], 9
mov eax, dword [ebp - 4]
call fcn.00405670
mov dword [0x6ebf00], 1
call fcn.00404b84
mov esp, ebp
pop ebp
ret