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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x4b4810]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov dword [ebp - 0x28], ecx
lea ecx, [ebp - 0x94]
push edi
mov edi, edx
mov dword [ebp - 0x3c], 0
call fcn.00435330
mov cl, byte [edi + 8]
xor esi, esi
mov byte [ebp - 0x21], cl
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x42581e
mov eax, dword [ecx]
cmp eax, dword [ecx + 4]
jne 0x42591f
mov byte [ebp - 0x21], 0
cmp byte [edi + 0x10], 0
mov eax, 0x412f24
mov dword [ebp - 0x68], 1
cmove eax, dword [ebp - 0x8c]
xor ecx, ecx
cmp byte [edi + 1], cl
mov dword [ebp - 0x8c], eax
mov eax, 5
cmovne eax, ecx
mov word [ebp - 0x64], ax
mov eax, dword [edi + 0x18]
test eax, eax
jne 0x42585d
cmp dword [edi + 0x1c], ecx
jne 0x42585d
cmp dword [edi + 0x20], ecx
je 0x425873
mov dword [ebp - 0x5c], eax
mov eax, dword [edi + 0x1c]
mov dword [ebp - 0x58], eax
mov eax, dword [edi + 0x20]
mov dword [ebp - 0x68], 0x101
mov dword [ebp - 0x54], eax
cmp dword [edi + 0x14], ecx
je 0x42587e
or esi, 0x1000004
cmp byte [edi + 0x24], cl
je 0x425889
or esi, 0x1000000
xor eax, eax
mov dword [ebp - 0x10], ecx
push 0xffffffffffffffff
push eax
push dword [ebp - 0x28]
xorps xmm0, xmm0
mov dword [ebp - 0xc], 7
lea ecx, [ebp - 0x20]
mov word [ebp - 0x20], ax
movdqu xmmword [ebp - 0x4c], xmm0
call fcn.00419d40
mov eax, dword [edi + 0xc]
test eax, eax
je 0x4259ac
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
je 0x4259dd
cmp dword [ebp - 0xc], 8
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x94]
push eax
movzx eax, byte [ebp - 0x21]
lea ecx, [ebp - 0x20]
cmovae ecx, dword [ebp - 0x20]
push 0
push dword [ebp - 0x28]
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 - 0x28]
mov esi, eax
call dword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
test esi, esi
jmp 0x4259db
call fcn.00427920
cmp eax, 3
jl 0x4259a2
mov eax, dword [edi + 4]
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
sar ecx, 2
cmp ecx, 0x3fffffff
ja 0x4259a2
push ecx
lea ecx, [ebp - 0x94]
call fcn.00435400
test al, al
je 0x4259a2
mov eax, dword [edi + 4]
mov edx, dword [eax + 4]
sub edx, dword [eax]
mov esi, dword [eax]
mov eax, dword [eax + 4]
sub eax, esi
sar edx, 2
sar eax, 2
test eax, eax
je 0x425b08
mov ecx, dword [ebp - 0x50]
test ecx, ecx
je 0x4259a5
push 0
push 0
lea eax, [edx*4]
push eax
push esi
push 0x20002
push 0
push ecx
call dword [0x4bb240]
test eax, eax
setne al
test al, al
je 0x4259a2
mov byte [ebp - 0x21], 1
mov esi, 0x80000
jmp 0x42581e
mov ecx, dword [ebp - 0x50]
xor bl, bl
jmp 0x425adf
cmp dword [ebp - 0xc], 8
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x94]
push eax
movzx eax, byte [ebp - 0x21]
lea ecx, [ebp - 0x20]
cmovae ecx, dword [ebp - 0x20]
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
jne 0x4259e4
xor bl, bl
jmp 0x425ab7
lea eax, [ebp - 0x4c]
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.00435290
mov eax, dword [edi + 0x14]
test eax, eax
je 0x425a3e
push dword [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
jne 0x425a35
mov ecx, dword [ebp - 0x38]
lea edx, [eax + 1]
push 1
call fcn.00428910
add esp, 4
xor bl, bl
jmp 0x425aaf
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp byte [edi], 0
je 0x425a4e
push 0xffffffffffffffff
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test ebx, ebx
je 0x425aad
mov esi, dword [ebp - 0x38]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x38], 0
test esi, esi
je 0x425a83
cmp esi, 0xffffffff
je 0x425a83
call fcn.004261b0
push eax
mov eax, dword [ebp + 4]
push eax
lea eax, [ebp - 0x38]
push eax
push esi
call fcn.004263d0
add esp, 0x10
cmp dword [ebx], esi
je 0x425aad
mov ecx, ebx
call fcn.004242a0
test esi, esi
je 0x425aad
cmp esi, 0xffffffff
je 0x425aad
mov dword [ebx], esi
call fcn.004261b0
push eax
mov eax, dword [ebp + 4]
push eax
push ebx
push esi
call fcn.00426300
add esp, 0x10
mov bl, 1
lea ecx, [ebp - 0x38]
call fcn.00435100
cmp dword [ebp - 0xc], 8
jb 0x425ac8
push dword [ebp - 0x20]
call fcn.0048f211
add esp, 4
mov ecx, dword [ebp - 0x50]
xor eax, eax
mov dword [ebp - 0xc], 7
mov dword [ebp - 0x10], 0
mov word [ebp - 0x20], ax
test ecx, ecx
je 0x425af5
push ecx
call dword [0x4bb248]
push dword [ebp - 0x50]
call fcn.004903b0
add esp, 4
mov ecx, dword [ebp - 8]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00492f61
mov esp, ebp
pop ebp
ret
push 0x412f94
call fcn.004b0280
int3