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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
mov eax, dword [0x4ff1a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x60], eax
call fcn.0042b0e0
xor esi, esi
test al, al
je 0x480259
xor ecx, ecx
push esi
mov word [ebp - 0x9c], cx
mov edi, 7
push 0x4c42e8
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x8c], esi
call fcn.0040e680
push esi
xor edx, edx
push 0x4c42e8
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x70], esi
mov word [ebp - 0x80], dx
call fcn.0040e680
push 0x4e24b4
lea eax, [ebp - 0x58]
push ebx
push eax
call fcn.00410b20
mov ecx, dword [ebp - 0x60]
add esp, 0xc
push 0xffffffffffffffff
push esi
push ecx
mov ecx, eax
call fcn.00410cb0
xor edx, edx
push eax
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x2c], esi
mov word [ebp - 0x3c], dx
call fcn.00409ad0
push esi
push esi
push esi
push 0x3e8
push esi
push 1
push esi
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x80]
push ecx
lea edx, [ebp - 0x3c]
push edx
call fcn.004283b0
mov ebx, 8
add esp, 0x28
mov byte [ebp - 0x59], al
cmp dword [ebp - 0x28], ebx
jb 0x4801e6
mov eax, dword [ebp - 0x3c]
push eax
call fcn.00490458
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x2c], esi
mov word [ebp - 0x3c], cx
cmp dword [ebp - 0x44], ebx
jb 0x480203
mov edx, dword [ebp - 0x58]
push edx
call fcn.00490458
add esp, 4
xor eax, eax
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x48], esi
mov word [ebp - 0x58], ax
cmp dword [ebp - 0x6c], ebx
jb 0x480220
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.00490458
add esp, 4
xor edx, edx
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x70], esi
mov word [ebp - 0x80], dx
cmp dword [ebp - 0x88], ebx
jb 0x480243
mov eax, dword [ebp - 0x9c]
push eax
call fcn.00490458
add esp, 4
mov al, byte [ebp - 0x59]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004911d1
mov esp, ebp
pop ebp
ret 8
cmp dword [ebx + 0x10], esi
je 0x48026f
push ebx
call fcn.004225b0
add esp, 4
test al, al
je 0x480377
mov eax, dword [edi + 0x60]
cmp eax, esi
je 0x48028a
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov ecx, dword [edi + 0x60]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x60], esi
push 0xffffffffffffffff
push esi
xor edx, edx
push ebx
lea ecx, [ebp - 0x20]
mov dword [ebp - 0xc], 7
mov dword [ebp - 0x10], esi
mov word [ebp - 0x20], dx
call fcn.0040f1f0
mov ebx, 8
cmp dword [ebp - 0x10], esi
jne 0x4802d6
lea eax, [ebp - 0x58]
push eax
call fcn.00429dc0
add esp, 4
push eax
lea ecx, [ebp - 0x20]
call fcn.00409ad0
cmp dword [ebp - 0x44], ebx
jb 0x4802d6
mov ecx, dword [ebp - 0x58]
push ecx
call fcn.00490458
add esp, 4
push 0x38
lea edx, [ebp - 0xd4]
push esi
push edx
call fcn.004911e0
add esp, 0xc
mov dword [ebp - 0xd8], 0x3c
mov dword [ebp - 0xd4], 0x440
cmp dword [ebp - 0xc], ebx
jb 0x48030c
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xc8], eax
jmp 0x480315
lea ecx, [ebp - 0x20]
mov dword [ebp - 0xc8], ecx
call fcn.0042c7e0
mov dword [ebp - 0xcc], str.runas
test al, al
jne 0x480332
mov dword [ebp - 0xcc], str.open
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0xc0], esi
cmp dword [eax + 0x14], ebx
jb 0x48034a
mov edx, dword [eax]
mov dword [ebp - 0xc4], edx
jmp 0x480350
mov dword [ebp - 0xc4], eax
lea eax, [ebp - 0xd8]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x48038c
call fcn.0047fc70
cmp dword [ebp - 0xc], ebx
jb 0x480377
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.00490458
add esp, 4
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004911d1
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 0xa0]
lea edx, [ebp - 0x64]
push edx
push eax
mov dword [ebp - 0x64], esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [ebp - 0x64], 0x103
jne 0x4803c3
mov ecx, dword [ebp - 0xa0]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
mov dword [ebp - 0xa0], esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp dword [ebp - 0xc], ebx
jb 0x4803d4
mov edx, dword [ebp - 0x20]
push edx
call fcn.00490458
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.004911d1
mov esp, ebp
pop ebp
ret 8