Function at 0x403e50
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x42929e
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x43302c]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
xor edi, edi
xor bl, bl
mov dword [esp + 0x20], edi
mov dword [esp + 0x30], edi
mov ecx, dword [0x435634]
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
lea edx, [esp + 0x20]
push edx
push 0x42c9b8
call eax
test al, al
je 0x403f1e
mov dword [esp + 0x18], edi
mov byte [esp + 0x30], 1
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
mov edx, dword [edx + 0x20]
lea eax, [esp + 0x18]
push eax
push 0x42f9a4
call edx
test al, al
je 0x403f0a
mov dword [esp + 0x1c], edi
mov byte [esp + 0x30], 2
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
push 1
lea edx, [esp + 0x20]
push edx
call eax
test al, al
je 0x403ef6
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x20]
call eax
cmp eax, 1
jne 0x403ef6
mov bl, al
mov byte [esp + 0x30], 1
mov ecx, dword [esp + 0x1c]
cmp ecx, edi
je 0x403f0a
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
mov byte [esp + 0x30], 0
mov ecx, dword [esp + 0x18]
cmp ecx, edi
je 0x403f1e
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
mov dword [esp + 0x30], 0xffffffff
mov ecx, dword [esp + 0x20]
cmp ecx, edi
je 0x403f35
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
mov ecx, dword [0x435630]
mov edx, dword [ecx]
mov eax, dword [edx + 0x28]
push 0x42c9f8
call eax
mov dword [0x4355b0], eax
call fcn.004206e0
test al, al
jne 0x403ff3
mov eax, dword [0x435654]
mov ecx, dword [eax]
push str.Error_showing_Welcome_Dialog
push edi
push edi
push 2
push 2
push str.MDKApplicationCallbackImpl::OnAppStart
push 0x35
mov edx, dword [ecx + 0x10]
push str..main.cpp
push eax
call edx
mov ecx, dword [0x4355ac]
add esp, 0x24
cmp ecx, edi
je 0x403f97
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
mov dword [0x4355ac], edi
mov ecx, dword [0x4355a4]
cmp ecx, edi
je 0x403fae
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
mov dword [0x4355a4], edi
mov ecx, dword [0x4355a8]
cmp ecx, edi
je 0x403fc5
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
mov dword [0x4355a8], edi
mov ecx, dword [0x435610]
cmp ecx, edi
je 0x403fd6
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
mov dword [0x435610], edi
xor al, al
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [0x435634]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
push 0x4355a8
push 0x42c9e8
call edx
test al, al
jne 0x40402c
mov eax, dword [0x435654]
mov ecx, dword [eax]
push str.Unable_to_get_pointer_to_the_Object_Model_Factory
push edi
push edi
push 2
push 2
push str.MDKApplicationCallbackImpl::OnAppStart
push 0x3e
jmp 0x403f72
mov ecx, dword [0x435634]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
push 0x4355a4
push 0x42ca44
call edx
test al, al
jne 0x404065
mov eax, dword [0x435654]
mov ecx, dword [eax]
push str.Unable_to_get_pointer_to_the_Object_View_Factory
push edi
push edi
push 2
push 2
push str.MDKApplicationCallbackImpl::OnAppStart
push 0x48
jmp 0x403f72
mov ecx, dword [0x435610]
mov esi, dword [0x435634]
cmp ecx, edi
je 0x404082
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
mov dword [0x435610], edi
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
push 0x435610
push 0x42ca54
mov ecx, esi
call edx
test al, al
jne 0x4040b7
mov eax, dword [0x435654]
mov ecx, dword [eax]
push str.Unable_to_get_pointer_to_the_Vote_View_Factory
push edi
push edi
push 2
push 2
push str.MDKApplicationCallbackImpl::OnAppStart
push 0x52
jmp 0x403f72
test bl, bl
je 0x404174
mov dword [esp + 0x20], edi
mov dword [esp + 0x30], 3
mov ecx, dword [0x435634]
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
lea edx, [esp + 0x20]
push edx
push 0x42c9c8
call eax
test al, al
je 0x4040f3
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
mov eax, dword [edx + 0x38]
push 0xffffffffffffffff
call eax
mov dword [esp + 0x1c], edi
mov bl, 4
mov byte [esp + 0x30], bl
mov ecx, dword [0x435664]
mov edx, dword [ecx]
mov edx, dword [edx + 0x20]
lea eax, [esp + 0x1c]
push eax
push str.tools.mimio.com
call edx
test al, al
je 0x404145
mov dword [esp + 0x14], edi
mov byte [esp + 0x30], 5
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x40]
lea edx, [esp + 0x14]
push edx
push edi
call eax
mov byte [esp + 0x30], bl
mov ecx, dword [esp + 0x14]
cmp ecx, edi
je 0x404145
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
mov byte [esp + 0x30], 3
mov ecx, dword [esp + 0x1c]
cmp ecx, edi
je 0x40415d
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x30], 0xffffffff
mov ecx, dword [esp + 0x20]
cmp ecx, edi
je 0x404174
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
mov edi, dword [ebp + 8]
test edi, edi
je 0x404211
mov eax, dword [edi]
test eax, eax
je 0x404211
xor esi, esi
test eax, eax
jbe 0x404211
lea ebx, [esi + 6]
mov ecx, dword [edi + 4]
mov eax, dword [ecx + esi*4]
xor ecx, ecx
mov dword [esp + 0x1c], ecx
test eax, eax
je 0x4041c0
mov ecx, dword [0x435660]
mov edx, dword [ecx]
lea edi, [esp + 0x1c]
push edi
push eax
mov eax, dword [edx + 0x10]
call eax
mov ecx, dword [esp + 0x1c]
mov edi, dword [ebp + 8]
mov dword [esp + 0x30], ebx
test ecx, ecx
jne 0x4041de
mov ecx, dword [0x435660]
mov edx, dword [ecx]
mov edx, dword [edx + 0x18]
lea eax, [esp + 0x1c]
push eax
call edx
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x44]
push 0x42fb90
call edx
test al, al
je 0x4041f5
mov byte [0x4355b4], 1
mov dword [esp + 0x30], 0xffffffff
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x40420c
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
inc esi
cmp esi, dword [edi]
jb 0x404196
xor ecx, ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x30], 7
cmp edi, ecx
je 0x40429b
cmp dword [edi], ecx
je 0x40429b
mov eax, dword [edi + 4]
mov eax, dword [eax]
mov dword [esp + 0x14], ecx
cmp eax, ecx
je 0x40424b
mov ecx, dword [0x435660]
mov edx, dword [ecx]
lea esi, [esp + 0x14]
push esi
push eax
mov eax, dword [edx + 0x10]
call eax
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x30], 8
test ecx, ecx
jne 0x40426a
mov ecx, dword [0x435660]
mov edx, dword [ecx]
mov edx, dword [edx + 0x18]
lea eax, [esp + 0x14]
push eax
call edx
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov edx, dword [eax + 0x48]
push 0x42fb90
call edx
test al, al
je 0x404287
lea ebx, [esp + 0x14]
lea esi, [esp + 0x18]
call fcn.00401040
mov byte [esp + 0x30], 7
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x40429b
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
xor ebx, ebx
mov dword [esp + 0x1c], ebx
cmp edi, ebx
je 0x4043fb
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
test eax, eax
je 0x4043fb
xor edi, edi
test eax, eax
jbe 0x4043fb
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx + edi*4]
xor ecx, ecx
mov dword [esp + 0x14], ecx
test eax, eax
je 0x4042eb
mov ecx, dword [0x435660]
mov edx, dword [ecx]
lea esi, [esp + 0x14]
push esi
push eax
mov eax, dword [edx + 0x10]
call eax
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x30], 9
test ecx, ecx
jne 0x40430a
mov ecx, dword [0x435660]
mov edx, dword [ecx]
mov edx, dword [edx + 0x18]
lea eax, [esp + 0x14]
push eax
call edx
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov edx, dword [eax + 0x60]
push 0
push str.CONNECT
call edx
cmp eax, 0xffffffff
je 0x4043a4
or dword [esp + 0x1c], 1
push 0xc
call fcn.00407491
mov ecx, dword [esp + 0x18]
add esp, 4
mov ebx, eax
test ecx, ecx
jne 0x404350
mov ecx, dword [0x435660]
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
lea edx, [esp + 0x14]
push edx
call eax
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov eax, dword [edx + 0x60]
push 0
push str.CONNECT
call eax
mov ecx, dword [esp + 0x14]
mov esi, eax
add esi, 8
test ecx, ecx
jne 0x404381
mov ecx, dword [0x435660]
mov edx, dword [ecx]
mov edx, dword [edx + 0x18]
lea eax, [esp + 0x14]
push eax
call edx
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov edx, dword [eax + 0x30]
call edx
lea ecx, [ebx + 8]
push ecx
lea edx, [ebx + 4]
push edx
push ebx
lea eax, [eax + esi*2]
push str.0X_08X_0X_08X_0X_08X
push eax
call fcn.004076d0
add esp, 0x14
jmp 0x4043da
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x4043c2
mov ecx, dword [0x435660]
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
lea edx, [esp + 0x14]
push edx
call eax
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov eax, dword [edx + 0x60]
push 0
push str.CLEAR_FILENAME
call eax
cmp eax, 0xffffffff
je 0x4043da
or dword [esp + 0x1c], 2
mov byte [esp + 0x30], 7
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x4043ee
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
mov ecx, dword [ebp + 8]
inc edi
cmp edi, dword [ecx + 8]
jb 0x4042c1
cmp dword [esp + 0x18], 0
jne 0x404414
mov ecx, dword [0x435660]
mov edx, dword [ecx]
mov edx, dword [edx + 0x18]
lea eax, [esp + 0x18]
push eax
call edx
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
mov edx, dword [eax + 0x20]
call edx
push 0x64
test al, al
je 0x40444a
call fcn.00407491
add esp, 4
mov dword [esp + 0x20], eax
mov byte [esp + 0x30], 0xa
test eax, eax
je 0x404495
mov ecx, dword [esp + 0x1c]
push ebx
push ecx
push 0
push eax
call fcn.004247b0
jmp 0x404497
call fcn.00407491
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov byte [esp + 0x30], 0xb
test esi, esi
je 0x404495
mov ecx, dword [esp + 0x18]
test ecx, ecx
jne 0x40447f
mov ecx, dword [0x435660]
mov edx, dword [ecx]
mov edx, dword [edx + 0x18]
lea eax, [esp + 0x18]
push eax
call edx
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
mov edx, dword [eax + 0x30]
call edx
mov ecx, dword [esp + 0x1c]
push ebx
push ecx
push eax
push esi
call fcn.004247b0
jmp 0x404497
xor eax, eax
mov byte [esp + 0x30], 7
mov dword [0x4355ac], eax
test ebx, ebx
je 0x4044ae
push ebx
call fcn.0040741a
add esp, 4
cmp dword [ebp + 8], 0
je 0x40457b
mov edx, dword [ebp + 8]
mov eax, dword [edx]
cmp eax, 1
jbe 0x40457b
mov esi, 1
mov edi, edx
lea ecx, [ecx]
mov eax, dword [edi + 4]
mov eax, dword [eax + esi*4]
xor ecx, ecx
mov dword [esp + 0x14], ecx
test eax, eax
je 0x4044f7
mov ecx, dword [0x435660]
mov edx, dword [ecx]
lea ebx, [esp + 0x14]
push ebx
push eax
mov eax, dword [edx + 0x10]
call eax
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x30], 0xc
test ecx, ecx
jne 0x404516
mov ecx, dword [0x435660]
mov edx, dword [ecx]
mov edx, dword [edx + 0x18]
lea eax, [esp + 0x14]
push eax
call edx
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov edx, dword [eax + 0x48]
push 0x42fb90
call edx
test al, al
je 0x40455e
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x404544
mov ecx, dword [0x435660]
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
lea edx, [esp + 0x14]
push edx
call eax
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov eax, dword [edx + 0x30]
call eax
mov ecx, dword [0x4355ac]
mov ecx, dword [ecx + 0x18]
mov edx, dword [ecx]
push 1
push eax
mov eax, dword [edx + 0x1c]
call eax
mov byte [esp + 0x30], 7
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x404572
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
inc esi
cmp esi, dword [edi]
jb 0x4044d0
mov dword [esp + 0x30], 0xffffffff
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x404592
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
mov al, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4