Function at 0x4225c0
Capabilities:
Create process on windows
Resume thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe28
mov eax, dword [0x46f06c]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
mov edi, ecx
mov dword [ebp - 0x84], edx
lea ecx, [ebp - 0xdc]
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x78], ebx
call fcn.00426ca0
mov al, byte [esi + 0x24]
xor edx, edx
mov byte [ebp - 0x51], al
mov dword [ebp - 0x58], edx
cmp dword [0x4d88b0], edx
jne 0x42264c
push 0x64
call fcn.0043224d
add esp, 4
mov ecx, eax
call fcn.00420490
mov edx, eax
mov edi, 0x4d88b0
mov dword [ebp - 0x60], edx
mov ecx, edx
xor eax, eax
lock cmpxchg dword [edi], ecx
mov edi, dword [ebp - 0x5c]
test eax, eax
je 0x42264a
test edx, edx
je 0x42264a
mov ecx, edx
call fcn.00420890
push dword [ebp - 0x60]
call fcn.00432237
add esp, 4
xor edx, edx
mov eax, dword [0x4d88b0]
cmp dword [eax], 3
jl 0x42266b
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x42266b
mov eax, dword [ecx]
cmp eax, dword [ecx + 4]
jne 0x4227bd
mov byte [ebp - 0x51], bl
cmp byte [esi + 0x2c], 0
mov eax, 0x465b08
mov dword [ebp - 0xb0], 1
cmove eax, dword [ebp - 0xd4]
xor ecx, ecx
cmp byte [esi + 0x1c], cl
mov dword [ebp - 0xd4], eax
mov eax, 5
cmovne eax, ecx
mov word [ebp - 0xac], ax
cmp dword [esi + 0x34], ecx
jne 0x4226ae
cmp dword [esi + 0x38], ecx
jne 0x4226ae
cmp dword [esi + 0x3c], ecx
je 0x422724
test bl, 0x10
je 0x4226c1
lea ecx, [ebp - 0x2ec]
and ebx, 0xffffffef
call fcn.0041f690
test bl, 0x20
je 0x4226d4
lea ecx, [ebp - 0x39c]
and ebx, 0xffffffdf
call fcn.0041f690
test bl, 0x40
je 0x4226e7
lea ecx, [ebp - 0x44c]
and ebx, 0xffffffbf
call fcn.0041f690
test bl, bl
jns 0x4226fc
lea ecx, [ebp - 0x4fc]
and ebx, 0xffffff7f
call fcn.0041f690
mov eax, dword [esi + 0x34]
or dword [ebp - 0xb0], 0x100
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0xa4], eax
mov eax, dword [esi + 0x38]
mov dword [ebp - 0xa0], eax
mov eax, dword [esi + 0x3c]
mov dword [ebp - 0x9c], eax
cmp dword [esi + 0x30], 0
je 0x42278c
or edx, 4
cmp dword [0x4d88b0], 0
mov dword [ebp - 0x58], edx
jne 0x42277c
push 0x64
call fcn.0043224d
add esp, 4
mov ecx, eax
call fcn.00420490
mov edx, eax
mov edi, 0x4d88b0
mov dword [ebp - 0x78], edx
mov ecx, edx
xor eax, eax
lock cmpxchg dword [edi], ecx
mov edi, dword [ebp - 0x5c]
test eax, eax
je 0x422779
test edx, edx
je 0x422779
mov ecx, edx
call fcn.00420890
push dword [ebp - 0x78]
call fcn.00432237
add esp, 4
mov edx, dword [ebp - 0x58]
mov eax, dword [0x4d88b0]
cmp dword [eax], 5
jge 0x42278c
or edx, 0x1000000
mov eax, edx
xorps xmm0, xmm0
or eax, 0x1000000
cmp byte [esi + 0x40], 0
movups xmmword [ebp - 0x94], xmm0
cmove eax, edx
cmp dword [esi + 0x14], 0
mov dword [ebp - 0x58], eax
jne 0x422922
mov dword [ebp - 0x5c], 0
jmp 0x422933
mov eax, dword [ecx + 4]
sub eax, dword [ecx]
sar eax, 2
cmp eax, 0x3fffffff
jbe 0x4227da
push 0
mov ecx, edi
call fcn.00422030
jmp 0x422df5
mov esi, dword [ecx]
mov edi, dword [ecx + 4]
cmp esi, edi
je 0x422812
push 1
push 1
push dword [esi]
call dword [sym.imp.KERNEL32.dll_SetHandleInformation]
test eax, eax
jne 0x4227f8
mov byte [0], al
test bl, 2
je 0x42280b
lea ecx, [ebp - 0x18c]
and ebx, 0xfffffffd
call fcn.0041f690
add esi, 4
cmp esi, edi
jne 0x4227e3
push ecx
lea ecx, [ebp - 0xdc]
call fcn.00426d70
test al, al
jne 0x42289f
test bl, 4
je 0x422835
lea ecx, [ebp - 0x9d4]
and ebx, 0xfffffffb
call fcn.0041fea0
mov esi, dword [ebp - 0x5c]
lea ecx, [esi + 4]
push 0
mov byte [esi], 0
mov dword [ecx], 0
call fcn.0041d170
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
test eax, eax
jne 0x42285a
mov byte [0], al
test ebx, 0x4000
je 0x42286d
lea ecx, [ebp - 0x23c]
call fcn.0041f690
mov eax, dword [ebp - 0x98]
test eax, eax
je 0x42288c
push eax
call dword [0x4d684c]
push dword [ebp - 0x98]
call fcn.004324e8
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0043223c
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 0x74]
mov eax, dword [esi + 0x20]
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
mov edi, dword [eax]
mov eax, dword [eax + 4]
sub eax, edi
sar ecx, 2
sar eax, 2
test eax, eax
je 0x422e27
mov edx, dword [ebp - 0x98]
test edx, edx
je 0x422901
push 0
push 0
lea eax, [ecx*4]
push eax
push edi
push 0x20002
push 0
push edx
call dword [0x4d6844]
test eax, eax
setne al
test al, al
je 0x422901
mov edi, dword [ebp - 0x5c]
mov edx, 0x80000
mov byte [ebp - 0x51], 1
mov dword [ebp - 0x58], edx
jmp 0x42266b
test bl, 8
je 0x422911
lea ecx, [ebp - 0xa8c]
call fcn.0041fea0
mov esi, dword [ebp - 0x5c]
mov ecx, esi
push 0
call fcn.00422030
jmp 0x42286d
cmp dword [esi + 0x18], 8
lea eax, [esi + 4]
mov dword [ebp - 0x5c], eax
jb 0x422933
mov eax, dword [eax]
mov dword [ebp - 0x5c], eax
xor eax, eax
mov dword [ebp - 0xc], 7
push 0xffffffffffffffff
push eax
push dword [ebp - 0x84]
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x10], 0
mov word [ebp - 0x20], ax
call fcn.00401aff
mov eax, dword [esi + 0x28]
test eax, eax
je 0x422b2b
or dword [ebp - 0x58], 0x400
push 0
push eax
lea eax, [ebp - 0x60]
mov dword [ebp - 0x60], 0
push eax
call dword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
test eax, eax
jne 0x422a29
test ebx, 0x100
je 0x42299f
lea ecx, [ebp - 0xb44]
and ebx, 0xfffffeff
call fcn.0041fea0
lea ecx, [edi + 4]
mov byte [edi], 0
push 0
mov dword [ecx], 0
call fcn.0041d170
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
test eax, eax
jne 0x4229c1
mov byte [0], al
test ebx, 0x8000
je 0x4229d4
lea ecx, [ebp - 0x5ac]
call fcn.0041f690
mov eax, dword [ebp - 0xc]
cmp eax, 8
jb 0x422de5
mov ecx, dword [ebp - 0x20]
inc eax
cmp eax, 0x7fffffff
ja 0x422e31
add eax, eax
cmp eax, 0x1000
jb 0x422ddc
test cl, 0x1f
jne 0x422e36
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x422e3b
sub ecx, eax
cmp ecx, 4
jb 0x422e40
cmp ecx, 0x23
jbe 0x422dda
jmp 0x422e45
cmp dword [ebp - 0xc], 8
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0xdc]
push eax
push dword [ebp - 0x5c]
movzx eax, byte [ebp - 0x51]
lea ecx, [ebp - 0x20]
push dword [ebp - 0x60]
cmovae ecx, dword [ebp - 0x20]
push dword [ebp - 0x58]
push eax
push 0
push 0
push ecx
push 0
push dword [esi + 0x28]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
push dword [ebp - 0x60]
mov esi, eax
call dword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
test esi, esi
jne 0x422c1e
test ebx, 0x400
je 0x422a8c
lea ecx, [ebp - 0xbfc]
and ebx, 0xfffffbff
call fcn.0041fea0
test ebx, 0x200
je 0x422af2
mov eax, dword [ebp - 0x24]
and ebx, 0xfffffdff
cmp eax, 0x10
jb 0x422ae0
mov ecx, dword [ebp - 0x38]
inc eax
cmp eax, 0x1000
jb 0x422ad7
test cl, 0x1f
jne 0x422e4a
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x422e4f
sub ecx, eax
cmp ecx, 4
jb 0x422e54
cmp ecx, 0x23
ja 0x422e59
mov ecx, eax
push ecx
call fcn.00432237
add esp, 4
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], 0
mov byte [ebp - 0x38], 0
lea ecx, [edi + 4]
mov byte [edi], 0
push 0
mov dword [ecx], 0
call fcn.0041d170
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
test eax, eax
jne 0x422b14
mov byte [0], al
test ebx, 0x10000
je 0x4229d4
lea ecx, [ebp - 0x65c]
jmp 0x4229cf
cmp dword [ebp - 0xc], 8
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0xdc]
push eax
push dword [ebp - 0x5c]
movzx eax, byte [ebp - 0x51]
lea ecx, [ebp - 0x20]
cmovae ecx, dword [ebp - 0x20]
push 0
push dword [ebp - 0x58]
push eax
push 0
push 0
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x422c21
test ebx, 0x1000
je 0x422b7f
lea ecx, [ebp - 0xcb4]
and ebx, 0xffffefff
call fcn.0041fea0
test ebx, 0x800
je 0x422be5
mov eax, dword [ebp - 0x3c]
and ebx, 0xfffff7ff
cmp eax, 0x10
jb 0x422bd3
mov ecx, dword [ebp - 0x50]
inc eax
cmp eax, 0x1000
jb 0x422bca
test cl, 0x1f
jne 0x422e31
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x422e31
sub ecx, eax
cmp ecx, 4
jb 0x422e31
cmp ecx, 0x23
ja 0x422e31
mov ecx, eax
push ecx
call fcn.00432237
add esp, 4
mov dword [ebp - 0x3c], 0xf
mov dword [ebp - 0x40], 0
mov byte [ebp - 0x50], 0
lea ecx, [edi + 4]
mov byte [edi], 0
push 0
mov dword [ecx], 0
call fcn.0041d170
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
test eax, eax
jne 0x422c07
mov byte [0], al
test ebx, 0x20000
je 0x4229d4
lea ecx, [ebp - 0x70c]
jmp 0x4229cf
mov esi, dword [ebp - 0x74]
push dword [ebp - 0x94]
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
call fcn.0041d170
push dword [ebp - 0x90]
lea ecx, [ebp - 0x6c]
call fcn.0041d170
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x64], eax
mov eax, dword [esi + 0x30]
test eax, eax
je 0x422d57
push dword [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
jne 0x422d4e
test ebx, 0x2000
je 0x422ca1
lea ecx, [ebp - 0x7bc]
and ebx, 0xffffdfff
call fcn.0041f690
lea ecx, [ebp - 0x70]
call fcn.00426e30
push eax
lea ecx, [ebp - 0x80]
call fcn.00422030
test ebx, 0x40000
je 0x422ccb
lea ecx, [ebp - 0x86c]
and ebx, 0xfffbffff
call fcn.0041f690
cmp byte [ebp - 0x80], 0
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
je 0x422cdb
call esi
jmp 0x422cde
mov eax, dword [ebp - 0x7c]
push 1
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
setne al
test al, al
je 0x422d1d
cmp byte [ebp - 0x80], 0
je 0x422cfa
call esi
jmp 0x422cfd
mov eax, dword [ebp - 0x7c]
push 0xea60
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x422d30
test ebx, 0x80000
je 0x422d30
lea ecx, [ebp - 0xd6c]
jmp 0x422d2b
test ebx, 0x100000
je 0x422d30
lea ecx, [ebp - 0xe24]
call fcn.0041fea0
push 0
mov ecx, edi
call fcn.00422030
lea ecx, [ebp - 0x7c]
call fcn.0041d100
lea ecx, [ebp - 0x70]
call fcn.00426df0
jmp 0x4229d4
push dword [ebp - 0x6c]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp byte [esi], 0
je 0x422d67
push 0xffffffffffffffff
push dword [ebp - 0x70]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea ecx, [ebp - 0x70]
call fcn.00426e30
mov esi, eax
mov byte [edi], 0
lea ecx, [edi + 4]
mov dword [ecx], 0
push esi
call fcn.0041d170
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp esi, eax
jne 0x422d94
mov byte [0], 0
test ebx, 0x200000
je 0x422da7
lea ecx, [ebp - 0x91c]
call fcn.0041f690
lea ecx, [ebp - 0x70]
call fcn.0041d100
lea ecx, [ebp - 0x6c]
call fcn.0041d100
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
call fcn.0041d100
lea ecx, [ebp - 0x70]
call fcn.0041d100
jmp 0x4229d4
mov ecx, eax
push ecx
call fcn.00432237
add esp, 4
xor eax, eax
mov dword [ebp - 0xc], 7
mov dword [ebp - 0x10], eax
mov word [ebp - 0x20], ax
mov eax, dword [ebp - 0x98]
test eax, eax
je 0x422e14
push eax
call dword [0x4d684c]
push dword [ebp - 0x98]
call fcn.004324e8
add esp, 4
mov ecx, dword [ebp - 8]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043223c
mov esp, ebp
pop ebp
ret
push str.invalid_vector_T__subscript
call fcn.00430c6c
call fcn.004377c0
call fcn.004377c0
call fcn.004377c0
call fcn.004377c0
call fcn.004377c0
call fcn.004377c0
call fcn.004377c0
call fcn.004377c0
call fcn.004377c0
int3