Function at 0x100033b0
Capabilities:
Get number of processors
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000c43d
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x10014040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0xc4], esi
push 1
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0
push 0x1000d9b8
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x24], 0
movups xmmword [ebp - 0x38], xmm0
call fcn.10004cc0
mov dword [ebp - 4], 0
mov edi, dword [esi + 4]
mov ecx, edi
cmp dword [edi + 0x14], 7
jbe 0x1000341d
mov ecx, dword [edi]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
mov edi, dword [edi + 0x10]
sub eax, edx
mov dword [ebp - 0xb8], edx
cmp edi, eax
ja 0x1000346a
cmp dword [ebp - 0x24], 7
lea eax, [edi + edx]
mov dword [ebp - 0x28], eax
lea esi, [ebp - 0x38]
cmova esi, dword [ebp - 0x38]
lea eax, [edi + edi]
push eax
push ecx
lea eax, [esi + edx*2]
push eax
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0xb8]
add esp, 0xc
add eax, edi
xor ecx, ecx
mov word [esi + eax*2], cx
mov esi, dword [ebp - 0xc4]
jmp 0x10003482
push edi
push ecx
mov byte [ebp - 0xb8], 0
lea ecx, [ebp - 0x38]
push dword [ebp - 0xb8]
push edi
call fcn.100046a0
mov ecx, dword [esi]
cmp dword [ecx + 0x14], 7
jbe 0x1000348c
mov ecx, dword [ecx]
mov dword [ebp - 0x1c], ecx
mov esi, 0xffdc
test ecx, ecx
je 0x100034ca
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100034a0
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
cmp eax, 0xffdc
cmova eax, esi
movzx eax, ax
mov word [ebp - 0x20], ax
add eax, 2
mov word [ebp - 0x1e], ax
jmp 0x100034cf
xor eax, eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x24], 7
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x3c], str.C:WindowsSystem32_regsvr32.exe
cmova ecx, dword [ebp - 0x38]
mov dword [ebp - 0x40], 0x420040
mov dword [ebp - 0x14], ecx
test ecx, ecx
je 0x1000351c
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100034f2
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
cmp eax, 0xffdc
cmova eax, esi
movzx eax, ax
mov word [ebp - 0x18], ax
add eax, 2
mov word [ebp - 0x16], ax
jmp 0x10003521
xor eax, eax
mov dword [ebp - 0x18], eax
push str.NTDLL
mov dword [ebp - 0xac], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 0xb8], eax
test eax, eax
je 0x10003585
push str.RtlCreateProcessParametersEx
push eax
call esi
test eax, eax
jne 0x10003562
push dword [ebp - 0xb8]
call edi
jmp 0x10003585
push 1
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x20]
push ecx
push 0
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0xac]
push ecx
call eax
mov eax, dword fs:[0x18]
xorps xmm0, xmm0
movlpd qword [ebp - 0xa0], xmm0
movlpd qword [ebp - 0x98], xmm0
movlpd qword [ebp - 0x90], xmm0
movlpd qword [ebp - 0x88], xmm0
movlpd qword [ebp - 0x80], xmm0
movlpd qword [ebp - 0x78], xmm0
movlpd qword [ebp - 0x70], xmm0
movlpd qword [ebp - 0x68], xmm0
mov dword [ebp - 0xa8], 0x48
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0x60], 0x18
movups xmmword [ebp - 0x5c], xmm0
mov dword [ebp - 0x4c], 0
mov eax, dword [eax + 0x30]
push str.NTDLL
mov eax, dword [eax + 0x18]
mov dword [ebp - 0xc4], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0xb8], eax
test eax, eax
jne 0x10003611
mov dword [ebp - 0xc8], eax
jmp 0x10003643
push str.RtlAllocateHeap
push eax
call esi
test eax, eax
jne 0x10003631
push dword [ebp - 0xb8]
call edi
mov dword [ebp - 0xc8], 0
jmp 0x10003643
push 8
push 8
push dword [ebp - 0xc4]
call eax
mov dword [ebp - 0xc8], eax
mov ecx, dword fs:[0x18]
push str.NTDLL
mov ecx, dword [ecx + 0x30]
mov eax, dword [ecx + 0x18]
mov dword [ebp - 0xc4], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0xb8], eax
test eax, eax
jne 0x10003673
mov dword [ebp - 0xc4], eax
jmp 0x100036a5
push str.RtlAllocateHeap
push eax
call esi
test eax, eax
jne 0x10003693
push dword [ebp - 0xb8]
call edi
mov dword [ebp - 0xc4], 0
jmp 0x100036a5
push 0x10
push 8
push dword [ebp - 0xc4]
call eax
mov dword [ebp - 0xc4], eax
mov ecx, dword fs:[0x18]
push str.NTDLL
mov ecx, dword [ecx + 0x30]
mov eax, dword [ecx + 0x18]
mov dword [ebp - 0xbc], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0xb8], eax
test eax, eax
jne 0x100036d5
mov dword [ebp - 0xb8], eax
jmp 0x10003707
push str.RtlAllocateHeap
push eax
call esi
test eax, eax
jne 0x100036f5
push dword [ebp - 0xb8]
call edi
mov dword [ebp - 0xb8], 0
jmp 0x10003707
push 0x30
push 8
push dword [ebp - 0xbc]
call eax
mov dword [ebp - 0xb8], eax
mov ecx, dword fs:[0x18]
push str.NTDLL
mov ecx, dword [ecx + 0x30]
mov eax, dword [ecx + 0x18]
mov dword [ebp - 0xc0], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0xbc], eax
test eax, eax
jne 0x10003733
xor esi, esi
jmp 0x10003759
push str.RtlAllocateHeap
push eax
call esi
test eax, eax
jne 0x1000374b
push dword [ebp - 0xbc]
call edi
xor esi, esi
jmp 0x10003759
push 0x64
push 8
push dword [ebp - 0xc0]
call eax
mov esi, eax
mov eax, dword [ebp - 0xc4]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0xb8]
mov dword [esi + 0x1c], eax
mov eax, dword [ebp - 0xc8]
mov dword [esi + 0x3c], eax
lea eax, [ebp - 0x48]
mov dword [esi], 0x64
mov dword [esi + 4], 0x10003
mov dword [esi + 8], 8
mov dword [esi + 0x14], 6
mov dword [esi + 0x18], 0x30
mov dword [esi + 0x24], 0x20005
mov dword [esi + 0x28], 0x48
mov dword [esi + 0x2c], str.__C:WindowsSystem32_regsvr32.exe
mov dword [esi + 0x34], 0x2000a
mov dword [esi + 0x38], 8
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0x2000
add dword [esi], 0xfffffff0
mov dword [esi + 0x44], 0x20010
mov dword [esi + 0x48], 8
mov dword [esi + 0x4c], eax
mov eax, dword [ebp - 0xac]
push str.NTDLL
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xc0], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ecx, eax
test ecx, ecx
je 0x10003858
push str.NtCreateUserProcess
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x10003827
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x10003858
push esi
lea ecx, [ebp - 0xa8]
push ecx
push dword [ebp - 0xc0]
lea ecx, [ebp - 0x60]
push 0
push 0
push ecx
push ecx
push 0x2000000
push 0x2000000
lea ecx, [ebp - 0xb4]
push ecx
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword fs:[0x18]
push str.NTDLL
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0xbc], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0xc0], eax
test eax, eax
je 0x100038a4
push str.RtlFreeHeap
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x10003899
push dword [ebp - 0xc0]
call edi
jmp 0x100038a4
push esi
push 0
push dword [ebp - 0xbc]
call eax
mov eax, dword fs:[0x18]
push str.NTDLL
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0xbc], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xc0], eax
test eax, eax
je 0x100038f7
push str.RtlFreeHeap
push eax
call esi
test eax, eax
jne 0x100038e7
push dword [ebp - 0xc0]
call edi
jmp 0x100038f7
push dword [ebp - 0xc8]
push 0
push dword [ebp - 0xbc]
call eax
mov eax, dword fs:[0x18]
push str.NTDLL
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0xbc], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0xc0], eax
test eax, eax
je 0x10003944
push str.RtlFreeHeap
push eax
call esi
test eax, eax
jne 0x10003934
push dword [ebp - 0xc0]
call edi
jmp 0x10003944
push dword [ebp - 0xc4]
push 0
push dword [ebp - 0xbc]
call eax
mov eax, dword fs:[0x18]
push str.NTDLL
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0xbc], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0xc0], eax
test eax, eax
je 0x10003991
push str.RtlFreeHeap
push eax
call esi
test eax, eax
jne 0x10003981
push dword [ebp - 0xc0]
call edi
jmp 0x10003991
push dword [ebp - 0xb8]
push 0
push dword [ebp - 0xbc]
call eax
mov eax, dword [ebp - 0xac]
push str.NTDLL
mov dword [ebp - 0xbc], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0xc0], eax
test eax, eax
je 0x100039d6
push str.RtlDestroyProcessParameters
push eax
call esi
test eax, eax
jne 0x100039ce
push dword [ebp - 0xc0]
call edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x100039d6
push dword [ebp - 0xbc]
call eax
push dword [ebp - 0xb0]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0xb4]
call esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x24]
cmp ecx, 7
jbe 0x10003a2e
mov edx, dword [ebp - 0x38]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10003a24
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10003a24
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1000ab6c
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000ab5e
mov esp, ebp
pop ebp
ret