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

Disassembly:
push 0xffffffffffffffff
push 0x1005be36
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0x10076658]
xor eax, esp
mov dword [esp + 0x128], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10076658]
xor eax, esp
push eax
lea eax, [esp + 0x144]
mov dword fs:[0], eax
mov eax, dword [esp + 0x154]
mov ebx, ecx
lea ecx, [esp + 0x104]
push str.messaging_actions_
push ecx
mov esi, edx
mov dword [esp + 0x24], eax
call fcn.1000cfc0
push eax
xor ebp, ebp
mov eax, 0x10064814
lea ecx, [esp + 0xf4]
mov dword [esp + 0x158], ebp
call fcn.10003910
add esp, 0xc
mov ecx, eax
mov eax, esi
lea ebx, [esp + 0xcc]
mov byte [esp + 0x14c], 1
call fcn.1000d0c0
push eax
lea edx, [esp + 0x24]
push edx
mov byte [esp + 0x154], 2
call fcn.10019520
add esp, 8
mov esi, 8
cmp dword [esp + 0xe0], esi
jb 0x1001fb66
mov eax, dword [esp + 0xcc]
push eax
call fcn.1004076b
add esp, 4
mov ebx, 7
xor ecx, ecx
mov dword [esp + 0xe0], ebx
mov dword [esp + 0xdc], ebp
mov word [esp + 0xcc], cx
cmp dword [esp + 0xfc], esi
jb 0x1001fb9c
mov edx, dword [esp + 0xe8]
push edx
call fcn.1004076b
add esp, 4
xor eax, eax
mov dword [esp + 0xfc], ebx
mov dword [esp + 0xf8], ebp
mov word [esp + 0xe8], ax
mov byte [esp + 0x14c], 6
cmp dword [esp + 0x118], esi
jb 0x1001fbd5
mov ecx, dword [esp + 0x104]
push ecx
call fcn.1004076b
add esp, 4
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
xor edx, edx
mov dword [esp + 0x118], ebx
mov dword [esp + 0x114], ebp
mov word [esp + 0x104], dx
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], esi
cmp esi, dword [esp + 0x18]
je 0x1001ff27
mov eax, dword [esi + 0x10]
push 0x1006a97c
mov edi, 4
mov ecx, esi
call fcn.10003de0
test eax, eax
jne 0x1001fc39
mov eax, dword [esp + 0x1c]
push 1
push ebp
push ebp
call fcn.100031d0
push eax
push str.open
push ebp
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [esi + 0x10]
push str.exitpm
mov edi, 6
mov ecx, esi
call fcn.10003de0
test eax, eax
jne 0x1001ff00
xor ecx, ecx
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa0], ebp
mov word [esp + 0x90], cx
mov dword [esp + 0xac], ebp
mov dword [esp + 0xb0], ebp
mov dword [esp + 0xb4], ebp
mov dword [esp + 0xbc], ebp
mov dword [esp + 0xc0], ebp
mov dword [esp + 0xc4], ebp
mov dword [esp + 0x8c], ebp
push str.ExecuteMBAMCommand
lea edx, [esp + 0x50]
push edx
mov byte [esp + 0x154], bl
call fcn.10012f20
mov byte [esp + 0x14c], 8
xor eax, eax
mov word [esp + 0x30], ax
push ebx
mov eax, str.command
lea esi, [esp + 0x34]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], ebp
call fcn.10003430
mov ecx, esi
push ecx
lea edx, [esp + 0x90]
push edx
mov byte [esp + 0x154], 9
call fcn.10013160
lea ecx, [esp + 0x4c]
mov ebx, eax
call fcn.10013390
cmp dword [esp + 0x44], 8
jb 0x1001fd11
mov eax, dword [esp + 0x30]
push eax
call fcn.1004076b
add esp, 4
lea edx, [esp + 0x4c]
mov ebx, 7
xor ecx, ecx
push edx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], ebp
mov word [esp + 0x34], cx
mov byte [esp + 0x150], bl
call fcn.10013040
lea eax, [esp + 0x120]
call fcn.1001eab0
mov ecx, eax
xor eax, eax
mov dword [esp + 0x64], ebx
mov dword [esp + 0x60], ebp
mov word [esp + 0x50], ax
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x70], ebp
mov dword [esp + 0x74], ebp
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x80], ebp
mov dword [esp + 0x84], ebp
mov byte [esp + 0x14c], 0xd
push ebp
or eax, 0xffffffff
lea edx, [esp + 0x54]
mov dword [esp + 0x50], 1
call fcn.10003280
mov byte [esp + 0x14c], 0xe
xor ecx, ecx
push 4
mov eax, str.path
lea esi, [esp + 0x34]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], ebp
mov word [esp + 0x34], cx
call fcn.10003430
mov edx, esi
push edx
lea eax, [esp + 0x90]
push eax
mov byte [esp + 0x154], 0xf
call fcn.10013160
lea ecx, [esp + 0x4c]
mov ebx, eax
call fcn.10013390
mov esi, 8
cmp dword [esp + 0x44], esi
jb 0x1001fdf0
mov ecx, dword [esp + 0x30]
push ecx
call fcn.1004076b
add esp, 4
lea eax, [esp + 0x4c]
xor edx, edx
mov ebx, 7
push eax
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], ebp
mov word [esp + 0x34], dx
mov byte [esp + 0x150], 0xa
call fcn.10013040
mov byte [esp + 0x14c], bl
cmp dword [esp + 0x134], esi
jb 0x1001fe36
mov ecx, dword [esp + 0x120]
push ecx
call fcn.1004076b
add esp, 4
push str._uninstall
lea edx, [esp + 0x50]
push edx
call fcn.10012f20
mov byte [esp + 0x14c], 0x10
xor eax, eax
mov word [esp + 0x30], ax
push 9
mov eax, str.arguments
lea esi, [esp + 0x34]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], ebp
call fcn.10003430
mov ecx, esi
push ecx
lea edx, [esp + 0x90]
push edx
mov byte [esp + 0x154], 0x11
call fcn.10013160
lea ecx, [esp + 0x4c]
mov ebx, eax
call fcn.10013390
cmp dword [esp + 0x44], 8
jb 0x1001fea3
mov eax, dword [esp + 0x30]
push eax
call fcn.1004076b
add esp, 4
mov eax, 7
lea edx, [esp + 0x4c]
xor ecx, ecx
push edx
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], ebp
mov word [esp + 0x34], cx
mov byte [esp + 0x150], al
call fcn.10013040
lea eax, [esp + 0x8c]
push eax
call fcn.100232b0
add esp, 4
call fcn.10022930
call fcn.10021280
lea ecx, [esp + 0x8c]
push ecx
mov byte [esp + 0x150], 6
call fcn.10013040
mov esi, dword [esp + 0x14]
mov ebx, 7
mov eax, dword [esi + 0x10]
push str.exit
mov edi, 4
mov ecx, esi
call fcn.10003de0
test eax, eax
je 0x1001ff20
add esi, 0x1c
jmp 0x1001fbf9
push ebp
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esi, dword [esp + 0x20]
cmp esi, ebp
je 0x1001ff67
mov edi, dword [esp + 0x24]
cmp esi, edi
je 0x1001ff5e
cmp dword [esi + 0x14], 8
jb 0x1001ff48
mov edx, dword [esi]
push edx
call fcn.1004076b
add esp, 4
xor eax, eax
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], ebp
mov word [esi], ax
add esi, 0x1c
cmp esi, edi
jne 0x1001ff37
mov esi, dword [esp + 0x20]
push esi
call fcn.1004076b
add esp, 4
mov ecx, dword [esp + 0x144]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.10040061
add esp, 0x13c
ret