Function at 0x41d0a0
Capabilities:
Accept command line arguments
Check os version
Create process on windows
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x459b98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push ebp
push esi
mov ebp, ecx
push edi
mov dword [esp + 0x30], ebp
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov cx, word [0x4717c0]
mov esi, eax
mov eax, dword [0x4717bc]
mov word [esp + 0x38], cx
mov dword [esp + 0x34], eax
mov edi, 1
call sub.MFC42u.DLL_AfxGetModuleState
mov eax, dword [eax + 8]
mov dword [0x473398], 0x46f400
push eax
push 0x4715a8
push 0x473328
mov dword [0x472f18], 0x473328
mov dword [0x473328], 0x84
mov dword [0x47338c], 0x300
call fcn.00421700
mov dword [ebp + 0x11c], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea edx, [esp + 0x34]
mov ecx, 0x473328
push edx
push esi
mov dword [0x4733ac], eax
call fcn.0041d720
mov esi, eax
xor ebx, ebx
cmp esi, ebx
mov dword [esp + 0x28], esi
je 0x41d46f
jmp 0x41d15b
mov esi, dword [esp + 0x28]
push 0x4717a4
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x41d561
push 0x4717a0
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x41d561
push 0x47178c
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x41d1a7
push 0x471788
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x41d44b
lea ecx, [esp + 0x14]
call sub.MFC42u.DLL_CString::CString_3
mov ecx, dword [0x461c3c]
mov edx, dword [0x461c40]
mov eax, dword [0x461c38]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
lea ecx, [esp + 0x14]
mov dword [esp + 0x3c], eax
mov eax, dword [0x461c44]
lea edx, [esp + 0x3c]
push ecx
push edx
mov dword [esp + 0x5c], 1
mov dword [esp + 0x50], eax
call fcn.004553a0
lea eax, [esp + 0x18]
push eax
call fcn.004504e0
lea ecx, [esp + 0x38]
mov byte [esp + 0x60], 2
push ecx
call fcn.00450390
add esp, 0x10
lea ecx, [esp + 0x14]
mov byte [esp + 0x54], 3
call sub.MFC42u.DLL_CString::MakeLower
lea ecx, [esp + 0x10]
call sub.MFC42u.DLL_CString::MakeLower
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetVersion]
and eax, 0xff
cmp eax, 6
jb 0x41d237
mov esi, 1
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push edx
push eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
cmp eax, ebx
je 0x41d25e
cmp esi, ebx
je 0x41d25e
cmp dword [ebp + 0x12c], ebx
je 0x41d4f6
push ebx
push ebx
push 1
push 0x68
push 0x473328
call fcn.00421950
mov esi, eax
mov eax, dword [ebp + 0x118]
cmp eax, ebx
je 0x41d305
cmp esi, ebx
jne 0x41d2c4
lea ecx, [esp + 0x18]
call sub.MFC42u.DLL_CString::CString_3
push ebx
lea ecx, [esp + 0x1c]
push str.Repair_Succeed:0x_.8x
push ecx
mov byte [esp + 0x60], 4
call sub.MFC42u.DLL_CString::Format
mov edx, dword [esp + 0x24]
add esp, 0xc
push 0x40000
push str.Succeed
push edx
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov byte [esp + 0x54], 3
lea ecx, [esp + 0x18]
jmp 0x41d300
lea ecx, [esp + 0x1c]
call sub.MFC42u.DLL_CString::CString_3
push esi
lea eax, [esp + 0x20]
push str.Repair_failed:0x_.8x
push eax
mov byte [esp + 0x60], 5
call sub.MFC42u.DLL_CString::Format
mov ecx, dword [esp + 0x28]
add esp, 0xc
push 0x40000
push ebx
push ecx
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov byte [esp + 0x54], 3
lea ecx, [esp + 0x1c]
call sub.MFC42u.DLL_CString::CString
mov edx, 0x473328
test edx, edx
jne 0x41d315
mov edi, 0x80070057
jmp 0x41d37f
mov esi, dword [0x473338]
xor edi, edi
cmp dword [esi], ebx
je 0x41d372
mov eax, dword [esi + 0x18]
cmp eax, ebx
je 0x41d32e
call eax
test eax, eax
jne 0x41d359
push 1
call dword [esi + 4]
mov edi, eax
cmp edi, ebx
jl 0x41d37f
cmp dword [0x473328], 0x84
jne 0x41d359
push 1
call dword [esi + 0x1c]
push eax
mov eax, dword [esi]
push eax
call fcn.00421790
mov edi, eax
cmp edi, ebx
jl 0x41d37f
cmp dword [0x473328], 0x64
jne 0x41d367
add esi, 0x1c
jmp 0x41d36a
add esi, 0x24
cmp dword [esi], ebx
jne 0x41d321
cmp edi, ebx
jl 0x41d37f
push ebx
push 0x473328
call fcn.00421cd0
mov edi, eax
cmp dword [ebp + 0x118], ebx
je 0x41d412
cmp edi, ebx
jne 0x41d3d1
lea ecx, [esp + 0x20]
call sub.MFC42u.DLL_CString::CString_3
push ebx
lea ecx, [esp + 0x24]
push str.RegisterServer_Succeed:0x_.8x
push ecx
mov byte [esp + 0x60], 6
call sub.MFC42u.DLL_CString::Format
mov edx, dword [esp + 0x2c]
add esp, 0xc
push 0x40000
push str.Succeed
push edx
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov byte [esp + 0x54], 3
lea ecx, [esp + 0x20]
jmp 0x41d40d
lea ecx, [esp + 0x24]
call sub.MFC42u.DLL_CString::CString_3
push edi
lea eax, [esp + 0x28]
push str.RegisterServer_failed:0x_.8x
push eax
mov byte [esp + 0x60], 7
call sub.MFC42u.DLL_CString::Format
mov ecx, dword [esp + 0x30]
add esp, 0xc
push 0x40000
push ebx
push ecx
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov byte [esp + 0x54], 3
lea ecx, [esp + 0x24]
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov dword [ebp + 0x114], ebx
xor edi, edi
mov byte [esp + 0x54], 2
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x54], 1
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x14]
mov dword [esp + 0x54], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov esi, dword [esp + 0x28]
lea edx, [esp + 0x34]
mov ecx, 0x473328
push edx
push esi
call fcn.0041d720
cmp eax, ebx
mov dword [esp + 0x28], eax
jne 0x41d157
cmp edi, ebx
je 0x41d54c
push ebx
push ebx
push 1
push 0x68
push 0x473328
call fcn.00421950
mov eax, 0x473328
test eax, eax
je 0x41d6e6
mov ebp, dword [0x473338]
xor esi, esi
cmp dword [ebp], ebx
je 0x41d662
mov eax, dword [ebp + 0x18]
cmp eax, ebx
je 0x41d4ae
call eax
test eax, eax
jne 0x41d630
push 1
call dword [ebp + 4]
mov esi, eax
cmp esi, ebx
jl 0x41d66d
cmp dword [0x473328], 0x84
jne 0x41d630
call dword [ebp + 0x1c]
mov edi, dword [ebp]
mov esi, eax
mov dword [esp + 0x10], ebx
cmp esi, ebx
mov dword [esp + 0x54], 8
jne 0x41d5b3
mov dword [esp + 0x54], 0xffffffff
jmp 0x41d62e
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x10]
push 0xa
push eax
push str._R__ADMIN
push ecx
push str.runas
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0x7d0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x54], 2
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x54], 1
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x14]
mov dword [esp + 0x54], 0xffffffff
call sub.MFC42u.DLL_CString::CString
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
add esp, 0x48
ret
push ebx
push ebx
push ebx
push 0x68
push 0x473328
call fcn.00421950
push ebx
push 1
push 0x473328
call fcn.004218c0
lea edx, [esp + 0x30]
push edx
call fcn.004504e0
push eax
push 0x472ff0
push ebx
mov dword [esp + 0x64], ebx
call fcn.00453160
add esp, 0x10
lea ecx, [esp + 0x30]
mov dword [esp + 0x54], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov dword [ebp + 0x114], ebx
jmp 0x41d54c
lea ecx, [esp + 0x10]
push ecx
push 0x464784
push 1
push ebx
push 0x464774
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jl 0x41d61d
cmp dword [esi], ebx
je 0x41d61d
mov edx, dword [esi + 4]
mov eax, dword [edx]
mov dword [esp + 0x3c], eax
mov ecx, dword [edx + 4]
mov dword [esp + 0x40], ecx
mov eax, dword [edx + 8]
mov dword [esp + 0x44], eax
mov eax, dword [esi]
mov ecx, dword [edx + 0xc]
cmp eax, 1
mov eax, dword [esp + 0x10]
mov dword [esp + 0x48], ecx
lea ecx, [esp + 0x3c]
mov edx, dword [eax]
push ecx
push 1
push edi
push eax
jne 0x41d60c
call dword [edx + 0x14]
jmp 0x41d60f
call dword [edx + 0x1c]
cmp eax, ebx
jl 0x41d64b
mov eax, dword [esi + 8]
add esi, 8
cmp eax, ebx
jne 0x41d5d3
lea ecx, [esp + 0x10]
mov dword [esp + 0x54], 0xffffffff
call fcn.0044fe20
xor esi, esi
cmp dword [0x473328], 0x64
jne 0x41d63e
add ebp, 0x1c
jmp 0x41d641
add ebp, 0x24
cmp dword [ebp], ebx
je 0x41d65e
jmp 0x41d49d
lea ecx, [esp + 0x10]
mov dword [esp + 0x54], 0xffffffff
call fcn.0044fe20
jmp 0x41d66d
cmp esi, ebx
jl 0x41d66d
push ebx
push 0x473328
call fcn.00421cd0
mov esi, dword [0x473338]
xor edi, edi
cmp dword [esi], ebx
je 0x41d6e2
mov ebx, dword [sym.imp.ole32.dll_CoRegisterClassObject]
lea ebp, [esi + 0x14]
test edi, edi
jne 0x41d6e2
mov eax, dword [esi + 8]
mov dword [esp + 0x28], edi
test eax, eax
je 0x41d6c6
mov ecx, dword [esi + 0xc]
lea edx, [esp + 0x28]
push edx
push 0x464764
push ecx
call eax
mov edi, eax
test edi, edi
jl 0x41d6b8
mov edx, dword [esp + 0x28]
mov eax, dword [esi]
push ebp
push 1
push 4
push edx
push eax
call ebx
mov edi, eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x41d6c6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [0x473328], 0x64
jne 0x41d6d7
add esi, 0x1c
add ebp, 0x1c
jmp 0x41d6dd
add esi, 0x24
add ebp, 0x24
cmp dword [esi], 0
jne 0x41d682
mov ebp, dword [esp + 0x30]
mov ecx, dword [esp + 0x4c]
mov eax, 1
pop edi
mov dword [ebp + 0x114], eax
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x48
ret