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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10072069
mov eax, dword fs:[0]
push eax
sub esp, 0x288
mov eax, dword [0x100c0040]
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 - 0x244], esi
mov ebx, ecx
mov dword [ebp - 0x234], ebx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x220], eax
mov al, byte [ebp + 0x10]
mov byte [ebp - 0x221], al
mov eax, dword [ebp + 0x14]
push 0
mov dword [ebp - 0x230], eax
lea eax, [ebp - 0x284]
push 0x3c
push eax
call fcn.10033390
mov ecx, dword [ebx]
add esp, 0xc
sub ecx, 0x10
mov dword [ebp - 0x284], 0x3c
mov dword [ebp - 0x280], 0x440
call fcn.1000a470
add eax, 0x10
mov dword [ebp - 0x228], eax
mov dword [ebp - 4], 1
mov ecx, dword [esi]
sub ecx, 0x10
call fcn.1000a470
lea edi, [eax + 0x10]
mov dword [ebp - 0x22c], edi
mov byte [ebp - 4], 3
lea eax, [ebp - 0x23c]
push ecx
push eax
mov ecx, ebx
call fcn.1001c0a0
mov ebx, eax
mov byte [ebp - 4], 4
mov eax, dword [ebx]
mov esi, dword [eax - 0xc]
test esi, esi
js 0x1001bc2b
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, esi
or eax, ecx
jge 0x1001b83c
push esi
mov ecx, ebx
call fcn.10008470
lea eax, [esi + 1]
push eax
push dword [ebx]
call fcn.1005c2df
mov eax, dword [ebx]
add esp, 8
cmp esi, dword [eax - 8]
jg 0x1001bc2b
mov dword [eax - 0xc], esi
xor ecx, ecx
mov eax, dword [ebx]
mov word [eax + esi*2], cx
mov ecx, dword [ebx]
sub ecx, 0x10
call fcn.1000a470
lea esi, [eax + 0x10]
mov dword [ebp - 0x248], esi
mov byte [ebp - 4], 7
or eax, 0xffffffff
mov ecx, dword [ebp - 0x23c]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x1001b8ab
mov eax, dword [ecx]
mov dword [ebp - 0x240], eax
push ecx
mov eax, dword [eax]
mov ebx, dword [eax + 4]
mov ecx, ebx
call dword [0x1007d584]
mov ecx, dword [ebp - 0x240]
call ebx
mov bl, byte [ebp - 0x221]
test bl, bl
je 0x1001b97c
mov ecx, str..bat
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1001b8e6
test dx, dx
je 0x1001b8e2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1001b8e6
add eax, 4
add ecx, 4
test dx, dx
jne 0x1001b8c0
xor eax, eax
jmp 0x1001b8eb
sbb eax, eax
or eax, 1
test eax, eax
je 0x1001b925
mov ecx, str..cmd
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1001b91c
test dx, dx
je 0x1001b918
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1001b91c
add eax, 4
add ecx, 4
test dx, dx
jne 0x1001b8f6
xor eax, eax
jmp 0x1001b921
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1001b97c
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.10014650
mov eax, dword [ebp - 0x244]
add esp, 0xc
push dword [eax]
mov eax, dword [ebp - 0x234]
push dword [eax]
lea eax, [ebp - 0x22c]
push str._C____s___s_
push eax
call fcn.10014650
mov edi, dword [ebp - 0x22c]
add esp, 0x10
mov eax, dword [ebp - 0x228]
mov ecx, str.open
mov dword [ebp - 0x274], eax
mov eax, dword [ebp + 0xc]
neg eax
sbb eax, eax
and eax, 5
test bl, bl
mov dword [ebp - 0x268], eax
mov eax, str.runas
cmove eax, ecx
mov ecx, dword [ebp - 0x220]
mov dword [ebp - 0x278], eax
mov eax, dword [ebp - 0x26c]
mov ecx, dword [ecx]
cmp dword [ecx - 0xc], 0
cmovne eax, ecx
mov dword [ebp - 0x26c], eax
cmp dword [edi - 0xc], 0
mov eax, dword [ebp - 0x270]
cmovne eax, edi
mov dword [ebp - 0x270], eax
test bl, bl
je 0x1001b9eb
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov dword [ebp - 0x27c], eax
lea eax, [ebp - 0x284]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x1001ba2d
mov eax, dword [ebp - 0x264]
cmp eax, 0x1f
je 0x1001ba0c
cmp eax, 0x1b
jne 0x1001ba2d
and dword [ebp - 0x280], 0xfffffbff
lea eax, [ebp - 0x284]
push eax
mov dword [ebp - 0x278], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
push dword [ebp - 0x248]
lea eax, [ebp - 0x284]
lea edx, [ebp - 0x220]
mov dword [ebp - 0x220], eax
lea ecx, [ebp - 0x290]
call fcn.1001c220
add esp, 4
mov byte [ebp - 4], 9
mov ebx, dword [ebp - 0x24c]
mov dword [ebp - 0x220], ebx
test ebx, ebx
je 0x1001bb4c
push str.GetProcessId
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push dword [ebp - 0x220]
mov ebx, eax
mov ecx, eax
call dword [0x1007d584]
call ebx
push eax
call dword [sym.imp.USER32.dll_AllowSetForegroundWindow]
mov ebx, dword [ebp - 0x24c]
test ebx, ebx
je 0x1001bb4c
cmp dword [ebp + 0xc], 2
jne 0x1001bb4c
push str.GetProcessId
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x220], eax
test eax, eax
je 0x1001bb46
push ebx
mov ecx, eax
call dword [0x1007d584]
call dword [ebp - 0x220]
mov dword [ebp - 0x220], eax
xor ebx, ebx
nop dword [eax + eax]
cmp ebx, 0x14
jge 0x1001bb46
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x220]
mov dword [ebp - 0x238], eax
lea eax, [ebp - 0x238]
push eax
push 0x1001bc40
mov dword [ebp - 0x234], 0
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [ebp - 0x234]
inc ebx
test eax, eax
je 0x1001baf0
push 0x4003
push 0
push 0
push 0
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ebx, dword [ebp - 0x24c]
mov eax, dword [ebp - 0x230]
test eax, eax
je 0x1001bb7c
mov dword [eax], 0xffffffff
test ebx, ebx
je 0x1001bb7c
push 0xffffffffffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x230]
push eax
push dword [ebp - 0x24c]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x290]
call fcn.1001bca0
mov byte [ebp - 4], 3
or ebx, 0xffffffff
lea ecx, [esi - 0x10]
mov eax, ebx
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x1001bbb8
mov ebx, dword [ecx]
push ecx
mov eax, dword [ebx]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x1007d584]
mov ecx, ebx
call esi
or ebx, 0xffffffff
mov byte [ebp - 4], 1
lea ecx, [edi - 0x10]
mov eax, ebx
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x1001bbdf
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x1007d584]
mov ecx, edi
call esi
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x228]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x1001bc0d
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x1007d584]
mov ecx, edi
call esi
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.10053e7d
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.10005390
int3