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

Disassembly:
push ebp
lea ebp, [esp - 0x20c]
sub esp, 0x20c
push 0xffffffffffffffff
push 0x449895
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x45f024]
xor eax, ebp
mov dword [ebp + 0x208], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x34], edi
mov esi, ecx
mov dword [ebp - 0x28], esi
mov eax, dword [ebp + 0x214]
mov ebx, dword [ebp + 0x224]
mov dword [ebp - 0x14], eax
mov al, byte [ebp + 0x21c]
mov byte [ebp - 0xd], al
mov eax, dword [ebp + 0x220]
push 0
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x70]
push 0x3c
push eax
call fcn.004084b0
mov ecx, dword [esi]
sub ecx, 0x10
mov dword [ebp - 0x70], 0x3c
mov dword [ebp - 0x6c], 0x440
call fcn.00402100
add eax, 0x10
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 1
mov ecx, dword [edi]
sub ecx, 0x10
call fcn.00402100
lea edi, [eax + 0x10]
mov dword [ebp - 0x20], edi
mov byte [ebp - 4], 3
add esp, 8
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
call fcn.00407d30
mov edx, eax
mov dword [ebp - 0x1c], edx
mov byte [ebp - 4], 4
mov eax, dword [edx]
mov esi, dword [eax - 0xc]
test esi, esi
js 0x4079fa
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, esi
or ecx, eax
jge 0x4076ba
push esi
mov ecx, edx
call fcn.00402750
mov edx, dword [ebp - 0x1c]
lea eax, [esi + 1]
push eax
push dword [edx]
call fcn.00431689
mov ecx, dword [ebp - 0x1c]
add esp, 8
mov eax, dword [ecx]
cmp esi, dword [eax - 8]
jg 0x4079fa
mov dword [eax - 0xc], esi
xor edx, edx
mov eax, dword [ecx]
mov word [eax + esi*2], dx
mov ecx, dword [ecx]
sub ecx, 0x10
call fcn.00402100
lea esi, [eax + 0x10]
mov dword [ebp - 0x1c], esi
mov byte [ebp - 4], 7
or eax, 0xffffffff
mov edx, dword [ebp - 0x30]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x407710
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0xd], 0
je 0x4077c5
mov ecx, str..bat
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x407747
test dx, dx
je 0x407743
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x407747
add eax, 4
add ecx, 4
test dx, dx
jne 0x407721
xor eax, eax
jmp 0x40774c
sbb eax, eax
or eax, 1
test eax, eax
je 0x407786
mov ecx, str..cmd
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40777d
test dx, dx
je 0x407779
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40777d
add eax, 4
add ecx, 4
test dx, dx
jne 0x407757
xor eax, eax
jmp 0x407782
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4077c5
push 0x104
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [ebp]
push eax
lea eax, [ebp - 0x18]
push str._sSystem32cmd.exe
push eax
call fcn.00401980
mov eax, dword [ebp - 0x34]
push dword [eax]
mov eax, dword [ebp - 0x28]
push dword [eax]
lea eax, [ebp - 0x20]
push str._C____s___s_
push eax
call fcn.00401980
mov edi, dword [ebp - 0x20]
add esp, 0x1c
mov eax, dword [ebp - 0x18]
mov ecx, str.open
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x218]
neg eax
sbb eax, eax
and eax, 5
cmp byte [ebp - 0xd], 0
mov dword [ebp - 0x54], eax
mov eax, str.runas
cmove eax, ecx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x58]
mov ecx, dword [ecx]
cmp dword [ecx - 0xc], 0
cmovne eax, ecx
mov dword [ebp - 0x58], eax
cmp dword [edi - 0xc], 0
mov eax, dword [ebp - 0x5c]
cmovne eax, edi
cmp byte [ebp - 0xd], 0
mov dword [ebp - 0x5c], eax
je 0x40781d
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov dword [ebp - 0x68], eax
test ebx, ebx
je 0x40782d
mov edx, ebx
lea ecx, [ebp - 0x70]
call fcn.00407a70
mov ebx, eax
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov dword [ebp - 0x14], eax
test ebx, ebx
je 0x40784c
mov edx, ebx
mov ecx, eax
call fcn.00407bb0
mov ebx, eax
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x407882
mov eax, dword [ebp - 0x50]
cmp eax, 0x1f
je 0x40785d
cmp eax, 0x1b
jne 0x407882
and dword [ebp - 0x6c], 0xfffffbff
lea eax, [ebp - 0x70]
push eax
mov dword [ebp - 0x64], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test ebx, ebx
je 0x407882
mov edx, ebx
mov ecx, eax
call fcn.00407bb0
lea eax, [ebp - 0x70]
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x14]
push dword [ebp - 0x14]
lea ecx, [ebp - 0x7c]
call fcn.00407e70
add esp, 4
mov byte [ebp - 4], 9
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40794a
push str.GetProcessId
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push ebx
call eax
push eax
call dword [sym.imp.USER32.dll_AllowSetForegroundWindow]
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40794a
cmp dword [ebp + 0x218], 2
jne 0x40794a
push str.GetProcessId
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x407947
push ebx
call eax
mov dword [ebp - 0x14], eax
xor ebx, ebx
nop dword [eax]
cmp ebx, 0x14
jge 0x407947
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
push 0x407a10
mov dword [ebp - 0x28], 0
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [ebp - 0x28]
inc ebx
test eax, eax
je 0x407900
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 - 0x38]
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x407971
mov dword [eax], 0xffffffff
test ebx, ebx
je 0x407971
push 0xffffffffffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x24]
push eax
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x7c]
call fcn.00407cb0
mov byte [ebp - 4], 3
or ebx, 0xffffffff
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x40799b
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x4079b6
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x4079d5
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 + 0x208]
xor ecx, ebp
call fcn.0042817f
lea esp, [ebp + 0x20c]
pop ebp
ret
push 0x80070057
call fcn.00401910
int3