Function at 0x484560
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50ac2b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xab0
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
mov dword [ebp - 0x28], ebx
test edi, edi
jne 0x4845a4
push 0x5c9
push str.CSynTPEnh.cpp
push str.hwMain
call fcn.004904e0
add esp, 0xc
mov esi, dword [ebp + 0xc]
test esi, esi
jne 0x4845c2
push 0x5cb
push str.CSynTPEnh.cpp
push str.pszCmdLine
call fcn.004904e0
add esp, 0xc
test byte [0x652fc0], 2
je 0x4845e0
push esi
push 0x517dd8
push 2
push str.CSynTPEnh::ParseCommandLine
call fcn.004cb410
add esp, 0x10
push esi
lea ecx, [ebp + 8]
call fcn.0040c140
push 0x527558
push 0x524e04
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0
call fcn.00486010
push 0x52755c
push 0x527564
lea ecx, [ebp + 8]
call fcn.00486010
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], 0
jl 0x484844
push 0x52755c
push eax
call fcn.004d299d
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x484844
mov eax, dword [ebp + 8]
sub ecx, eax
mov edx, dword [ebp + 0x10]
sar ecx, 1
mov dword [edx], 0
cmp ecx, 0xffffffff
jle 0x48484d
xor edi, edi
lea esi, [eax + 4]
lea esi, [esi + ecx*2]
lea ebx, [edi + 1]
lea ecx, [ecx]
movzx eax, word [esi]
push eax
call fcn.004d58be
add esp, 4
cmp eax, 0x53
je 0x484682
movzx eax, word [esi]
push eax
call fcn.004d58be
add esp, 4
cmp eax, 0x52
jne 0x484699
movzx eax, word [esi]
push eax
call fcn.004d58be
add esp, 4
cmp eax, 0x53
cmove edi, ebx
add esi, 2
jmp 0x484660
xor eax, eax
mov dword [ebp - 0x10], 7
push eax
push 0x50daec
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x14], 0
mov word [ebp - 0x24], ax
call fcn.0040a410
cmp word [esi], 0x5b
mov ebx, dword [ebp - 0x28]
mov byte [ebp - 4], 1
jne 0x48474a
add esi, 2
cmp word [esi], 0
jne 0x4846d9
xor ecx, ecx
jmp 0x4846ef
mov ecx, esi
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4846e0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x24]
call fcn.0040a410
push 1
push 0
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], 0x5d
push eax
lea ecx, [ebp - 0x24]
call fcn.0040a630
lea ecx, [ebp - 0x24]
cmp eax, 0xffffffff
je 0x484740
push eax
push 0
lea eax, [ebp - 0x40]
push eax
call fcn.00477830
push eax
lea ecx, [ebp - 0x24]
call fcn.00475880
cmp dword [ebp - 0x2c], 8
jb 0x48474a
push dword [ebp - 0x40]
call fcn.004cf489
add esp, 4
jmp 0x48474a
push 0x50daec
call fcn.00409260
mov ecx, dword [0x658554]
test ecx, ecx
jne 0x484759
mov ecx, 0x658558
mov eax, dword [ecx]
push ecx
call dword [eax + 0xc]
test eax, eax
jne 0x484768
lea esi, [eax + 1]
jmp 0x484787
xor esi, esi
test byte [0x652fc0], 1
je 0x484787
push str.SynAPI_Initialize_error._n
push 1
push str.CSynTPEnh::ParseCommandLine
call fcn.004cb3a0
add esp, 0xc
push 0
push str.SynTPEnhWndClass
call dword [sym.imp.USER32.dll_FindWindowW]
push 0
push 0
push 0x8023
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
test esi, esi
je 0x4847ba
mov eax, dword [ebx + 0x14ac]
test eax, eax
jne 0x4847bc
lea eax, [ebx + 0x14b0]
jmp 0x4847bc
xor eax, eax
push 0
push eax
lea ecx, [ebp - 0xabc]
call fcn.004b91e0
cmp dword [ebp - 0x14], 0
lea ecx, [ebp - 0xabc]
mov byte [ebp - 4], 2
mov dword [ebp - 0x66c], edi
push 0
jne 0x4847ed
push 1
push 0
call fcn.004bfa90
jmp 0x484802
cmp dword [ebp - 0x10], 8
lea eax, [ebp - 0x24]
push 0
cmovae eax, dword [ebp - 0x24]
push 0
push eax
call fcn.004bfdf0
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0xabc]
mov byte [ebp - 4], 1
mov dword [eax], 1
call fcn.004b9450
cmp dword [ebp - 0x10], 8
jb 0x48482b
push dword [ebp - 0x24]
call fcn.004cf489
add esp, 4
xor eax, eax
mov dword [ebp - 0x10], 7
mov dword [ebp - 0x14], 0
mov word [ebp - 0x24], ax
jmp 0x484a3f
mov eax, dword [ebp + 0x10]
mov dword [eax], 0
lea ecx, [ebp + 8]
call fcn.004814f0
push 0x527588
mov esi, dword [eax]
push esi
call fcn.004d299d
add esp, 8
test eax, eax
je 0x48488a
push 0x1b1a
mov ecx, ebx
call fcn.00482b30
push 0
push 0
push 0x47c
push edi
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x484a3a
push 0x527590
push esi
call fcn.004d299d
add esp, 8
test eax, eax
je 0x4848c5
add eax, 6
mov ecx, ebx
push eax
call fcn.0047dd60
cmp eax, 0xffffffff
je 0x484a3a
push str.1Multifinger_Gestures
push eax
mov ecx, 0x6570a8
call fcn.00486420
jmp 0x484a3a
push 0x527598
push esi
call fcn.004d299d
add esp, 8
test eax, eax
je 0x4848ec
push 0
push 0
push 0x800b
push edi
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x484a3a
push 0x5275a0
push esi
call fcn.004d299d
add esp, 8
test eax, eax
je 0x48490d
mov dword [ebx + 0x7d8], 0
jmp 0x484a3a
push 0x5275a8
push esi
call fcn.004d299d
add esp, 8
test eax, eax
je 0x484934
push 0
push 0
push 0x47d
push edi
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x484a3a
push 0x5275b0
push esi
call fcn.004d299d
add esp, 8
test eax, eax
je 0x48495b
push 0
push 0
push 0x47e
push edi
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x484a3a
push str._REGPLUGIN
push esi
call fcn.004d299d
add esp, 8
test eax, eax
je 0x484982
push 0
push 0
push 0x800a
push edi
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x484a3a
push str._PROFILES
push esi
call fcn.004d299d
add esp, 8
test eax, eax
je 0x4849a9
push 0
push 0
push 0x8028
push edi
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x484a3a
push str._INFORMATION
push esi
call fcn.004d299d
add esp, 8
test eax, eax
je 0x4849cd
push 0
push 0
push 0x802b
push edi
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x484a3a
push str._SHELLEXEC
push esi
call fcn.004d299d
mov edx, eax
add esp, 8
test edx, edx
je 0x484a1a
add edx, 0x14
mov ecx, edx
lea esi, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4849f0
sub ecx, esi
sar ecx, 1
je 0x484a04
add edx, 2
push 1
push 0
push 0
push edx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x484a3a
push str._PROMO
push esi
call fcn.004d299d
add esp, 8
test eax, eax
je 0x484a3a
push 0x8000
push edi
call fcn.004cae20
add esp, 8
mov esi, 1
mov edi, dword [ebp + 8]
or ecx, 0xffffffff
add edi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [edi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x484a63
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc