Function at 0x434cc0
Capabilities:
Accept command line arguments
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57c922
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x5ebdb0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0x219], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x220]
call fcn.00401d90
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x220]
mov eax, dword [ecx - 0xc]
test eax, eax
js 0x434ec0
push str.installerlog
push ecx
call fcn.0055125b
add esp, 8
test eax, eax
je 0x434ec0
sub eax, dword [ebp - 0x220]
sar eax, 1
cmp eax, 0xffffffff
je 0x434ec0
push 0x5b0bc8
lea ecx, [ebp - 0x224]
call fcn.00401d90
push 0
push 0x10
lea eax, [ebp - 0x218]
push eax
push 0
mov byte [ebp - 4], 1
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x228]
call fcn.00401d90
push str.debug.log
push eax
lea edx, [ebp - 0x22c]
push edx
mov byte [ebp - 4], 2
call fcn.0041bb80
add esp, 0xc
push eax
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 3
call fcn.004050b0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x22c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x434dcb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x228]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x434df1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x244]
call fcn.00476b6d
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x224]
mov ecx, dword [eax - 0xc]
push ecx
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
test eax, eax
jne 0x434e1a
call fcn.004022c0
push 0
push 0x5001
push eax
lea ecx, [ebp - 0x244]
call fcn.00476a50
test eax, eax
je 0x434e8b
push 0x5b0bc8
lea ecx, [ebp - 0x228]
call fcn.00401d90
mov byte [ebp - 4], 5
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x244]
call fcn.00476c48
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x228]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x434e79
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x244]
call fcn.00476e0e
mov byte [ebp - 0x219], 1
lea ecx, [ebp - 0x244]
mov byte [ebp - 4], 1
call fcn.00476e8a
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x224]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x434ec0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x220]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x434ee9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, byte [ebp - 0x219]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00550891
mov esp, ebp
pop ebp
ret