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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x5521f4]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x40], edx
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0x28], 0
call fcn.00435340
mov dl, byte [ebx + 0x24]
xor esi, esi
mov ecx, dword [ebx + 0x20]
mov byte [ebp - 0x21], dl
test ecx, ecx
je 0x42e7ff
mov eax, dword [ecx]
cmp eax, dword [ecx + 4]
jne 0x42e753
mov byte [ebp - 0x21], 0
jmp 0x42e7ff
call fcn.004352f0
cmp eax, 3
jge 0x42e76b
push 0
mov ecx, edi
call fcn.0042e500
jmp 0x42ea4c
mov eax, dword [ebx + 0x20]
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
sar ecx, 2
cmp ecx, 0x3fffffff
jbe 0x42e78c
push 0
mov ecx, edi
call fcn.0042e500
jmp 0x42ea4c
push ecx
lea ecx, [ebp - 0x8c]
call fcn.00435410
test al, al
jne 0x42e7aa
push 0
mov ecx, edi
call fcn.0042e500
jmp 0x42ea4c
mov eax, dword [ebx + 0x20]
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
mov esi, dword [eax]
mov eax, dword [eax + 4]
sub eax, esi
sar ecx, 2
sar eax, 2
test eax, eax
je 0x42ea78
mov edx, dword [ebp - 0x48]
test edx, edx
je 0x42e75d
push 0
push 0
lea eax, [ecx*4]
push eax
push esi
push 0x20002
push 0
push edx
call dword [0x568474]
test eax, eax
setne al
test al, al
je 0x42e75d
mov byte [ebp - 0x21], 1
mov esi, 0x80000
cmp byte [ebx + 0x2c], 0
mov eax, 0x544f80
mov dword [ebp - 0x60], 1
cmove eax, dword [ebp - 0x84]
xor ecx, ecx
cmp byte [ebx + 0x1c], cl
mov dword [ebp - 0x84], eax
mov eax, 5
cmovne eax, ecx
mov word [ebp - 0x5c], ax
mov eax, dword [ebx + 0x34]
test eax, eax
jne 0x42e83e
cmp dword [ebx + 0x38], ecx
jne 0x42e83e
cmp dword [ebx + 0x3c], ecx
je 0x42e854
mov dword [ebp - 0x54], eax
mov eax, dword [ebx + 0x38]
mov dword [ebp - 0x50], eax
mov eax, dword [ebx + 0x3c]
mov dword [ebp - 0x60], 0x101
mov dword [ebp - 0x4c], eax
cmp dword [ebx + 0x30], ecx
je 0x42e86c
or esi, 4
call fcn.004352f0
cmp eax, 5
jge 0x42e86c
or esi, 0x1000000
mov eax, esi
xorps xmm0, xmm0
or eax, 0x1000000
cmp byte [ebx + 0x40], 0
movups xmmword [ebp - 0x9c], xmm0
cmove eax, esi
cmp dword [ebx + 0x14], 0
mov dword [ebp - 0x28], eax
jne 0x42e891
xor esi, esi
jmp 0x42e89f
cmp dword [ebx + 0x18], 8
lea esi, [ebx + 4]
mov dword [ebp - 0x3c], esi
jb 0x42e8a2
mov esi, dword [esi]
mov dword [ebp - 0x3c], esi
push dword [ebp - 0x40]
lea ecx, [ebp - 0x20]
call fcn.00408ea0
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x42e933
mov esi, dword [ebp - 0x28]
push 0
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0
push eax
or esi, 0x400
call dword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
test eax, eax
jne 0x42e8e2
push eax
mov ecx, edi
call fcn.0042e500
jmp 0x42ea44
cmp dword [ebp - 0xc], 8
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0x8c]
push eax
push dword [ebp - 0x3c]
movzx eax, byte [ebp - 0x21]
lea ecx, [ebp - 0x20]
push dword [ebp - 0x28]
cmovae ecx, dword [ebp - 0x20]
push esi
push eax
push 0
push 0
push ecx
push 0
push dword [ebx + 0x28]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
push dword [ebp - 0x28]
mov esi, eax
call dword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
test esi, esi
jne 0x42e976
push esi
mov ecx, edi
call fcn.0042e500
jmp 0x42ea44
cmp dword [ebp - 0xc], 8
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0x8c]
push eax
movzx eax, byte [ebp - 0x21]
lea ecx, [ebp - 0x20]
cmovae ecx, dword [ebp - 0x20]
push esi
mov esi, dword [ebp - 0x28]
push 0
push esi
push eax
push 0
push 0
push ecx
push 0
call dword [0x51cd50]
test eax, eax
jne 0x42e976
push eax
mov ecx, edi
call fcn.0042e500
jmp 0x42ea44
lea eax, [ebp - 0x9c]
mov dword [ebp - 0x38], 0
push eax
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
call fcn.004354d0
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x42e9f6
push dword [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
jne 0x42e9ed
lea ecx, [ebp - 0x38]
call fcn.00435540
push eax
lea ecx, [ebp - 0x44]
call fcn.0042e500
push 1
push ecx
lea ecx, [ebp - 0x44]
call fcn.0042e550
push 0
mov ecx, edi
call fcn.0042e500
lea ecx, [ebp - 0x40]
call fcn.00424d60
lea ecx, [ebp - 0x38]
call fcn.00435490
jmp 0x42ea44
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp byte [ebx], 0
je 0x42ea06
push 0xffffffffffffffff
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea ecx, [ebp - 0x38]
call fcn.00435540
push eax
mov ecx, edi
call fcn.0042e500
lea ecx, [ebp - 0x38]
call fcn.00424d60
lea ecx, [ebp - 0x34]
call fcn.00424d60
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
call fcn.00424d60
lea ecx, [ebp - 0x38]
call fcn.00424d60
lea ecx, [ebp - 0x20]
call fcn.00405820
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x42ea65
push eax
call dword [0x56849c]
push dword [ebp - 0x48]
call fcn.0049816f
add esp, 4
mov ecx, dword [ebp - 8]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00497eb9
mov esp, ebp
pop ebp
ret
push str.invalid_vector_T__subscript
call fcn.00495b78
int3