Function at 0x454170
Capabilities:
Create process on windows
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x4b13a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x88]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x24], 0
call fcn.00460480
mov dl, byte [ebx + 8]
xor esi, esi
mov ecx, dword [ebx + 4]
mov byte [ebp - 0x1d], dl
test ecx, ecx
je 0x454242
mov eax, dword [ecx]
cmp eax, dword [ecx + 4]
jne 0x4541c4
mov byte [ebp - 0x1d], 0
jmp 0x454242
call fcn.0044c3b0
cmp eax, 3
jge 0x4541ed
push 0
lea ecx, [ebp - 0x28]
call fcn.00453df0
push eax
mov ecx, edi
call fcn.00453e80
lea ecx, [ebp - 0x28]
call fcn.00453f30
jmp 0x45446b
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
sar ecx, 2
cmp ecx, 0x3fffffff
ja 0x4541ce
push 1
lea ecx, [ebp - 0x88]
call fcn.00460530
test al, al
je 0x4541ce
mov ecx, dword [ebx + 4]
mov eax, dword [ecx + 4]
sub eax, dword [ecx]
and eax, 0xfffffffc
push eax
push 0
call fcn.00454500
push eax
push 0x20002
lea ecx, [ebp - 0x88]
call fcn.004605b0
test al, al
je 0x4541ce
mov byte [ebp - 0x1d], 1
mov esi, 0x80000
cmp byte [ebx + 0x10], 0
mov eax, 0x49be20
mov dword [ebp - 0x5c], 1
cmove eax, dword [ebp - 0x80]
xor ecx, ecx
cmp byte [ebx + 1], cl
mov dword [ebp - 0x80], eax
mov eax, 5
cmovne eax, ecx
mov word [ebp - 0x58], ax
mov eax, dword [ebx + 0x18]
test eax, eax
jne 0x45427b
cmp dword [ebx + 0x1c], ecx
jne 0x45427b
cmp dword [ebx + 0x20], ecx
je 0x454291
mov dword [ebp - 0x50], eax
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebx + 0x20]
mov dword [ebp - 0x5c], 0x101
mov dword [ebp - 0x48], eax
cmp dword [ebx + 0x14], ecx
je 0x45429c
or esi, 0x1000004
cmp byte [ebx + 0x24], cl
je 0x4542a7
or esi, 0x1000000
xor eax, eax
mov dword [ebp - 0xc], ecx
push 0xffffffffffffffff
push eax
push dword [ebp - 0x2c]
xorps xmm0, xmm0
mov dword [ebp - 8], 7
lea ecx, [ebp - 0x1c]
mov word [ebp - 0x1c], ax
movdqu xmmword [ebp - 0x98], xmm0
call fcn.0040ada0
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x45435b
push 0
push eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
push eax
or esi, 0x400
call sub.USERENV.dll_CreateEnvironmentBlock
test eax, eax
jne 0x454317
push 0
lea ecx, [ebp - 0x28]
call fcn.00453df0
push eax
mov ecx, edi
call fcn.00453e80
lea ecx, [ebp - 0x28]
call fcn.00453f30
jmp 0x45444a
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x88]
push eax
movzx eax, byte [ebp - 0x1d]
lea ecx, [ebp - 0x1c]
cmovae ecx, dword [ebp - 0x1c]
push 0
push dword [ebp - 0x2c]
push esi
push eax
push 0
push 0
push ecx
push 0
push dword [ebx + 0xc]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
push dword [ebp - 0x2c]
mov esi, eax
call sub.USERENV.dll_DestroyEnvironmentBlock
test esi, esi
jne 0x454393
jmp 0x4542f8
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x88]
push eax
movzx eax, byte [ebp - 0x1d]
lea ecx, [ebp - 0x1c]
cmovae ecx, dword [ebp - 0x1c]
push 0
push 0
push esi
push eax
push 0
push 0
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x4542f8
lea eax, [ebp - 0x98]
push eax
lea ecx, [ebp - 0x40]
call fcn.00460230
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x454411
push dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
jne 0x454408
lea ecx, [ebp - 0x40]
call fcn.00460440
push eax
lea ecx, [ebp - 0x28]
call fcn.00453df0
push 1
push 1
lea ecx, [ebp - 0x28]
call fcn.00453ff0
push 0
lea ecx, [ebp - 0x30]
call fcn.00453df0
push eax
mov ecx, edi
call fcn.00453e80
lea ecx, [ebp - 0x30]
call fcn.00453f30
lea ecx, [ebp - 0x28]
call fcn.00453f30
lea ecx, [ebp - 0x40]
call fcn.00460260
lea ecx, [ebp - 0x1c]
call fcn.00407ff0
jmp 0x45446b
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp byte [ebx], 0
je 0x454421
push 0xffffffffffffffff
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea ecx, [ebp - 0x40]
call fcn.00460440
push eax
lea ecx, [ebp - 0x28]
call fcn.00453df0
push eax
mov ecx, edi
call fcn.00453e80
lea ecx, [ebp - 0x28]
call fcn.00453f30
lea ecx, [ebp - 0x40]
call fcn.00460260
cmp dword [ebp - 8], 8
jb 0x45445b
push dword [ebp - 0x1c]
call fcn.0047bc0a
add esp, 4
xor eax, eax
mov dword [ebp - 8], 7
mov word [ebp - 0x1c], ax
mov dword [ebp - 0xc], eax
lea ecx, [ebp - 0x88]
call fcn.00460510
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047cd41
mov esp, ebp
pop ebp
ret