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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58bcbd
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x602c90]
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 - 0x228]
call fcn.00401d80
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x228]
mov eax, dword [ecx - 0xc]
test eax, eax
js 0x43f556
push str._installerlog
push ecx
call fcn.00560268
add esp, 8
test eax, eax
je 0x43f556
sub eax, dword [ebp - 0x228]
sar eax, 1
cmp eax, 0xffffffff
je 0x43f556
push 0x5c232c
lea ecx, [ebp - 0x22c]
call fcn.00401d80
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 - 0x224]
call fcn.00401d80
push str.debug.log
push eax
lea edx, [ebp - 0x220]
push edx
mov byte [ebp - 4], 2
call fcn.00420dc0
add esp, 0xc
push eax
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 3
call fcn.00405100
mov byte [ebp - 4], 2
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 0x43f40b
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 - 0x224]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43f431
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x244]
call fcn.004870cd
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x22c]
mov ecx, dword [eax - 0xc]
push ecx
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
test eax, eax
jne 0x43f45a
call fcn.004022b0
push 0
push 0x3001
push eax
lea ecx, [ebp - 0x244]
call fcn.00486fab
test eax, eax
je 0x43f521
mov edx, dword [ebp - 0x244]
mov eax, dword [edx + 0x2c]
push 2
push 0
push 0
lea ecx, [ebp - 0x244]
call eax
push 0x5c2234
lea ecx, [ebp - 0x220]
call fcn.00401d80
push eax
lea ecx, [ebp - 0x224]
push esi
push ecx
mov byte [ebp - 4], 5
call fcn.00420d00
add esp, 0xc
mov byte [ebp - 4], 6
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x244]
call fcn.004871a8
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x224]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43f4e9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 4
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 0x43f50f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x244]
call fcn.0048736e
mov byte [ebp - 0x219], 1
lea ecx, [ebp - 0x244]
mov byte [ebp - 4], 1
call fcn.004873ac
mov byte [ebp - 4], 0
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 0x43f556
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 - 0x228]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43f57f
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.0055f89e
mov esp, ebp
pop ebp
ret