Function at 0x535a0b
Capabilities:
Accept command line arguments
Create process on windows

Disassembly:
push 0x64
mov eax, 0x6cafe6
call fcn.00648b87
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
push str.IsWow64Process
push str.kernel32.dll
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x535a59
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
test eax, eax
je 0x535b21
mov eax, dword [ebp - 0x18]
jmp 0x535a5b
mov eax, ebx
test eax, eax
je 0x535b21
lea eax, [ebp - 0x14]
push eax
call fcn.0051636a
mov ecx, eax
call fcn.00534e14
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
push dword [eax]
call fcn.00515719
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00515ed6
lea ecx, [ebp - 0x18]
call fcn.00526949
push str.speccy64.exe
lea ecx, [ebp - 0x18]
call fcn.00519dde
push 0x40
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x70], 0x44
push ebx
push eax
call fcn.0066f220
xor eax, eax
lea edi, [ebp - 0x2c]
stosd dword es:[edi], eax
add esp, 0xc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x70]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x535b13
push dword [ebp - 0x2c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x28]
call esi
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00515ed6
xor eax, eax
jmp 0x535e1c
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00515ed6
call fcn.00515e26
push eax
lea ecx, [ebp - 0x14]
call fcn.00515c3a
mov byte [ebp - 4], 4
call fcn.00515e26
push eax
lea ecx, [ebp - 0x18]
call fcn.00515c3a
mov byte [ebp - 4], 5
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x535b71
mov ecx, esi
call fcn.0051545a
push eax
push esi
lea ecx, [ebp - 0x18]
call fcn.00515b15
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
call fcn.005154cf
lea ecx, [ebp - 0x14]
call fcn.00535f94
mov esi, dword [ebp - 0x14]
mov ecx, esi
call fcn.00515fcc
test al, al
jne 0x535b92
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00515ed6
lea ecx, [esi - 0x10]
jmp 0x535b07
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x14]
call fcn.00534f81
test eax, eax
je 0x535bd0
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00515ed6
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00515ed6
cmp dword [ebp - 0x1c], 0
je 0x535bc6
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x43cf
jmp 0x535e1c
push ebx
push str._nobreakpad
lea ecx, [ebp - 0x14]
call fcn.00514fc9
cmp eax, 0xffffffff
jne 0x535bf0
push ecx
call fcn.00535ede
mov ecx, eax
call fcn.0054ef1f
call fcn.0067d070
mov ecx, eax
call fcn.0058e47e
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov ecx, eax
call fcn.0058e47e
mov byte [ebp - 4], 6
call fcn.00535e2a
lea ecx, [eax + 4]
call fcn.00535104
jmp 0x535c3a
mov dword [ebp - 4], 5
call fcn.00533930
mov ecx, eax
call fcn.00533872
sub esp, 0x20
mov ecx, esp
mov dword [ebp + 0x10], esp
push ecx
push dword [ebp - 0x20]
push 0x5357c2
call fcn.00536027
mov byte [ebp - 4], 8
call fcn.00533930
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.005338b6
lea ecx, [ebp - 0x14]
call fcn.005357ff
call fcn.00518160
mov ecx, eax
call fcn.00533e41
push ebx
push str._old
lea ecx, [ebp - 0x14]
call fcn.00514fc9
cmp eax, 0xffffffff
je 0x535caa
call fcn.00518160
mov byte [eax + 0x285], 1
push ebx
push str._totray
lea ecx, [ebp - 0x14]
call fcn.00514fc9
cmp eax, 0xffffffff
je 0x535cc9
call fcn.00518160
mov byte [eax + 0x284], 1
push ebx
push str._updatesuccess
lea ecx, [ebp - 0x14]
call fcn.00514fc9
cmp eax, 0xffffffff
jne 0x535cef
push ebx
push str._updatefailed
lea ecx, [ebp - 0x14]
call fcn.00514fc9
cmp eax, 0xffffffff
je 0x535cf9
call fcn.0051dd84
jmp 0x535d94
push 2
pop edx
lea ecx, [ebp - 0x24]
call fcn.0051d90f
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x24]
test ecx, ecx
setne al
test al, al
je 0x535d84
mov eax, dword [ecx]
call dword [eax + 0x1c]
test al, al
je 0x535d84
call fcn.00518160
cmp dword [eax + 0xc], ebx
je 0x535d84
call fcn.00518160
cmp dword [eax + 0x10], ebx
je 0x535d7b
mov ecx, dword [ebp - 0x24]
mov eax, dword [ecx]
call dword [eax + 0xc]
test al, al
je 0x535d84
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x535d4d
call fcn.0051578b
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00515ed6
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00515ed6
cmp dword [ebp - 0x1c], 0
je 0x535b0c
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x535b0c
call fcn.00518160
mov byte [eax + 0x69], 1
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x535d94
call fcn.0051578b
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
push fcn.005151d0
mov byte [ebp - 4], 0xc
call fcn.00648497
pop ecx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.USER32.dll_DefWindowProcW]
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 8
push eax
mov dword [ebp - 0x20], 4
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
sub esp, 0xc
call fcn.0053638a
push dword [ebp + 0x14]
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x14]
call fcn.00535449
pop ecx
mov esi, eax
call fcn.005362f5
call fcn.005a163e
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00515ed6
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00515ed6
cmp dword [ebp - 0x1c], 0
je 0x535e1a
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
call fcn.00648ae5
ret 0x10