Function at 0x408110
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x504a18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x184
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esi + 0x208]
push 0
push 0
push 0x14b
push eax
call edi
call fcn.0043bcd0
mov ebp, eax
push 0x190
mov dword [esp + 0x24], ebp
call fcn.004e5c1a
add esp, 4
mov ebx, eax
mov ecx, ebp
mov dword [esp + 0x24], ebx
push 0
push 1
push 0x64
push 0
push ebx
call fcn.0043c2e0
test eax, eax
mov dword [esp + 0x1c], 0
jle 0x4082b2
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x58]
call fcn.0041ddf0
mov ecx, dword [ebx]
mov dword [esp + 0x19c], 0
push ecx
lea ecx, [esp + 0x5c]
call fcn.0041de90
test eax, eax
je 0x40827c
push 8
call fcn.004e5c1a
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x24]
add esp, 4
mov ebp, eax
push 2
push edx
push ebp
call fcn.0043ce10
push ebp
mov ebx, eax
call fcn.004e5c43
add esp, 4
test ebx, ebx
jle 0x40827c
cmp ebx, 1
jle 0x40827c
mov eax, dword [esi + 0x208]
xor ebp, ebp
push ebp
push ebp
push 0x146
push eax
call edi
test eax, eax
jle 0x408234
mov ecx, dword [esi + 0x208]
push 0
push ebp
push 0x150
push ecx
call edi
cmp eax, dword [esp + 0x5c]
je 0x40827c
mov edx, dword [esi + 0x208]
push 0
push 0
push 0x146
push edx
inc ebp
call edi
cmp ebp, eax
jl 0x408206
lea eax, [esp + 0x28]
lea ecx, [esp + 0x58]
push eax
call fcn.00407270
mov eax, dword [eax]
mov ecx, dword [esi + 0x208]
push eax
push 0
push 0x143
push ecx
call edi
lea ecx, [esp + 0x28]
mov ebp, eax
call fcn.004e5549
mov edx, dword [esp + 0x5c]
mov eax, dword [esi + 0x208]
push edx
push ebp
push 0x151
push eax
call edi
mov dword [esp + 0x1c], 1
lea ecx, [esp + 0x58]
mov dword [esp + 0x19c], 0xffffffff
call fcn.0041de40
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
add ebx, 4
dec eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], eax
jne 0x40818f
mov ebp, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
push ebx
call fcn.004e5c43
mov eax, dword [esp + 0x20]
add esp, 4
test eax, eax
push 0
jne 0x4082df
lea ecx, [esi + 0x1ec]
call fcn.004e9700
push 0
lea ecx, [esi + 0x1b0]
call fcn.004e9700
jmp 0x4082f6
mov ecx, dword [esi + 0x208]
push 0
push 0x14e
push ecx
call edi
mov ecx, esi
call fcn.00407ef0
push 0
mov ecx, ebp
call fcn.0043ded0
mov edx, dword [esi + 0x190]
push 0
push eax
push 0xf1
push edx
call edi
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0
push eax
push 0x5111f8
push 7
push 0
push 0x511218
call dword [sym.imp.ole32.dll_CoCreateInstance]
lea ecx, [esp + 0x74]
mov ebx, eax
xor ebp, ebp
call fcn.0041ddf0
push ecx
mov dword [esp + 0x1a0], 1
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x53c464
call fcn.004e55b7
lea ecx, [esp + 0x78]
call fcn.0041dfc0
xor ecx, ecx
cmp eax, ecx
je 0x40837a
lea ecx, [esp + 0x74]
call fcn.0041e060
xor ecx, ecx
cmp ecx, eax
sbb ebp, ebp
neg ebp
mov eax, dword [0x54a6a4]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x2c]
push edx
push 0x15
mov byte [esp + 0x1a4], 2
call fcn.0043c960
test eax, eax
je 0x4083c3
mov dword [esp + 0x1c], 1
test ebx, ebx
mov dword [esp + 0x14], 0
jl 0x408508
call fcn.00436f30
cmp eax, 5
jl 0x408404
mov eax, dword [esp + 0x18]
push 0
push 0x53c418
mov ecx, dword [eax]
push eax
call dword [ecx + 0x28]
mov edx, dword [esi + 0x154]
push 0
push eax
push 0xf1
push edx
call edi
jmp 0x4084d9
test ebp, ebp
je 0x408417
mov eax, dword [esp + 0x18]
push 1
push 0x53c434
mov ecx, dword [eax]
jmp 0x4083ea
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4084bf
lea eax, [esp + 0x90]
push 0x103
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jbe 0x4084ab
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x14]
call fcn.004e55b7
lea edx, [esp + 0x90]
lea eax, [esp + 0x10]
push edx
push 0x53c44c
push eax
mov byte [esp + 0x1a8], 3
call fcn.004df8fd
add esp, 8
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.004e52be
call fcn.00407510
add esp, 4
push 0
push eax
mov eax, dword [esi + 0x154]
push 0xf1
push eax
call edi
lea ecx, [esp + 0x10]
mov byte [esp + 0x19c], 2
call fcn.004e5549
jmp 0x4084d9
mov ecx, dword [esi + 0x154]
push 0
push 0
push 0xf1
push ecx
call edi
jmp 0x4084d9
mov edx, dword [esi + 0x154]
push 0
push 0
push 0xf1
push edx
call edi
mov dword [esp + 0x14], 1
mov eax, dword [esp + 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
test eax, eax
jle 0x4084ef
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4084fc
push 0
lea ecx, [esi + 0x138]
call fcn.004e9700
mov eax, dword [esp + 0x18]
push eax
mov edx, dword [eax]
call dword [edx + 8]
jmp 0x408515
push 0
lea ecx, [esi + 0x138]
call fcn.004e9700
call fcn.004fa7f5
mov eax, dword [eax + 4]
push 1
push 0x53c47c
push 0x53c470
mov ecx, eax
call fcn.004fac3e
push 0
push eax
mov eax, dword [esi + 0x118]
push 0xf1
push eax
call edi
lea ecx, [esp + 0x48]
mov byte [esp + 0x19c], 7
call fcn.004e5549
lea ecx, [esp + 0x3c]
mov byte [esp + 0x19c], 6
call fcn.004e5549
lea ecx, [esp + 0x38]
mov byte [esp + 0x19c], 5
call fcn.004e5549
lea ecx, [esp + 0x34]
mov byte [esp + 0x19c], 4
call fcn.004e5549
lea ecx, [esp + 0x30]
mov byte [esp + 0x19c], 1
call fcn.004e5549
lea ecx, [esp + 0x74]
mov dword [esp + 0x19c], 0xffffffff
call fcn.0041de40
mov ecx, dword [esp + 0x194]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x190
ret