Function at 0x42f960
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x470ba0
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x49a7f0]
xor eax, esp
mov dword [esp + 0x218], eax
push esi
push edi
mov eax, dword [0x49a7f0]
xor eax, esp
push eax
lea eax, [esp + 0x228]
mov dword fs:[0], eax
or edi, 0xffffffff
cmp dword [0x49f300], 0
jne 0x42f9e1
push 0x1c
call fcn.00433bf6
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov dword [esp + 0x230], 0
je 0x42f9cb
mov esi, eax
call fcn.0042fd40
jmp 0x42f9cd
xor eax, eax
test eax, eax
mov dword [esp + 0x230], edi
mov dword [0x49f300], eax
je 0x42fc18
call fcn.0042fe20
mov eax, dword [esp + 0x238]
add eax, 0xffffffff
cmp eax, 4
ja 0x42f9fa
call fcn.0042fe70
push 0x208
lea eax, [esp + 0x20]
push 0
push eax
call fcn.00454dc0
add esp, 0xc
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0
push 5
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x42fa36
push 0
push 0x1a
lea edx, [esp + 0x24]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x10]
call fcn.00402870
push str.PokerInstallerLogs
lea ecx, [esp + 0x14]
mov dword [esp + 0x234], 1
call fcn.00422e10
lea ecx, [esp + 0x14]
push 0x4828c4
push ecx
mov ecx, eax
mov byte [esp + 0x238], 2
call fcn.00422750
push 0x4828c4
push eax
lea edx, [esp + 0x28]
push edx
mov byte [esp + 0x244], 3
call fcn.00408ba0
add esp, 0x14
mov byte [esp + 0x230], 4
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x14]
call fcn.00408eb0
mov byte [esp + 0x230], 3
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42fad0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x230], 2
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42faf7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x230], 1
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42fb1e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0xc]
push ecx
call fcn.00453ab6
add esp, 4
cmp eax, edi
jne 0x42fb34
call fcn.00453b1d
mov ecx, dword [0x49f300]
lea edx, [esp + 0xc]
add ecx, 0x14
push edx
call fcn.0040a6a0
push str.Installer.log
lea ecx, [esp + 0x18]
call fcn.00402870
push eax
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
push ecx
mov byte [esp + 0x23c], 5
call fcn.00408ae0
add esp, 0xc
mov byte [esp + 0x230], 6
mov ecx, dword [0x49f300]
add ecx, 0x10
push eax
call fcn.0040a6a0
mov byte [esp + 0x230], 5
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42fbae
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x230], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42fbd5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [0x49f300]
mov edx, dword [ecx]
push edx
push str.___________________________________________Initializing_Logger_For__s___________________________________________
push 0
push 0x31
push str.CLogger::InitializeLogger
call fcn.0042fc90
mov dword [esp + 0x244], edi
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
add esp, 0x14
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x42fc18
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x228]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x218]
xor ecx, esp
call fcn.004507b7
add esp, 0x228
ret