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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
mov eax, dword [0x4d5630]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x90]
push ebx
push esi
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x38], 0
call fcn.00458730
mov ecx, dword [edi + 4]
xor esi, esi
mov bl, byte [edi + 8]
test ecx, ecx
je 0x445960
mov eax, dword [ecx]
cmp eax, dword [ecx + 4]
jne 0x445a5e
xor bl, bl
cmp byte [edi + 0x10], 0
mov eax, 0x4c7e30
mov dword [ebp - 0x64], 1
cmove eax, dword [ebp - 0x88]
xor ecx, ecx
cmp byte [edi + 1], cl
mov dword [ebp - 0x88], eax
mov eax, 5
cmovne eax, ecx
mov word [ebp - 0x60], ax
mov eax, dword [edi + 0x18]
test eax, eax
jne 0x44599f
cmp dword [edi + 0x1c], ecx
jne 0x44599f
cmp dword [edi + 0x20], ecx
je 0x4459b5
mov dword [ebp - 0x58], eax
mov eax, dword [edi + 0x1c]
mov dword [ebp - 0x54], eax
mov eax, dword [edi + 0x20]
mov dword [ebp - 0x64], 0x101
mov dword [ebp - 0x50], eax
cmp dword [edi + 0x14], ecx
je 0x4459c0
or esi, 0x1000004
cmp byte [edi + 0x24], cl
je 0x4459cb
or esi, 0x1000000
xor eax, eax
mov dword [ebp - 0xc], ecx
push 0xffffffffffffffff
push eax
push dword [ebp - 0x20]
xorps xmm0, xmm0
mov dword [ebp - 8], 7
lea ecx, [ebp - 0x1c]
mov word [ebp - 0x1c], ax
movdqu xmmword [ebp - 0x48], xmm0
call fcn.00404911
mov eax, dword [edi + 0xc]
test eax, eax
je 0x445ac7
push 0
push eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0
push eax
or esi, 0x400
call sub.USERENV.dll_CreateEnvironmentBlock
test eax, eax
je 0x445af7
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x90]
push eax
push 0
push dword [ebp - 0x20]
movzx eax, bl
lea ecx, [ebp - 0x1c]
cmovae ecx, dword [ebp - 0x1c]
push esi
push eax
push 0
push 0
push ecx
push 0
push dword [edi + 0xc]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
push dword [ebp - 0x20]
mov esi, eax
call sub.USERENV.dll_DestroyEnvironmentBlock
test esi, esi
jmp 0x445af5
call fcn.0044d690
cmp eax, 3
jl 0x445ac0
mov eax, dword [edi + 4]
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
sar ecx, 2
cmp ecx, 0x3fffffff
ja 0x445ac0
push 1
lea ecx, [ebp - 0x90]
call fcn.004587e0
test al, al
je 0x445ac0
mov ecx, dword [edi + 4]
mov eax, dword [ecx + 4]
sub eax, dword [ecx]
and eax, 0xfffffffc
push eax
push 0
call fcn.00445cc0
push eax
push 0x20002
lea ecx, [ebp - 0x90]
call fcn.00458860
test al, al
je 0x445ac0
mov bl, 1
mov esi, 0x80000
jmp 0x445960
xor bl, bl
jmp 0x445b8e
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x90]
push eax
push 0
push 0
push esi
movzx eax, bl
lea ecx, [ebp - 0x1c]
cmovae ecx, dword [ebp - 0x1c]
push eax
push 0
push 0
push ecx
push 0
call dword [sym.imp.KERNEL32.DLL_CreateProcessW]
test eax, eax
jne 0x445afb
xor bl, bl
jmp 0x445b69
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x34]
call fcn.004584e0
mov eax, dword [edi + 0x14]
test eax, eax
je 0x445b38
push dword [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.DLL_AssignProcessToJobObject]
test eax, eax
jne 0x445b2f
push 1
push 1
push dword [ebp - 0x34]
call fcn.004584a0
add esp, 0xc
xor bl, bl
jmp 0x445b61
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.DLL_ResumeThread]
cmp byte [edi], 0
je 0x445b48
push 0xffffffffffffffff
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
mov esi, dword [ebp - 0x24]
test esi, esi
je 0x445b5f
lea ecx, [ebp - 0x34]
call fcn.004586f0
push eax
mov ecx, esi
call fcn.0041297a
mov bl, 1
lea ecx, [ebp - 0x34]
call fcn.00458510
cmp dword [ebp - 8], 8
jb 0x445b7a
push dword [ebp - 0x1c]
call fcn.004835e0
add esp, 4
xor eax, eax
mov dword [ebp - 8], 7
mov dword [ebp - 0xc], 0
mov word [ebp - 0x1c], ax
lea ecx, [ebp - 0x90]
call fcn.004587c0
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00486d53
mov esp, ebp
pop ebp
ret