Function at 0x41cba0
Capabilities:
Create process on windows
Get number of processors
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x44e1f6
mov eax, dword fs:[0]
push eax
sub esp, 0x1dc
mov eax, dword [0x4612b0]
xor eax, esp
mov dword [esp + 0x1d8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4612b0]
xor eax, esp
push eax
lea eax, [esp + 0x1f0]
mov dword fs:[0], eax
mov eax, dword [esp + 0x200]
mov dword [esp + 0x18], eax
xor esi, esi
mov dword [esp + 0x1f8], esi
push 0x40
xor eax, eax
lea ecx, [esp + 0x74]
push esi
push ecx
mov dword [esp + 0x2c], 0x80004005
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x78], esi
call fcn.00440440
xor edx, edx
add esp, 0xc
mov dword [esp + 0x98], 1
mov word [esp + 0x9c], dx
mov dword [esp + 0x1c], esi
call fcn.00439c27
cdq
mov ecx, 0x64
idiv ecx
mov esi, edx
inc esi
lea ebp, [esi + esi*4 + 0x15]
call fcn.00417bd0
sub eax, 1
jne 0x41cc5e
call fcn.00418200
call fcn.00431550
push 0x63
lea edx, [esp + 0x189]
push 0
push edx
mov byte [esp + 0x190], 0
call fcn.00440440
add esp, 0xc
push esi
lea eax, [esp + 0x54]
push eax
sub esp, 0x1c
mov esi, esp
mov dword [esi + 0x18], 0xf
lea edi, [esi + 4]
mov dword [esi + 0x14], 0
mov byte [edi], 0
mov eax, dword [esi + 0x18]
mov ebx, 0x10
mov dword [esp + 0x38], esp
cmp eax, ebx
jb 0x41ccad
mov ecx, dword [edi]
jmp 0x41ccaf
mov ecx, edi
cmp ecx, 0x456d20
ja 0x41cce8
cmp eax, ebx
jb 0x41ccbf
mov ecx, dword [edi]
jmp 0x41ccc1
mov ecx, edi
mov edx, dword [esi + 0x14]
add edx, ecx
cmp edx, 0x456d20
jbe 0x41cce8
cmp eax, ebx
jb 0x41ccd4
mov edi, dword [edi]
push 2
mov eax, 0x456d20
sub eax, edi
push eax
push esi
mov ecx, esi
call fcn.00402be0
jmp 0x41cd2a
cmp eax, 2
jae 0x41ccfa
mov ecx, dword [esi + 0x14]
push ecx
push 2
mov ecx, esi
call fcn.00403340
mov ecx, dword [esi + 0x18]
cmp ecx, ebx
jb 0x41cd05
mov eax, dword [edi]
jmp 0x41cd07
mov eax, edi
push 2
push 0x456d20
push ecx
push eax
call fcn.00439ca9
add esp, 0x10
mov dword [esi + 0x14], 2
cmp dword [esi + 0x18], ebx
jb 0x41cd26
mov edi, dword [edi]
mov byte [edi + 2], 0
lea esi, [esp + 0x134]
call fcn.004014e0
mov byte [esp + 0x200], 1
call fcn.004015b0
cmp dword [eax + 0x18], ebx
jb 0x41cd4d
mov eax, dword [eax + 4]
jmp 0x41cd50
add eax, 4
push eax
lea edx, [esp + 0x18c]
push 0x64
push edx
call fcn.0043b66e
add esp, 0x10
cmp dword [esp + 0x68], ebx
jb 0x41cd76
mov eax, dword [esp + 0x54]
push eax
call fcn.00439c49
add esp, 4
xor edi, edi
lea esi, [esp + 0x110]
mov dword [esp + 0x68], 0xf
mov dword [esp + 0x64], edi
mov byte [esp + 0x54], 0
mov byte [esp + 0x1f8], 0
call fcn.004037a0
lea ecx, [esp + 0x50]
push ecx
sub esp, 0x1c
mov esi, esp
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], 0xf
lea edi, [esi + 4]
mov byte [edi], 0
mov eax, dword [esi + 0x18]
mov dword [esp + 0x34], esp
cmp eax, ebx
jb 0x41cdc6
mov ecx, dword [edi]
jmp 0x41cdc8
mov ecx, edi
cmp ecx, 0x456d24
ja 0x41ce01
cmp eax, ebx
jb 0x41cdd8
mov ecx, dword [edi]
jmp 0x41cdda
mov ecx, edi
mov edx, dword [esi + 0x14]
add edx, ecx
cmp edx, 0x456d24
jbe 0x41ce01
cmp eax, ebx
jb 0x41cded
mov edi, dword [edi]
push 4
mov eax, 0x456d24
sub eax, edi
push eax
push esi
mov ecx, esi
call fcn.00402be0
jmp 0x41ce43
cmp eax, 4
jae 0x41ce13
mov ecx, dword [esi + 0x14]
push ecx
push 4
mov ecx, esi
call fcn.00403340
mov ecx, dword [esi + 0x18]
cmp ecx, ebx
jb 0x41ce1e
mov eax, dword [edi]
jmp 0x41ce20
mov eax, edi
push 4
push 0x456d24
push ecx
push eax
call fcn.00439ca9
add esp, 0x10
mov dword [esi + 0x14], 4
cmp dword [esi + 0x18], ebx
jb 0x41ce3f
mov edi, dword [edi]
mov byte [edi + 4], 0
lea esi, [esp + 0x130]
call fcn.004014e0
mov ecx, eax
mov byte [esp + 0x1fc], 2
call fcn.00401760
mov byte [esp + 0x1f8], 3
cmp dword [eax + 0x18], ebx
jb 0x41ce70
mov eax, dword [eax + 4]
jmp 0x41ce73
add eax, 4
lea edx, [esp + 0x204]
push edx
mov edi, eax
lea esi, [esp + 0x16c]
call fcn.004054c0
add esp, 4
cmp dword [esp + 0x68], ebx
jb 0x41ce9f
mov eax, dword [esp + 0x54]
push eax
call fcn.00439c49
add esp, 4
mov dword [esp + 0x68], 0xf
mov dword [esp + 0x64], 0
mov byte [esp + 0x54], 0
lea esi, [esp + 0x110]
mov byte [esp + 0x1f8], 6
call fcn.004037a0
lea eax, [esp + 0x184]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41ced2
sub eax, edx
push eax
lea ecx, [esp + 0x188]
push ecx
lea eax, [esp + 0x170]
call fcn.00405840
mov eax, dword [esp + 0x16c]
cmp dword [esp + 0x180], ebx
jae 0x41cf07
lea eax, [esp + 0x16c]
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x70]
push ecx
push 0
push 0
push 0x8000000
push 0
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x41d0bc
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebp
push eax
lea edx, [esp + 0x38]
push edx
sub esp, 0x1c
mov esi, esp
mov dword [esi + 0x18], 0xf
lea edi, [esi + 4]
mov dword [esi + 0x14], 0
mov byte [edi], 0
mov eax, dword [esi + 0x18]
mov dword [esp + 0x38], esp
cmp eax, ebx
jb 0x41cf67
mov ecx, dword [edi]
jmp 0x41cf69
mov ecx, edi
cmp ecx, 0x456d2c
ja 0x41cfa2
cmp eax, ebx
jb 0x41cf79
mov ecx, dword [edi]
jmp 0x41cf7b
mov ecx, edi
mov edx, dword [esi + 0x14]
add edx, ecx
cmp edx, 0x456d2c
jbe 0x41cfa2
cmp eax, ebx
jb 0x41cf8e
mov edi, dword [edi]
push 0x2d
mov eax, 0x456d2c
sub eax, edi
push eax
push esi
mov ecx, esi
call fcn.00402be0
jmp 0x41cfe4
cmp eax, 0x2d
jae 0x41cfb4
mov ecx, dword [esi + 0x14]
push ecx
push 0x2d
mov ecx, esi
call fcn.00403340
mov ecx, dword [esi + 0x18]
cmp ecx, ebx
jb 0x41cfbf
mov eax, dword [edi]
jmp 0x41cfc1
mov eax, edi
push 0x2d
push 0x456d2c
push ecx
push eax
call fcn.00439ca9
add esp, 0x10
mov dword [esi + 0x14], 0x2d
cmp dword [esi + 0x18], ebx
jb 0x41cfe0
mov edi, dword [edi]
mov byte [edi + 0x2d], 0
lea esi, [esp + 0xdc]
call fcn.004014e0
mov ecx, eax
mov byte [esp + 0x200], 7
call fcn.00401760
mov byte [esp + 0x1fc], 8
cmp dword [eax + 0x18], ebx
jb 0x41d011
mov eax, dword [eax + 4]
jmp 0x41d014
add eax, 4
mov edx, dword [esp + 0x1c]
push eax
push 1
push edx
call fcn.0041da70
add esp, 0x10
cmp dword [esp + 0x4c], ebx
jb 0x41d037
mov eax, dword [esp + 0x38]
push eax
call fcn.00439c49
add esp, 4
xor edi, edi
lea esi, [esp + 0xb8]
mov dword [esp + 0x4c], 0xf
mov dword [esp + 0x48], edi
mov byte [esp + 0x38], 0
call fcn.004037a0
push edi
call fcn.0043af41
add esp, 4
call ebp
mov esi, eax
sub esi, 0x7ff90000
cmp dword [esp + 0x180], ebx
jb 0x41d082
mov ecx, dword [esp + 0x16c]
push ecx
call fcn.00439c49
add esp, 4
mov dword [esp + 0x180], 0xf
mov dword [esp + 0x17c], edi
mov byte [esp + 0x16c], 0
cmp dword [esp + 0x21c], ebx
jb 0x41d0b5
mov edx, dword [esp + 0x208]
push edx
call fcn.00439c49
add esp, 4
mov eax, esi
jmp 0x41d3c1
mov eax, dword [esp + 0x24]
push 0x1388
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [esp + 0x1c], eax
cmp eax, 0x102
jne 0x41d216
lea ecx, [esp + 0x34]
push ecx
sub esp, 0x1c
mov esi, esp
xor ebp, ebp
mov dword [esi + 0x18], 0xf
lea edi, [esi + 4]
mov dword [esi + 0x14], ebp
mov byte [edi], 0
mov eax, dword [esi + 0x18]
mov dword [esp + 0x34], esp
cmp eax, ebx
jb 0x41d106
mov ecx, dword [edi]
jmp 0x41d108
mov ecx, edi
cmp ecx, 0x456d5c
ja 0x41d141
cmp eax, ebx
jb 0x41d118
mov ecx, dword [edi]
jmp 0x41d11a
mov ecx, edi
mov edx, dword [esi + 0x14]
add edx, ecx
cmp edx, 0x456d5c
jbe 0x41d141
cmp eax, ebx
jb 0x41d12d
mov edi, dword [edi]
push 0x20
mov eax, 0x456d5c
sub eax, edi
push eax
push esi
mov ecx, esi
call fcn.00402be0
jmp 0x41d183
cmp eax, 0x20
jae 0x41d153
mov ecx, dword [esi + 0x14]
push ecx
push 0x20
mov ecx, esi
call fcn.00403340
mov ecx, dword [esi + 0x18]
cmp ecx, ebx
jb 0x41d15e
mov eax, dword [edi]
jmp 0x41d160
mov eax, edi
push 0x20
push 0x456d5c
push ecx
push eax
call fcn.00439ca9
add esp, 0x10
mov dword [esi + 0x14], 0x20
cmp dword [esi + 0x18], ebx
jb 0x41d17f
mov edi, dword [edi]
mov byte [edi + 0x20], 0
lea esi, [esp + 0xd8]
call fcn.004014e0
mov byte [esp + 0x1fc], 0xb
call fcn.00401900
mov byte [esp + 0x1f8], 0xc
cmp dword [eax + 0x18], ebx
jb 0x41d1ae
mov eax, dword [eax + 4]
jmp 0x41d1b1
add eax, 4
mov edx, dword [esp + 0x18]
push eax
push 1
push edx
call fcn.0041da70
add esp, 0xc
cmp dword [esp + 0x4c], ebx
jb 0x41d1d4
mov eax, dword [esp + 0x38]
push eax
call fcn.00439c49
add esp, 4
lea esi, [esp + 0xb8]
mov dword [esp + 0x4c], 0xf
mov dword [esp + 0x48], ebp
mov byte [esp + 0x38], 0
call fcn.004037a0
call fcn.00430df0
sub eax, 1
jne 0x41d205
call fcn.0041a8a0
call fcn.00431550
mov ecx, dword [esp + 0x24]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x41d34f
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x1c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x41d34f
mov eax, dword [esp + 0x1c]
cmp eax, ebp
jne 0x41d243
mov dword [esp + 0x20], 0
jmp 0x41d34f
push eax
lea ecx, [esp + 0x38]
push ecx
sub esp, 0x1c
mov esi, esp
mov dword [esi + 0x18], 0xf
lea edi, [esi + 4]
mov dword [esi + 0x14], 0
mov byte [edi], 0
mov eax, dword [esi + 0x18]
mov dword [esp + 0x38], esp
cmp eax, ebx
jb 0x41d271
mov ecx, dword [edi]
jmp 0x41d273
mov ecx, edi
cmp ecx, 0x456d80
ja 0x41d2ac
cmp eax, ebx
jb 0x41d283
mov ecx, dword [edi]
jmp 0x41d285
mov ecx, edi
mov edx, dword [esi + 0x14]
add edx, ecx
cmp edx, 0x456d80
jbe 0x41d2ac
cmp eax, ebx
jb 0x41d298
mov edi, dword [edi]
push 0x1a
mov eax, 0x456d80
sub eax, edi
push eax
push esi
mov ecx, esi
call fcn.00402be0
jmp 0x41d2ee
cmp eax, 0x1a
jae 0x41d2be
mov ecx, dword [esi + 0x14]
push ecx
push 0x1a
mov ecx, esi
call fcn.00403340
mov ecx, dword [esi + 0x18]
cmp ecx, ebx
jb 0x41d2c9
mov eax, dword [edi]
jmp 0x41d2cb
mov eax, edi
push 0x1a
push 0x456d80
push ecx
push eax
call fcn.00439ca9
add esp, 0x10
mov dword [esi + 0x14], 0x1a
cmp dword [esi + 0x18], ebx
jb 0x41d2ea
mov edi, dword [edi]
mov byte [edi + 0x1a], 0
lea esi, [esp + 0xdc]
call fcn.004014e0
mov byte [esp + 0x200], 0xd
call fcn.004015b0
mov byte [esp + 0x1fc], 0xe
cmp dword [eax + 0x18], ebx
jb 0x41d319
mov eax, dword [eax + 4]
jmp 0x41d31c
add eax, 4
mov edx, dword [esp + 0x1c]
push eax
push 1
push edx
call fcn.0041da70
add esp, 0x10
lea ecx, [esp + 0x34]
call fcn.004029a0
lea esi, [esp + 0xb8]
call fcn.004037a0
call fcn.00417b30
test eax, eax
je 0x41d34f
call fcn.00431550
mov eax, dword [esp + 0x24]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
push 0
call fcn.0043af41
mov ecx, dword [esp + 0x2c]
add esp, 4
push ecx
call esi
cmp dword [esp + 0x180], ebx
jb 0x41d386
mov edx, dword [esp + 0x16c]
push edx
call fcn.00439c49
add esp, 4
mov dword [esp + 0x180], 0xf
mov dword [esp + 0x17c], 0
mov byte [esp + 0x16c], 0
cmp dword [esp + 0x21c], ebx
jb 0x41d3bd
mov eax, dword [esp + 0x208]
push eax
call fcn.00439c49
add esp, 4
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1f0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1d8]
xor ecx, esp
call fcn.00439641
add esp, 0x1e8
ret 0x20