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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57b582
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x5e9db0]
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.00401d50
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x220]
mov eax, dword [ecx - 0xc]
test eax, eax
js 0x434700
push str.installerlog
push ecx
call fcn.005500f6
add esp, 8
test eax, eax
je 0x434700
sub eax, dword [ebp - 0x220]
sar eax, 1
cmp eax, 0xffffffff
je 0x434700
push 0x5afbc8
lea ecx, [ebp - 0x224]
call fcn.00401d50
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.00401d50
push str.debug.log
push eax
lea edx, [ebp - 0x22c]
push edx
mov byte [ebp - 4], 2
call fcn.0041bb50
add esp, 0xc
push eax
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 3
call fcn.00405080
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 0x43460b
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 0x434631
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x244]
call fcn.00475945
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 0x43465a
call fcn.00402290
push 0
push 0x5001
push eax
lea ecx, [ebp - 0x244]
call fcn.0047581d
test eax, eax
je 0x4346cb
push 0x5afbc8
lea ecx, [ebp - 0x228]
call fcn.00401d50
mov byte [ebp - 4], 5
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x244]
call fcn.00475a20
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 0x4346b9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x244]
call fcn.00475be6
mov byte [ebp - 0x219], 1
lea ecx, [ebp - 0x244]
mov byte [ebp - 4], 1
call fcn.00475c62
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 0x434700
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 0x434729
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.0054f72c
mov esp, ebp
pop ebp
ret