Function at 0x424df4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
xor ebx, ebx
mov dword [ebp - 0x114], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4252ca
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x16], 0
mov byte [ebp - 0x17], 0
mov byte [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x24], eax
xor eax, eax
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0xb4]
xor ecx, ecx
mov edx, 0x44
call fcn.004046d0
mov dword [ebp - 0xb4], 0x44
mov eax, dword [ebp + 8]
mov dword [ebp - 0xa8], eax
xor eax, eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], 1
mov dword [ebp - 0x9c], 0x64
mov dword [ebp - 0x98], 0x64
xor eax, eax
mov dword [ebp - 0x88], eax
mov word [ebp - 0x84], 1
call sub.user32.dll_GetProcessWindowStation
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x30]
push eax
push 0
push 0
push 2
mov eax, dword [ebp - 0x28]
push eax
call sub.user32.dll_GetUserObjectInformationW
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
call sub.user32.dll_GetThreadDesktop
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x24]
push eax
push 0
push 0
push 2
mov eax, dword [ebp - 0x1c]
push eax
call sub.user32.dll_GetUserObjectInformationW
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x30]
add eax, 0x20
call fcn.00403f2c
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x24]
add edx, dword [ebp - 0x30]
add edx, 0x20
mov eax, dword [ebp - 0x20]
xor ecx, ecx
call fcn.004046d0
cmp dword [ebp - 0x20], 0
je 0x424f57
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x2c]
push eax
push 2
mov eax, dword [ebp - 0x28]
push eax
call sub.user32.dll_GetUserObjectInformationW
test eax, eax
je 0x424f57
cmp dword [ebp - 0x30], 0
jbe 0x424f33
mov eax, dword [ebp - 0x30]
shr eax, 1
dec eax
add eax, eax
add dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov word [eax], 0x5c
add dword [ebp - 0x2c], 2
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x2c]
push eax
push 2
mov eax, dword [ebp - 0x1c]
push eax
call sub.user32.dll_GetUserObjectInformationW
test eax, eax
je 0x424f57
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xac], eax
lea eax, [ebp - 0xc4]
push eax
lea eax, [ebp - 0xb4]
push eax
mov eax, dword [0x436d4c]
push eax
push 0
push 0
push 0xffffffffffffffff
push 0
push 0
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
call sub.kernel32.dll_CreateProcessW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x15], al
mov eax, dword [ebp - 0x20]
call fcn.00403f48
cmp byte [ebp - 0x15], 0
jne 0x4250a1
call sub.kernel32.dll_GetLastError_2
mov dword [ebp - 0x14], eax
mov eax, dword [0x436c7c]
mov edx, dword [ebp - 0x14]
mov dword [eax], edx
mov eax, dword [0x436a44]
cmp byte [eax], 0
je 0x425082
mov eax, dword [0x436c7c]
cmp dword [eax], 0xc1
jne 0x425082
lea eax, [ebp - 0x100]
xor ecx, ecx
mov edx, 0x3c
call fcn.004046d0
mov dword [ebp - 0x100], 0x3c
mov dword [ebp - 0xfc], 0x8140
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0xec], eax
mov eax, dword [0x436d4c]
mov dword [ebp - 0xe8], eax
movzx eax, word [ebp - 0x84]
mov dword [ebp - 0xe4], eax
lea eax, [ebp - 0x100]
push eax
call sub.shell32.dll_ShellExecuteExW
test eax, eax
jne 0x425075
cmp dword [ebp - 0xe0], 0
jne 0x425050
mov eax, dword [0x436c7c]
mov dword [eax], 8
jmp 0x425082
cmp dword [ebp - 0xe0], 0x20
jne 0x425066
mov eax, dword [0x436c7c]
mov dword [eax], 2
jmp 0x425082
mov eax, dword [0x436c7c]
mov edx, dword [ebp - 0xe0]
mov dword [eax], edx
jmp 0x425082
mov eax, dword [ebp - 0xc8]
mov dword [0x44f948], eax
jmp 0x4250b8
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 8]
call fcn.0041a014
mov eax, dword [ebp - 8]
call fcn.00425b2c
mov dword [ebp - 0x10], 1
jmp 0x4252b1
mov eax, dword [ebp - 0xc4]
mov dword [0x44f948], eax
mov eax, dword [ebp - 0xc0]
push eax
call sub.kernel32.dll_CloseHandle_1
test byte [0x44f948], 1
setne byte [ebp - 0x16]
test byte [0x44f948], 2
setne byte [ebp - 0x17]
mov eax, dword [0x436a44]
cmp byte [eax], 0
je 0x42511d
mov eax, dword [0x436a70]
cmp dword [eax], 0
jne 0x42511d
mov eax, dword [0x436b38]
cmp byte [eax], 0
jne 0x42511d
mov eax, dword [0x436968]
cmp byte [eax], 0
jne 0x42511d
cmp dword [ebp - 0xc], 0
jne 0x42511d
cmp byte [ebp - 0x17], 0
jne 0x425112
mov eax, dword [0x44f948]
call fcn.00427278
cmp ax, 2
jne 0x42511d
mov dword [ebp - 0xc], 4
mov byte [ebp - 0x18], 1
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [0x44f94c], 1
cmp dword [ebp - 0xc], 0
jne 0x4251ea
mov eax, dword [0x44f948]
call fcn.0042abe0
mov edx, dword [0x436c54]
mov dword [edx], eax
mov eax, dword [0x436c54]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x108], eax
mov byte [ebp - 0x104], 0
lea eax, [ebp - 0x108]
push eax
push 0
mov ecx, 0x4252dc
lea eax, [ebp - 0x58]
mov edx, 1
call fcn.0041a0ec
lea edx, [ebp - 0x58]
mov eax, 0x4252e8
call fcn.00421324
cmp dword [ebp - 0x14], 0x20
jl 0x4251d0
cmp dword [ebp - 0x14], 0x7e
jg 0x4251d0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x108], eax
mov byte [ebp - 0x104], 0
lea eax, [ebp - 0x108]
push eax
push 0
mov ecx, 0x4252fc
lea eax, [ebp - 0x70]
mov edx, 1
call fcn.0041a0ec
lea edx, [ebp - 0x70]
mov eax, 0x425308
call fcn.00421324
jmp 0x4251df
mov edx, 0x425328
mov eax, 0x425308
call fcn.00421324
cmp byte [ebp - 0x16], 0
je 0x4251ea
call fcn.00424d2c
cmp dword [ebp - 0xc], 4
jne 0x425266
cmp byte [ebp - 0x18], 0
jne 0x425251
push 0
mov eax, dword [0x44f948]
mov dword [ebp - 0x110], eax
mov byte [ebp - 0x10c], 0
lea edx, [ebp - 0x110]
mov eax, 0x42532c
xor ecx, ecx
call fcn.0042a5bc
mov dword [ebp - 0x108], eax
mov byte [ebp - 0x104], 0xa
lea eax, [ebp - 0x108]
push eax
lea edx, [ebp - 0x114]
mov eax, dword [0x436b04]
call fcn.00409578
mov eax, dword [ebp - 0x114]
mov edx, 1
pop ecx
call fcn.0042a3c8
mov eax, dword [ebp - 0xc4]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
mov dword [0x44f948], eax
jmp 0x4252ab
cmp dword [ebp - 0xc], 2
jne 0x4252ab
cmp dword [ebp + 0x14], 0
jne 0x425297
mov eax, dword [0x44f948]
call fcn.0042abe0
mov edx, dword [0x436c54]
mov dword [edx], eax
mov eax, dword [0x436c54]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [0x44f948], eax
jmp 0x4252ab
mov eax, dword [0x436990]
mov edx, dword [0x44f948]
mov dword [eax], edx
xor eax, eax
mov dword [0x44f948], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4252d1
lea eax, [ebp - 0x114]
call fcn.00406a1c
ret