Function at 0x12ebfbd0
Capabilities:
Accept command line arguments

Disassembly:
push 0xffffffffffffffff
push 0x13065888
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
mov eax, dword [0x13198f68]
push ebx
push ebp
push esi
push edi
xor ebp, ebp
mov edi, ecx
cmp eax, ebp
mov dword [esp + 0x40], edi
je 0x12ebfc11
push 0x13140f48
push str.SCDT
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0xc
cmp dword [0x131c10d8], ebp
jne 0x12ec05ca
cmp dword [esp + 0x84], ebp
je 0x12ebfc5b
cmp dword [0x13198f68], ebp
je 0x12ebfc49
mov eax, dword [edi + 0x1b8]
push eax
push 0x13140ee0
push str.SCDT
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x10
mov ecx, dword [edi + 0x1b8]
xor eax, eax
cmp ecx, ebp
setne al
jmp 0x12ec05f4
call fcn.12e30170
mov esi, eax
mov dword [esp + 0x44], esi
call fcn.12f9c620
test eax, eax
je 0x12ebfc88
cmp esi, ebp
je 0x12ebfc88
push 0x20000
call fcn.12e6efc0
add esp, 4
test eax, eax
je 0x12ec05f4
mov ecx, edi
mov dword [0x131c10d8], 1
call fcn.12ec0ac0
mov ecx, edi
call fcn.12ec1170
mov dword [esp + 0x2c], ebp
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, eax
lea ecx, [esp + 0x3c]
push esi
push ecx
call fcn.12e9d3c0
add esp, 8
mov eax, dword [eax]
lea ecx, [esp + 0x34]
push eax
mov dword [esp + 0x80], ebp
call fcn.12f46920
lea ecx, [esp + 0x3c]
mov byte [esp + 0x7c], 2
call fcn.12f41ea0
lea edx, [esp + 0x30]
mov ecx, edi
push edx
call fcn.12ebf940
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
push eax
push ecx
mov byte [esp + 0x84], 3
call fcn.12e33a60
add esp, 8
test eax, eax
je 0x12ebfd0e
mov ebp, 1
mov dword [esp + 0x2c], ebp
push 0x131911a8
lea ecx, [esp + 0x18]
call fcn.12f46a80
push 0x131911a8
lea ecx, [esp + 0x14]
mov byte [esp + 0x80], 4
call fcn.12f46a80
xor ebx, ebx
mov byte [esp + 0x7c], 5
push 0xffffffffffffffff
mov dword [esp + 0x24], 0xffffffff
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x2c], ebx
call sym.winahdcore32.dll_GetSCDTDesktopMode
xor edx, edx
cmp eax, 2
sete dl
lea eax, [esp + 0x28]
mov edi, edx
push eax
lea ecx, [esp + 0x88]
push ebx
lea edx, [esp + 0x2c]
push ecx
lea eax, [esp + 0x44]
push edx
lea ecx, [esp + 0x30]
push eax
lea edx, [esp + 0x24]
push ecx
lea eax, [esp + 0x2c]
push edx
push eax
mov dword [esp + 0x5c], edi
call fcn.12edba70
mov ebx, eax
mov eax, dword [0x13198f68]
add esp, 0x20
mov dword [esp + 0x18], ebx
test eax, eax
je 0x12ebfde5
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x84]
mov eax, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x3c]
push edi
push edx
mov edx, dword [esp + 0x2c]
push 0
push eax
mov eax, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
push eax
push ecx
push ebx
push 0x13140e1c
push str.SCDT
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x34
mov eax, dword [0x13198f68]
xor edi, edi
cmp eax, edi
mov dword [esp + 0x1c], edi
je 0x12ebfe14
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
push ebp
push esi
push edx
push eax
push 0x13140db4
push str.SCDT
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x1c
cmp ebx, edi
je 0x12ebfe7e
mov eax, dword [0x131c461c]
mov ecx, dword [esp + 0x14]
push eax
push ecx
call fcn.12f5e1d4
add esp, 8
cmp eax, edi
jne 0x12ec0049
mov eax, dword [0x131c4598]
mov edx, dword [esp + 0x10]
push eax
push edx
call fcn.12f5e1d4
add esp, 8
cmp eax, edi
jne 0x12ec0049
lea eax, [esp + 0x28]
lea ecx, [esp + 0x84]
push eax
push 1
lea edx, [esp + 0x2c]
push ecx
lea eax, [esp + 0x44]
push edx
lea ecx, [esp + 0x30]
push eax
lea edx, [esp + 0x24]
push ecx
lea eax, [esp + 0x2c]
push edx
push eax
call fcn.12edba70
add esp, 0x20
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp ebp, edi
mov dword [esp + 0x1c], 1
jne 0x12ebfecd
lea eax, [esp + 0x1c]
push edi
push eax
push edi
push edi
call ebx
push eax
call fcn.12ec0a40
add esp, 0x14
test eax, eax
jne 0x12ebfecd
call ebx
push eax
mov ecx, 0x131c0760
call fcn.12e3d0b0
lea ecx, [esp + 0x1c]
push edi
push ecx
push edi
push edi
push eax
call fcn.12ec0a40
add esp, 0x14
test eax, eax
jne 0x12ebfecd
mov dword [esp + 0x1c], edi
cmp dword [0x13198f68], edi
je 0x12ebfef1
mov edx, dword [esp + 0x1c]
push edx
call ebx
push eax
push 0x13140d34
push str.SCDT
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x14
cmp dword [esp + 0x44], edi
jne 0x12ec0181
mov ecx, 0x131c0760
call fcn.12e3d6f0
test eax, eax
jne 0x12ec0181
mov ecx, 0x131c0760
call fcn.12e3d6e0
test eax, eax
je 0x12ec0181
mov ebp, dword [sym.imp.KERNEL32.dll_GetCommandLineA]
call ebp
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edi, eax
call ebp
mov ebp, eax
mov eax, dword [0x13198f68]
test eax, eax
je 0x12ebffc5
push ebp
lea ecx, [esp + 0x50]
call fcn.12f46920
mov ebx, eax
push esi
lea ecx, [esp + 0x4c]
mov byte [esp + 0x80], 6
call fcn.12f46920
mov ecx, dword [ebx]
mov edx, dword [eax]
push ecx
push edi
push edx
push 0x13140cd0
push str.SCDT
push 0xffffffffffffffff
mov byte [esp + 0x94], 7
call fcn.12dad750
add esp, 0x18
lea ecx, [esp + 0x48]
mov byte [esp + 0x7c], 6
call fcn.12f47220
lea ecx, [esp + 0x4c]
mov byte [esp + 0x7c], 5
call fcn.12f47220
mov eax, dword [0x13198f68]
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
test eax, eax
je 0x12ebffc5
push ebp
push edi
push esi
push 0x13140c68
push str.SCDT
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x18
test esi, esi
mov dword [esp + 0x50], 0x13140c5c
mov dword [esp + 0x54], 0x13140c54
mov dword [esp + 0x58], 0x13140c4c
mov dword [esp + 0x5c], 0x13140c40
mov dword [esp + 0x60], 0x13140c34
je 0x12ec0181
call fcn.12f9c860
test eax, eax
je 0x12ec0021
push 0x13140c18
push esi
call fcn.12f5de64
add esp, 8
test eax, eax
je 0x12ec0021
mov ecx, dword [esp + 0x40]
call fcn.12ec07b0
test eax, eax
jne 0x12ec0181
xor ebp, ebp
lea edi, [esp + 0x50]
mov eax, dword [edi]
push eax
push esi
call fcn.12f5de64
add esp, 8
test eax, eax
jne 0x12ec00c4
inc ebp
add edi, 4
cmp ebp, 5
jb 0x12ec0027
jmp 0x12ec0181
cmp dword [0x13198f68], edi
je 0x12ec0082
mov ecx, dword [esp + 0x20]
mov edx, dword [0x131c4598]
mov eax, dword [esp + 0x10]
push ecx
mov ecx, dword [0x131c461c]
push edx
mov edx, dword [esp + 0x1c]
push eax
push ecx
push edx
push 0x13140b9c
push str.SCDT
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x20
lea ecx, [esp + 0x10]
mov byte [esp + 0x7c], 4
call fcn.12f47220
lea ecx, [esp + 0x14]
mov byte [esp + 0x7c], 3
call fcn.12f47220
lea ecx, [esp + 0x30]
mov byte [esp + 0x7c], 2
call fcn.12f47220
lea ecx, [esp + 0x34]
mov dword [esp + 0x7c], 0xffffffff
call fcn.12f47220
xor eax, eax
jmp 0x12ec05f4
lea ecx, [esp + 0x50]
mov edi, 1
call fcn.12e9bef0
push edi
push 0
push ecx
mov bl, 8
mov ecx, esp
mov dword [esp + 0x58], esp
push str.SCDT_Svchost_PrivilegedProc_Cmd_Ex
mov byte [esp + 0x8c], bl
call fcn.12f46a80
lea ecx, [esp + 0x5c]
mov byte [esp + 0x88], bl
call fcn.12e9c100
push ecx
mov ecx, esp
mov dword [esp + 0x50], esp
push esi
call fcn.12f46920
lea ecx, [esp + 0x54]
mov byte [esp + 0x80], bl
call fcn.12e9c5e0
test eax, eax
je 0x12ec0122
xor edi, edi
lea ecx, [esp + 0x50]
mov byte [esp + 0x7c], 5
call fcn.12e9c060
test edi, edi
je 0x12ec017b
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x12ec0170
push 0x131c461c
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c], 1
call fcn.12f473b0
push 0x131c4598
lea ecx, [esp + 0x14]
call fcn.12f473b0
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x24], 0
mov dword [esp + 0x84], 5
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x12ec03c5
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x12ec01ac
call fcn.12e30170
push eax
call sym.winahdcore32.dll_GetSCDTLogonState
xor ebp, ebp
cmp eax, ebp
je 0x12ec0369
jmp 0x12ec01ba
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x12ec0367
xor ebp, ebp
cmp dword [esp + 0x84], 5
je 0x12ec0369
mov ecx, 0x131c0760
mov dword [esp + 0x84], 2
call fcn.12e3d6b0
test eax, eax
jne 0x12ec0352
mov ecx, 0x131c0760
call fcn.12e3d700
test eax, eax
jne 0x12ec0352
cmp dword [esp + 0x3c], ebp
je 0x12ec0369
mov eax, dword [0x13196ccc]
push eax
mov esi, eax
call fcn.12f5c44d
add esp, 4
push eax
call fcn.12d9c6f0
push eax
push esi
call fcn.12f5e2b3
add esp, 0xc
test eax, eax
jne 0x12ec0231
mov dword [esp + 0x84], ebp
jmp 0x12ec0369
call fcn.12e6f290
test eax, eax
je 0x12ec0369
push 0x890
call fcn.12f5bf8b
mov esi, eax
add esp, 4
cmp esi, ebp
je 0x12ec0369
mov ecx, 0x224
xor eax, eax
mov edi, esi
push 0x103
rep stosd dword es:[edi], eax
mov eax, dword [0x13196cd0]
lea ecx, [esi + 0x10]
push eax
push ecx
call fcn.12f5c4ab
add esp, 0xc
call ebx
push eax
mov ecx, 0x131c0760
call fcn.12e3d0b0
mov dword [esi + 4], eax
call ebx
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0x10
mov dword [esi], ebp
mov edx, dword [0x13196cd0]
push 0x103
lea eax, [esi + 0x420]
push edx
push eax
call fcn.12f5c4ab
lea ecx, [esi + 0x830]
push 0x28
push ecx
push ebp
push ebp
call fcn.12d8e8d0
lea edx, [esp + 0x68]
push 1
lea eax, [esp + 0x5c]
push edx
push eax
push ebp
push esi
mov dword [esi + 0x880], ebp
mov dword [esi + 0x884], 0xffffffff
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x7c], ebp
call fcn.12f150a0
mov edi, eax
mov eax, dword [esp + 0x6c]
add esp, 0x30
cmp eax, ebp
je 0x12ec0302
push eax
call fcn.12f5bf80
add esp, 4
mov dword [esp + 0x3c], ebp
cmp edi, ebp
jne 0x12ec0315
cmp dword [esi + 0x880], ebp
jne 0x12ec0315
mov dword [esp + 0x84], ebp
cmp dword [0x13198f68], ebp
je 0x12ec0347
mov ecx, dword [esp + 0x84]
mov edx, dword [esi + 0x880]
mov eax, dword [esi + 0x888]
push ecx
push edx
push eax
push 0x13140acc
push str.SCDT
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x18
push esi
call fcn.12f5bf80
add esp, 4
jmp 0x12ec0369
mov dword [esp + 0x18], 1
mov dword [esp + 0x84], 4
jmp 0x12ec0369
xor ebp, ebp
cmp dword [0x13198f68], ebp
je 0x12ec038a
mov ecx, dword [esp + 0x2c]
push ecx
push 0x13140a7c
push str.SCDT
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x10
cmp dword [esp + 0x18], ebp
je 0x12ec048b
push 0x131c461c
lea ecx, [esp + 0x18]
call fcn.12f473b0
push 0x131c4598
lea ecx, [esp + 0x14]
call fcn.12f473b0
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x24], 0
jmp 0x12ec048b
mov eax, dword [0x13198f68]
test eax, eax
je 0x12ec0401
push 0xffffffffffffffff
call sym.winahdcore32.dll_GetSCDTDesktopMode
mov esi, dword [esp + 0x2c]
xor edx, edx
cmp eax, 2
mov eax, dword [esp + 0x84]
sete dl
push edx
push esi
push eax
push 0x13140a0c
push str.SCDT
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x18
jmp 0x12ec0405
mov esi, dword [esp + 0x2c]
call fcn.12f9c620
test eax, eax
je 0x12ec0416
mov eax, dword [esp + 0x44]
test eax, eax
je 0x12ec048b
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x12ec048b
mov eax, dword [esp + 0x84]
cmp eax, 5
je 0x12ec048b
test esi, esi
je 0x12ec0446
test eax, eax
jne 0x12ec048b
cmp dword [esp + 0x28], 1
je 0x12ec048b
mov dword [esp + 0x84], 4
jmp 0x12ec0455
test eax, eax
je 0x12ec048b
mov dword [esp + 0x84], 0
mov eax, dword [0x13198f68]
test eax, eax
je 0x12ec048b
push 0xffffffffffffffff
call sym.winahdcore32.dll_GetSCDTDesktopMode
mov edx, dword [esp + 0x84]
xor ecx, ecx
cmp eax, 2
sete cl
push ecx
push esi
push edx
push 0x1314099c
push str.SCDT
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x18
mov edi, dword [esp + 0x40]
push 1
lea ecx, [esp + 0x54]
lea eax, [edi + 0x200]
push eax
call fcn.12f560a0
mov eax, dword [0x13198f68]
mov byte [esp + 0x7c], 0xb
test eax, eax
je 0x12ec04e6
mov ecx, dword [esp + 0x84]
push ecx
mov ecx, 0x131c0760
call fcn.12e3d710
push eax
mov ecx, 0x131c0760
call fcn.12e3d6e0
mov edx, dword [esp + 0x20]
push eax
push edx
push 0x1314092c
push str.SCDT
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x1c
mov eax, dword [esp + 0x84]
mov esi, dword [esp + 0x24]
cmp eax, 1
je 0x12ec0500
cmp eax, 4
je 0x12ec0500
cmp eax, 5
jne 0x12ec0510
mov dword [edi + 0x1b8], 1
mov dword [edi + 0x1c0], esi
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
mov dword [edi + 0x1d0], eax
mov dword [edi + 0x1d4], ecx
mov dword [edi + 0x1d8], edx
mov ebx, dword [0x13198f68]
test ebx, ebx
je 0x12ec0560
push edx
push eax
mov eax, dword [edi + 0x1b8]
push ecx
mov ecx, dword [esp + 0x24]
push eax
push esi
push 0
push 0xffffffffffffffff
push 0
push 0
push ecx
push 0x13140854
push str.SCDT
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x34
lea ecx, [esp + 0x50]
mov byte [esp + 0x7c], 5
call fcn.12f56100
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
mov eax, dword [0x131c076c]
push edx
mov edx, dword [esp + 0x88]
push ecx
push edx
push eax
call sym.winahdcore32.dll_SetSCDTProcesIdentifyTypeInCache
lea ecx, [esp + 0x10]
mov byte [esp + 0x7c], 4
call fcn.12f47220
lea ecx, [esp + 0x14]
mov byte [esp + 0x7c], 3
call fcn.12f47220
lea ecx, [esp + 0x30]
mov byte [esp + 0x7c], 2
call fcn.12f47220
lea ecx, [esp + 0x34]
mov dword [esp + 0x7c], 0xffffffff
call fcn.12f47220
mov edi, dword [esp + 0x40]
mov eax, dword [0x13198f68]
test eax, eax
je 0x12ec05ee
mov eax, dword [edi + 0x1b8]
push eax
push 0x131407f8
push str.SCDT
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x10
mov eax, dword [edi + 0x1b8]
mov ecx, dword [esp + 0x74]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x70
ret 4