Function at 0x42f530
Capabilities:
Get common file path

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x511151
push eax
mov dword fs:[0], esp
mov eax, dword [0x5490a4]
sub esp, 0x114
push ebx
push ebp
push esi
push edi
xor edi, edi
mov esi, ecx
cmp eax, edi
jne 0x42f56c
cmp dword [0x5490a8], edi
jne 0x42f56c
mov dword [esi + 0x184], edi
jmp 0x42f576
mov dword [esi + 0x184], 1
lea eax, [esp + 0x24]
push eax
push 0xff
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
je 0x42f80c
mov ecx, esi
call fcn.0042d180
mov dl, byte [esp + 0x24]
mov bl, al
xor ecx, ecx
cmp bl, dl
sete cl
mov dword [esi + 0x188], ecx
push str.CLAW.REZ
lea ecx, [esp + 0x14]
mov dword [esi + 0x18c], edi
mov dword [esi + 0x190], edi
mov dword [esi + 0x194], edi
call fcn.00501c53
push str.CLAW24.REZ
lea ecx, [esp + 0x18]
mov dword [esp + 0x130], edi
call fcn.00501c53
push str.CLAW.FEC
lea ecx, [esp + 0x1c]
mov byte [esp + 0x130], 1
call fcn.00501c53
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x24]
push edx
lea ebp, [esi + 0x178]
push eax
push 0x5370bc
push ebp
mov byte [esp + 0x13c], 2
call fcn.00500338
mov ecx, dword [esp + 0x24]
add esp, 0x10
lea edx, [esp + 0x24]
lea edi, [esi + 0x17c]
push ecx
push edx
push 0x5370bc
push edi
call fcn.00500338
mov ecx, dword [esp + 0x28]
add esp, 0x10
lea edx, [esp + 0x24]
lea eax, [esi + 0x180]
push ecx
push edx
push 0x5370bc
push eax
call fcn.00500338
mov eax, 1
add esp, 0x10
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov eax, dword [edi]
push eax
call fcn.004a3ca0
add esp, 4
test eax, eax
jne 0x42f6af
test bl, bl
je 0x42f6a7
mov ecx, dword [esp + 0x14]
movsx edx, bl
push ecx
push edx
push str._c:HIREZ_s
push edi
call fcn.00500338
mov eax, dword [edi]
add esp, 0x10
push eax
call fcn.004a3ca0
add esp, 4
test eax, eax
je 0x42f6a7
mov dword [esi + 0x190], 1
jmp 0x42f6af
mov dword [esp + 0x1c], 0
mov ecx, dword [ebp]
push ecx
call fcn.004a3ca0
add esp, 4
test eax, eax
jne 0x42f706
mov eax, dword [esi + 0x188]
xor edi, edi
cmp eax, edi
jne 0x42f702
test bl, bl
je 0x42f702
mov edx, dword [esp + 0x10]
movsx eax, bl
push edx
push eax
push str._c:DATA_s
push ebp
call fcn.00500338
mov ecx, dword [ebp]
add esp, 0x10
push ecx
call fcn.004a3ca0
add esp, 4
test eax, eax
je 0x42f702
mov dword [esi + 0x18c], 1
jmp 0x42f706
mov dword [esp + 0x20], edi
mov edx, dword [esi + 0x180]
lea edi, [esi + 0x180]
push edx
call fcn.004a3ca0
add esp, 4
test eax, eax
jne 0x42f753
test bl, bl
je 0x42f753
mov eax, dword [esp + 0x18]
movsx ecx, bl
push eax
push ecx
push str._c:MOVIES_s
push edi
call fcn.00500338
mov edx, dword [edi]
add esp, 0x10
push edx
call fcn.004a3ca0
add esp, 4
test eax, eax
je 0x42f753
mov dword [esi + 0x194], 1
mov eax, dword [esi + 0x184]
test eax, eax
je 0x42f77e
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x42f77e
push 8
mov ecx, esi
call fcn.0042f900
test eax, eax
jne 0x42f7d1
push 0x3eb
push 0x8010
jmp 0x42f790
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x42f7d1
push 0x3eb
push 0x800b
mov ecx, esi
call fcn.0042be60
lea ecx, [esp + 0x18]
mov byte [esp + 0x12c], 1
call fcn.00501be5
lea ecx, [esp + 0x14]
mov byte [esp + 0x12c], 0
call fcn.00501be5
lea ecx, [esp + 0x10]
mov dword [esp + 0x12c], 0xffffffff
call fcn.00501be5
xor eax, eax
jmp 0x42f80c
lea ecx, [esp + 0x18]
mov byte [esp + 0x12c], 1
call fcn.00501be5
lea ecx, [esp + 0x14]
mov byte [esp + 0x12c], 0
call fcn.00501be5
lea ecx, [esp + 0x10]
mov dword [esp + 0x12c], 0xffffffff
call fcn.00501be5
mov eax, 1
mov ecx, dword [esp + 0x124]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x120
ret