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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x178
mov eax, dword [0x478050]
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 - 0x5c], edx
lea ecx, [ebp - 0xac]
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x40], ebx
call fcn.0041bd00
mov dl, byte [esi + 8]
mov ecx, dword [esi + 4]
mov byte [ebp - 0x39], dl
mov dword [ebp - 0x40], ebx
test ecx, ecx
je 0x410ce2
mov eax, dword [ecx]
cmp eax, dword [ecx + 4]
jne 0x410df4
mov byte [ebp - 0x39], bl
cmp byte [esi + 0x10], 0
mov eax, 0x471f78
mov dword [ebp - 0x80], 1
cmove eax, dword [ebp - 0xa4]
xor ecx, ecx
cmp byte [esi + 1], cl
mov dword [ebp - 0xa4], eax
mov eax, 5
cmovne eax, ecx
mov word [ebp - 0x7c], ax
cmp dword [esi + 0x18], ecx
jne 0x410d1f
cmp dword [esi + 0x1c], ecx
jne 0x410d1f
cmp dword [esi + 0x20], ecx
je 0x410d8c
test bl, 0x20
je 0x410d32
lea ecx, [ebp - 0x16c]
and ebx, 0xffffffdf
call fcn.00402420
test bl, 0x40
je 0x410d45
lea ecx, [ebp - 0x16c]
and ebx, 0xffffffbf
call fcn.00402420
test bl, bl
jns 0x410d5a
lea ecx, [ebp - 0x16c]
and ebx, 0xffffff7f
call fcn.00402420
test ebx, 0x100
je 0x410d73
lea ecx, [ebp - 0x16c]
and ebx, 0xfffffeff
call fcn.00402420
mov eax, dword [esi + 0x18]
or dword [ebp - 0x80], 0x100
mov dword [ebp - 0x74], eax
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x70], eax
mov eax, dword [esi + 0x20]
mov dword [ebp - 0x6c], eax
cmp dword [esi + 0x14], 0
je 0x410faa
or dword [ebp - 0x40], 4
cmp dword [0x47beb8], 0
jne 0x410dd6
push 0x4c
call fcn.0044783a
add esp, 4
mov ecx, eax
call fcn.0041ba00
mov edx, eax
mov edi, 0x47beb8
mov ecx, edx
xor eax, eax
lock cmpxchg dword [edi], ecx
mov edi, dword [ebp - 0x44]
test eax, eax
je 0x410dd6
test edx, edx
je 0x410dd6
push ecx
mov ecx, edx
call fcn.0041b9c0
mov eax, dword [0x47beb8]
cmp dword [eax], 5
mov eax, dword [ebp - 0x40]
jge 0x410fad
or eax, 0x1000000
mov dword [ebp - 0x40], eax
jmp 0x410fad
cmp dword [0x47beb8], ebx
jne 0x410e2f
push 0x4c
call fcn.0044783a
add esp, 4
mov ecx, eax
call fcn.0041ba00
mov edx, eax
mov edi, 0x47beb8
mov ecx, edx
xor eax, eax
lock cmpxchg dword [edi], ecx
mov edi, dword [ebp - 0x44]
test eax, eax
je 0x410e2f
test edx, edx
je 0x410e2f
push ecx
mov ecx, edx
call fcn.0041b9c0
mov eax, dword [0x47beb8]
cmp dword [eax], 3
jge 0x410e47
push 0
mov ecx, edi
call fcn.004109a0
jmp 0x411237
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 4]
sub eax, dword [ecx]
sar eax, 2
cmp eax, 0x3fffffff
jbe 0x410e67
push 0
mov ecx, edi
call fcn.004109a0
jmp 0x411237
mov esi, dword [ecx]
mov edi, dword [ecx + 4]
cmp esi, edi
je 0x410ea7
push 1
push 1
push dword [esi]
call dword [sym.imp.KERNEL32.dll_SetHandleInformation]
test eax, eax
jne 0x410e8d
cmp byte [0x47bce8], al
jne 0x411263
int3
test bl, 4
je 0x410ea0
lea ecx, [ebp - 0x16c]
and ebx, 0xfffffffb
call fcn.00402420
add esi, 4
cmp esi, edi
jne 0x410e70
push ecx
lea ecx, [ebp - 0xac]
call fcn.0041bdd0
test al, al
jne 0x410eff
test bl, 8
je 0x410ec7
lea ecx, [ebp - 0x174]
call fcn.00402b40
mov esi, dword [ebp - 0x44]
mov ecx, esi
push 0
call fcn.004109a0
mov eax, dword [ebp - 0x68]
test eax, eax
je 0x410eec
push eax
call dword [0x47bb80]
push dword [ebp - 0x68]
call fcn.0044787b
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00447880
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 0x58]
mov eax, dword [esi + 4]
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 0x41126a
mov edx, dword [ebp - 0x68]
test edx, edx
je 0x410f5e
push 0
push 0
lea eax, [ecx*4]
push eax
push edi
push 0x20002
push 0
push edx
call dword [0x47bb78]
test eax, eax
setne al
test al, al
je 0x410f5e
mov edi, dword [ebp - 0x44]
mov eax, 0x80000
mov byte [ebp - 0x39], 1
mov dword [ebp - 0x40], eax
jmp 0x410ce2
test bl, 0x10
je 0x410f6e
lea ecx, [ebp - 0x174]
call fcn.00402b40
mov esi, dword [ebp - 0x44]
mov ecx, esi
push 0
call fcn.004109a0
mov eax, dword [ebp - 0x68]
test eax, eax
je 0x410eec
push eax
call dword [0x47bb80]
push dword [ebp - 0x68]
call fcn.0044787b
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00447880
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x40]
cmp byte [esi + 0x24], 0
je 0x410fbb
or eax, 0x1000000
mov dword [ebp - 0x40], eax
xor eax, eax
mov dword [ebp - 0xc], 7
push 0xffffffffffffffff
push eax
push dword [ebp - 0x5c]
xorps xmm0, xmm0
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x20]
mov word [ebp - 0x20], ax
movups xmmword [ebp - 0xbc], xmm0
call fcn.004048d0
mov eax, dword [esi + 0xc]
test eax, eax
je 0x4110b3
or dword [ebp - 0x40], 0x400
push 0
push eax
lea eax, [ebp - 0x44]
mov dword [ebp - 0x44], 0
push eax
call dword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
test eax, eax
jne 0x411032
test ebx, 0x200
je 0x411024
lea ecx, [ebp - 0x174]
call fcn.00402b40
push 0
mov ecx, edi
call fcn.004109a0
jmp 0x411212
cmp dword [ebp - 0xc], 8
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0xac]
push eax
mov eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x20]
cmovae ecx, dword [ebp - 0x20]
push 0
push dword [ebp - 0x44]
push eax
movzx eax, byte [ebp - 0x39]
push eax
push 0
push 0
push ecx
push 0
push dword [esi + 0xc]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
push dword [ebp - 0x44]
mov esi, eax
call dword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
test esi, esi
jne 0x41112e
test ebx, 0x800
je 0x411095
lea ecx, [ebp - 0x174]
and ebx, 0xfffff7ff
call fcn.00402b40
test ebx, 0x400
je 0x4110a5
lea ecx, [ebp - 0x38]
call fcn.00402f10
push 0
mov ecx, edi
call fcn.004109a0
jmp 0x411212
cmp dword [ebp - 0xc], 8
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0xac]
push eax
mov eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x20]
cmovae ecx, dword [ebp - 0x20]
push 0
push 0
push eax
movzx eax, byte [ebp - 0x39]
push eax
push 0
push 0
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x411131
test ebx, 0x2000
je 0x411103
lea ecx, [ebp - 0x174]
and ebx, 0xffffdfff
call fcn.00402b40
test ebx, 0x1000
je 0x411120
mov eax, dword [ebp - 0x24]
cmp eax, 0x10
jb 0x411120
inc eax
lea ecx, [ebp - 0x38]
push eax
push dword [ebp - 0x38]
call fcn.00405260
push 0
mov ecx, edi
call fcn.004109a0
jmp 0x411212
mov esi, dword [ebp - 0x58]
lea eax, [ebp - 0xbc]
mov dword [ebp - 0x54], 0
push eax
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
call fcn.0041be90
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4111c4
push dword [ebp - 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
jne 0x4111bb
test ebx, 0x4000
je 0x411184
lea ecx, [ebp - 0x16c]
call fcn.00402420
lea ecx, [ebp - 0x54]
call fcn.0041bfb0
push eax
lea ecx, [ebp - 0x60]
call fcn.004109a0
push 1
push ecx
lea ecx, [ebp - 0x60]
call fcn.00410a50
push 0
mov ecx, edi
call fcn.004109a0
lea ecx, [ebp - 0x5c]
call fcn.0040e0b0
lea ecx, [ebp - 0x54]
call fcn.0041be50
jmp 0x411212
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp byte [esi], 0
je 0x4111d4
push 0xffffffffffffffff
push dword [ebp - 0x54]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea ecx, [ebp - 0x54]
call fcn.0041bfb0
push eax
mov ecx, edi
call fcn.004109a0
lea ecx, [ebp - 0x54]
call fcn.0040e0b0
lea ecx, [ebp - 0x50]
call fcn.0040e0b0
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
call fcn.0040e0b0
lea ecx, [ebp - 0x54]
call fcn.0040e0b0
mov eax, dword [ebp - 0xc]
cmp eax, 8
jb 0x411227
inc eax
lea ecx, [ebp - 0x20]
push eax
push dword [ebp - 0x20]
call fcn.00405f00
xor eax, eax
mov dword [ebp - 0xc], 7
mov dword [ebp - 0x10], eax
mov word [ebp - 0x20], ax
mov eax, dword [ebp - 0x68]
test eax, eax
je 0x411250
push eax
call dword [0x47bb80]
push dword [ebp - 0x68]
call fcn.0044787b
add esp, 4
mov ecx, dword [ebp - 8]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00447880
mov esp, ebp
pop ebp
ret
push 1
call fcn.00453ee2
push str.invalid_vector_T__subscript
call fcn.0044888f
int3