Function at 0x40c1e0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ec1e2
mov eax, dword fs:[0]
push eax
sub esp, 0x17c
mov eax, dword [0x53e01c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0xec], esi
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xf0], edi
mov dword [ebp - 0xf8], eax
test edx, edx
je 0x40c4ca
xor eax, eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov dword [ebp - 4], eax
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x40c260
mov eax, dword [esi]
lea ecx, [ebp - 0x40]
push ecx
push eax
call edx
add esp, 8
test eax, eax
je 0x40c623
push 0xc
xor eax, eax
mov dword [ebp - 0xe8], 0
push 0x52b234
lea ecx, [ebp - 0xe8]
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xd4], 7
mov word [ebp - 0xe8], ax
call fcn.00407890
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xd0]
push 0x2c
xor eax, eax
mov dword [ebp - 0xd0], 0
push str.Tencent_Technology_Shenzhen__Company_Limited
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 7
mov word [ebp - 0xd0], ax
call fcn.00407890
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xb8]
push 0x2d
xor eax, eax
mov dword [ebp - 0xb8], 0
push str.Tencent_Technology__Shenzhen__Company_Limited
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 7
mov word [ebp - 0xb8], ax
call fcn.00407890
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xa0]
push 0xa
xor eax, eax
mov dword [ebp - 0xa0], 0
push str.Adobe_Inc.
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 7
mov word [ebp - 0xa0], ax
call fcn.00407890
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x88]
push 9
xor eax, eax
mov dword [ebp - 0x88], 0
push str.Sogou.com
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
call fcn.00407890
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x70]
push 0x2e
xor eax, eax
mov dword [ebp - 0x70], 0
push str.Beijing_Sogou_Technology_Development_Co.__Ltd.
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
call fcn.00407890
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x58]
push 0x30
xor eax, eax
mov dword [ebp - 0x58], 0
push str._Beijing_Sogou_Technology_Development_Co.__Ltd._
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
call fcn.00407890
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 7
lea eax, [ebp - 0x40]
push ecx
push eax
push ecx
lea ecx, [ebp - 0x1c]
call fcn.00403c60
push fcn.00407b20
push 7
push 0x18
lea eax, [ebp - 0xe8]
mov byte [ebp - 4], 9
push eax
call fcn.0045b840
mov edi, dword [ebp - 0x1c]
cmp edi, dword [ebp - 0x18]
je 0x40c61b
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x40c43c
mov eax, dword [edi]
cmp dword [ebp - 0x2c], 8
lea esi, [ebp - 0x40]
mov ecx, dword [ebp - 0x30]
cmovae esi, dword [ebp - 0x40]
cmp ecx, dword [edi + 0x10]
jne 0x40c60f
mov edx, ecx
test edx, edx
je 0x40c475
sub esi, eax
nop dword [eax + eax]
mov cx, word [esi + eax]
cmp cx, word [eax]
jne 0x40c60f
add eax, 2
sub edx, 1
jne 0x40c460
lea ecx, [ebp - 0x1c]
call fcn.00403fb0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x40c4be
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40c4b4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c841
push edx
push ecx
call fcn.0045b5e1
add esp, 8
mov edi, dword [ebp - 0xf0]
mov esi, dword [ebp - 0xec]
push 0x40
lea eax, [ebp - 0x184]
mov dword [ebp - 0x188], 0x44
push 0
push eax
call fcn.004beec0
xor eax, eax
mov dword [ebp - 0x15c], 1
add esp, 0xc
mov word [ebp - 0x158], ax
xorps xmm0, xmm0
movups xmmword [ebp - 0x108], xmm0
cmp dword [ebp - 0xf4], eax
jne 0x40c699
cmp dword [ebp + 0x10], eax
je 0x40c699
call fcn.0040bde0
test eax, eax
je 0x40c699
push 0x38
lea eax, [ebp - 0x140]
mov dword [ebp - 0x144], 0x3c
push 0
push eax
call fcn.004beec0
add esp, 0xc
mov dword [ebp - 0x140], 0x40
cmp dword [esi + 0x14], 8
jb 0x40c555
mov esi, dword [esi]
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x134], esi
jb 0x40c563
mov edi, dword [edi]
push 0
mov dword [ebp - 0x130], edi
mov dword [ebp - 0x138], str.RunAs
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea eax, [ebp - 0x144]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
xor ecx, ecx
mov esi, 0x80004005
test eax, eax
cmovne esi, ecx
je 0x40c664
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x108], eax
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
js 0x40c5e5
mov eax, dword [ebp + 8]
test eax, eax
je 0x40c5e5
push eax
push dword [ebp - 0x108]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
neg eax
sbb esi, esi
mov eax, dword [ebp - 0xf8]
and esi, 0x8000ffff
test eax, eax
je 0x40c5e5
push eax
push dword [ebp - 0x108]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [ebp - 0x108]
test eax, eax
je 0x40c5f2
push eax
call edi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045b5b0
mov esp, ebp
pop ebp
ret
add edi, 0x18
cmp edi, dword [ebp - 0x18]
jne 0x40c432
lea ecx, [ebp - 0x1c]
call fcn.00403fb0
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x40c65d
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40c653
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c841
push edx
push ecx
call fcn.0045b5e1
add esp, 8
mov eax, 0x800704b4
jmp 0x40c5f4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x4c7
jne 0x40c5a6
mov eax, dword [ebp - 0xf8]
mov esi, 0x80004004
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x40c5e5
mov dword [eax], 0x4c7
jmp 0x40c5e5
push 1
xor eax, eax
mov dword [ebp - 0x28], 0
push 0x52b250
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00407890
mov dword [ebp - 4], 0xa
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x40c6d4
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x28]
push eax
call fcn.00404090
push 2
push 0x52b254
lea ecx, [ebp - 0x28]
call fcn.00404090
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x40c6f9
mov eax, dword [edi]
push dword [edi + 0x10]
lea ecx, [ebp - 0x28]
push eax
call fcn.00404090
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [ebp - 0xf4]
lea ecx, [ebp - 0x108]
lea eax, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x188]
push ecx
push 0
push 0
push 0
push 1
push 0
push 0
test edi, edi
je 0x40c7ee
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
push 0
push edi
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
neg eax
sbb esi, esi
and esi, 0x7fffbffb
add esi, 0x80004005
jns 0x40c813
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x522
jne 0x40c7b6
push str.CreateProcessWithTokenW
push str.Advapi32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40c7b1
cmp dword [ebp - 0x14], 8
lea edx, [ebp - 0x108]
push edx
lea edx, [ebp - 0x188]
push edx
push 0
push 0
push 0
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
push ecx
push 0
push 0
push edi
call eax
jmp 0x40c7ff
mov esi, 0x80004002
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x40c5ac
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40c832
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c846
jmp 0x40c832
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
neg eax
sbb esi, esi
and esi, 0x7fffbffb
add esi, 0x80004005
test esi, esi
js 0x40c7b6
mov eax, dword [ebp - 0x104]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x40c7bc
push eax
call edi
mov dword [ebp - 0x104], 0
jmp 0x40c7bc
push edx
push ecx
call fcn.0045b5e1
add esp, 8
jmp 0x40c5ac
call fcn.004c1e0f
call fcn.004c1e0f
int3