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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x57b50d
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x5e9db0]
xor eax, esp
mov dword [esp + 0x23c], eax
mov eax, dword [0x5e9db0]
xor eax, esp
push eax
lea eax, [esp + 0x248]
mov dword fs:[0], eax
mov byte [esp + 0xb], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [esp + 0x18]
call fcn.00401d50
mov dword [esp + 0x250], 0
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 0xc]
test eax, eax
js 0x4349b8
push str._installerlog
push ecx
call fcn.005500f6
add esp, 8
test eax, eax
je 0x4349b8
sub eax, dword [esp + 0x14]
sar eax, 1
cmp eax, 0xffffffff
je 0x4349b8
push 0x5afbc8
lea ecx, [esp + 0x1c]
call fcn.00401d50
push 0
push 0x10
lea eax, [esp + 0x3c]
push eax
push 0
mov byte [esp + 0x260], 1
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x14]
call fcn.00401d50
push str.debug.log
push eax
lea edx, [esp + 0x14]
push edx
mov byte [esp + 0x25c], 2
call fcn.0041bb50
add esp, 0xc
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x254], 3
call fcn.00405080
mov byte [esp + 0x250], 2
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43486b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x250], 1
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x434893
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x1c]
call fcn.00475945
mov byte [esp + 0x250], 4
mov eax, dword [esp + 0x18]
mov ecx, dword [eax - 0xc]
push ecx
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
test eax, eax
jne 0x4348bc
call fcn.00402290
push 0
push 0x3001
push eax
lea ecx, [esp + 0x28]
call fcn.0047581d
test eax, eax
je 0x43497f
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 0x2c]
push 2
push 0
push 0
lea ecx, [esp + 0x28]
call eax
push 0x5afab4
lea ecx, [esp + 0x10]
call fcn.00401d50
push eax
lea ecx, [esp + 0x14]
push esi
push ecx
mov byte [esp + 0x25c], 5
call fcn.0041ba90
add esp, 0xc
mov byte [esp + 0x250], 6
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x20]
call fcn.00475a20
mov byte [esp + 0x250], 5
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x434949
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x250], 4
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x434971
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x1c]
call fcn.00475be6
mov byte [esp + 0xb], 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x250], 1
call fcn.00475c62
mov byte [esp + 0x250], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4349b8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x250], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4349e3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, byte [esp + 0xb]
mov ecx, dword [esp + 0x248]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x23c]
xor ecx, esp
call fcn.0054f72c
mov esp, ebp
pop ebp
ret