Function at 0x1000b730
Capabilities:
Create process on windows
Enumerate gui resources
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10041e38
mov eax, dword fs:[0]
push eax
sub esp, 0x280
mov eax, dword [0x10067024]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x240], esi
mov ebx, ecx
mov dword [ebp - 0x244], ebx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x22c], eax
mov al, byte [ebp + 0x10]
mov byte [ebp - 0x21d], al
mov eax, dword [ebp + 0x14]
push 0
mov dword [ebp - 0x238], eax
lea eax, [ebp - 0x280]
push 0x3c
push eax
call fcn.10014f40
add esp, 0xc
mov dword [ebp - 0x280], 0x3c
lea ecx, [ebp - 0x228]
mov dword [ebp - 0x27c], 0x440
push ebx
call fcn.1000a570
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x224]
push esi
call fcn.1000a570
mov byte [ebp - 4], 1
lea eax, [ebp - 0x23c]
push ecx
push eax
mov ecx, ebx
call fcn.1000bf90
mov edi, eax
mov byte [ebp - 4], 2
mov edx, dword [edi]
mov esi, dword [edx - 0xc]
test esi, esi
js 0x1000bb89
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
jge 0x1000b810
push esi
mov ecx, edi
call fcn.1000a410
mov edx, dword [edi]
lea eax, [esi + 1]
push eax
push edx
call fcn.100330b7
mov eax, dword [edi]
add esp, 8
cmp esi, dword [eax - 8]
jg 0x1000bb89
mov dword [eax - 0xc], esi
xor ecx, ecx
mov eax, dword [edi]
push edi
mov word [eax + esi*2], cx
lea ecx, [ebp - 0x234]
call fcn.1000a570
mov byte [ebp - 4], 4
or ebx, 0xffffffff
mov edx, dword [ebp - 0x23c]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000b863
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x21d], 0
je 0x1000b934
mov eax, dword [ebp - 0x234]
mov edx, str..bat
mov ecx, eax
nop dword [eax]
mov si, word [ecx]
cmp si, word [edx]
jne 0x1000b8a6
test si, si
je 0x1000b8a2
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x1000b8a6
add ecx, 4
add edx, 4
test si, si
jne 0x1000b880
xor ecx, ecx
jmp 0x1000b8ab
sbb ecx, ecx
or ecx, 1
test ecx, ecx
je 0x1000b8e3
mov ecx, str..cmd
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1000b8da
test dx, dx
je 0x1000b8d6
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1000b8da
add eax, 4
add ecx, 4
test dx, dx
jne 0x1000b8b4
xor eax, eax
jmp 0x1000b8df
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1000b934
push 0x104
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x228]
push str._sSystem32cmd.exe
push eax
call fcn.10009d30
mov eax, dword [ebp - 0x240]
add esp, 0xc
push dword [eax]
mov eax, dword [ebp - 0x244]
push dword [eax]
lea eax, [ebp - 0x224]
push str._C____s___s_
push eax
call fcn.10009d30
add esp, 0x10
mov eax, dword [ebp - 0x228]
mov ecx, str.open
mov dword [ebp - 0x270], eax
mov eax, dword [ebp + 0xc]
neg eax
sbb eax, eax
and eax, 5
cmp byte [ebp - 0x21d], 0
mov dword [ebp - 0x264], eax
mov eax, str.runas
cmove eax, ecx
mov ecx, dword [ebp - 0x22c]
mov dword [ebp - 0x274], eax
mov eax, dword [ebp - 0x268]
mov ecx, dword [ecx]
cmp dword [ecx - 0xc], 0
cmovne eax, ecx
mov ecx, dword [ebp - 0x26c]
mov dword [ebp - 0x268], eax
mov eax, dword [ebp - 0x224]
cmp dword [eax - 0xc], 0
cmovne ecx, eax
cmp byte [ebp - 0x21d], 0
mov dword [ebp - 0x26c], ecx
je 0x1000b9b3
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov dword [ebp - 0x278], eax
mov esi, dword [sym.imp.SHELL32.dll_ShellExecuteExW]
lea eax, [ebp - 0x280]
push eax
call esi
test eax, eax
jne 0x1000b9f3
mov eax, dword [ebp - 0x260]
cmp eax, 0x1f
je 0x1000b9d6
cmp eax, 0x1b
jne 0x1000b9f3
and dword [ebp - 0x27c], 0xfffffbff
lea eax, [ebp - 0x280]
push eax
mov dword [ebp - 0x274], 0
call esi
push dword [ebp - 0x238]
lea eax, [ebp - 0x280]
lea edx, [ebp - 0x22c]
mov dword [ebp - 0x22c], eax
lea ecx, [ebp - 0x28c]
call fcn.1000c0e0
add esp, 4
mov byte [ebp - 4], 6
mov esi, dword [ebp - 0x248]
test esi, esi
je 0x1000bace
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.GetProcessId
push str.Kernel32.dll
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push esi
call eax
push eax
call dword [sym.imp.USER32.dll_AllowSetForegroundWindow]
mov esi, dword [ebp - 0x248]
test esi, esi
je 0x1000bacb
cmp dword [ebp + 0xc], 2
jne 0x1000bacb
push str.GetProcessId
push str.Kernel32.dll
call edi
push eax
call ebx
test eax, eax
je 0x1000bac5
push esi
call eax
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
mov edi, eax
xor esi, esi
cmp esi, 0x14
jge 0x1000baba
push 0x64
call ebx
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], edi
push eax
push 0x1000bc10
mov dword [ebp - 0x22c], 0
call dword [sym.imp.USER32.dll_EnumWindows]
mov ecx, dword [ebp - 0x22c]
inc esi
test ecx, ecx
je 0x1000ba82
jmp 0x1000babe
test ecx, ecx
je 0x1000bac5
push ecx
call dword [sym.imp.USER32.dll_BringWindowToTop]
mov esi, dword [ebp - 0x248]
or ebx, 0xffffffff
mov edi, dword [ebp - 0x238]
test edi, edi
je 0x1000baf8
mov dword [edi], 0xffffffff
test esi, esi
je 0x1000baf8
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
push dword [ebp - 0x248]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28c]
call fcn.1000bc70
mov byte [ebp - 4], 1
mov eax, ebx
mov edx, dword [ebp - 0x234]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000bb28
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, ebx
mov edx, dword [ebp - 0x224]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000bb49
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x228]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x1000bb6b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1002c803
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.10008190
int3