Function at 0x422440
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x48a668
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov eax, dword [ebp + 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.0047f70e
mov ecx, dword [eax + 8]
push 0x5a
push ecx
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0x48
push eax
push 0x48
call dword [sym.imp.KERNEL32.dll_MulDiv]
xor ebx, ebx
mov dword [ebp + 0x148c], eax
mov dword [ebp + 0x1490], ebx
mov dword [ebp + 0x1494], ebx
mov dword [ebp + 0x1498], ebx
mov dword [ebp + 0x149c], 0x2bc
mov byte [ebp + 0x14a0], bl
mov byte [ebp + 0x14a1], bl
mov byte [ebp + 0x14a2], bl
mov byte [ebp + 0x14a3], 1
mov byte [ebp + 0x14a4], 2
mov byte [ebp + 0x14a5], 1
mov byte [ebp + 0x14a6], bl
mov byte [ebp + 0x14a7], bl
mov edx, dword [0x4b20c8]
mov dword [esp + 0x10], edx
push 0x4b61a0
lea eax, [esp + 0x14]
push 1
push eax
mov dword [esp + 0x38], ebx
call fcn.00480d27
mov edi, dword [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp + 0x14a8]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [ebp + 0x148c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea esi, [ebp + 0x14c8]
mov ecx, esi
call fcn.00481893
push 0x42f
mov ecx, ebp
call fcn.0047b58f
cmp esi, ebx
jne 0x42254b
xor ecx, ecx
jmp 0x42254e
mov ecx, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 1
push ecx
mov ecx, dword [eax + 0x1c]
push 0x30
push ecx
call edi
push 0x431
mov ecx, ebp
call fcn.0047b58f
cmp esi, ebx
jne 0x422573
xor ecx, ecx
jmp 0x422576
mov ecx, dword [esi + 4]
mov edx, dword [eax + 0x1c]
push 1
push ecx
push 0x30
push edx
call edi
push 0x434
mov ecx, ebp
call fcn.0047b58f
cmp esi, ebx
jne 0x422595
xor esi, esi
jmp 0x422598
mov esi, dword [esi + 4]
mov eax, dword [eax + 0x1c]
push 1
push esi
push 0x30
push eax
call edi
push ebx
lea ecx, [esp + 0x18]
push ebp
lea esi, [ebp + 0xa2c]
push ecx
mov edi, 0xa
push 0x50000000
push ebx
mov ecx, esi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], 0x21
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call fcn.00481548
push 0x4ad198
push 0xf6
mov ecx, esi
call fcn.0045a680
mov ecx, esi
call fcn.0045a5b0
push ebx
lea edx, [esp + 0x18]
push ebp
lea esi, [ebp + 0xae4]
push edx
push 0x50000000
push ebx
mov ecx, esi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], 0xd1
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call fcn.00481548
push 0x4ad198
push 0xf2
mov ecx, esi
call fcn.0045a680
mov ecx, esi
call fcn.0045a5b0
push ebx
lea eax, [esp + 0x18]
push ebp
lea esi, [ebp + 0xb9c]
push eax
push 0x50000000
push ebx
mov ecx, esi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], 0x1e
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call fcn.00481548
push 0x4ad198
push 0x155
mov ecx, esi
call fcn.0045a680
mov ecx, esi
call fcn.0045a5b0
push ebx
lea ecx, [esp + 0x18]
push ebp
lea esi, [ebp + 0xc54]
push ecx
mov edi, 0x42
push 0x50000000
push ebx
mov ecx, esi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], 0x72
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call fcn.00481548
push 0x4ad198
push 0x1cd
mov ecx, esi
call fcn.0045a680
mov ecx, esi
call fcn.0045a5b0
push ebx
lea edx, [esp + 0x18]
push ebp
lea esi, [ebp + 0xd0c]
push edx
push 0x50000000
push ebx
mov ecx, esi
mov dword [esp + 0x28], 0xa
mov dword [esp + 0x2c], 0x1e
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call fcn.00481548
push 0x4ad198
push 0x1ce
mov ecx, esi
call fcn.0045a680
mov ecx, esi
call fcn.0045a5b0
push ebx
lea eax, [esp + 0x18]
push ebp
lea esi, [ebp + 0x1214]
push eax
push 0x50000000
push ebx
mov ecx, esi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call fcn.00481548
push 0x4ad198
push 0x1f6
mov ecx, esi
call fcn.0045a680
mov ecx, esi
call fcn.0045a5b0
push ebx
lea ecx, [esp + 0x18]
push ebp
lea esi, [ebp + 0x12cc]
push ecx
push 0x50000000
push ebx
mov ecx, esi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call fcn.00481548
push 0x4ad198
push 0x1f6
mov ecx, esi
call fcn.0045a680
mov ecx, esi
call fcn.0045a5b0
push ebx
lea edx, [esp + 0x18]
push ebp
lea esi, [ebp + 0x1384]
push edx
push 0x50000000
push ebx
mov ecx, esi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call fcn.00481548
push 0x4ad198
push 0x1f6
mov ecx, esi
call fcn.0045a680
mov ecx, esi
call fcn.0045a5b0
mov dword [ebp + 0xe4], 1
mov dword [ebp + 0x98], 4
push ebx
lea eax, [esp + 0x18]
push ebp
lea esi, [ebp + 0xdc4]
push eax
push 0x50000000
push ebx
mov ecx, esi
mov dword [esp + 0x28], 0x5f
mov dword [esp + 0x2c], 0x119
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call fcn.00481548
push 0x4ad198
push 0x14e
mov ecx, esi
call fcn.0045a680
mov ecx, esi
call fcn.0045a5b0
push ebx
lea ecx, [esp + 0x18]
push ebp
lea esi, [ebp + 0xe7c]
push ecx
push 0x50000000
push ebx
mov ecx, esi
mov dword [esp + 0x28], 0x5f
mov dword [esp + 0x2c], 0x12a
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call fcn.00481548
push 0x4ad198
push 0x14e
mov ecx, esi
call fcn.0045a680
mov ecx, esi
call fcn.0045a5b0
push ebx
lea edx, [esp + 0x18]
push ebp
lea esi, [ebp + 0xf34]
push edx
push 0x50000000
push ebx
mov ecx, esi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call fcn.00481548
push 0x4ad198
push 0x14e
mov ecx, esi
call fcn.0045a680
mov ecx, esi
call fcn.0045a5b0
push ebx
lea eax, [esp + 0x18]
push ebp
lea esi, [ebp + 0xfec]
push eax
push 0x50000000
push ebx
mov ecx, esi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call fcn.00481548
push 0x4ad198
push 0x14e
mov ecx, esi
call fcn.0045a680
mov ecx, esi
call fcn.0045a5b0
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
lea esi, [ebp + 0x10a4]
push ebx
lea ecx, [esp + 0x18]
push ebp
push ecx
push 0x50000000
push ebx
mov ecx, esi
call fcn.00481548
push 0x4ad198
push 0x14e
mov ecx, esi
call fcn.0045a680
mov ecx, esi
call fcn.0045a5b0
push ebx
lea edx, [esp + 0x18]
push ebp
lea esi, [ebp + 0x115c]
push edx
push 0x50000000
push ebx
mov ecx, esi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call fcn.00481548
push 0x4ad198
push 0x14e
mov ecx, esi
call fcn.0045a680
mov ecx, esi
call fcn.0045a5b0
push ebx
lea eax, [esp + 0x18]
push ebp
lea esi, [ebp + 0xf4]
push eax
push 0x50000000
push ebx
mov ecx, esi
mov dword [esp + 0x28], 0x16
mov dword [esp + 0x2c], 0xee
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call fcn.00481548
push 0x4ad198
push 0xf1
mov ecx, esi
call fcn.0045a680
mov ecx, esi
call fcn.0045a5b0
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, esi
call fcn.0045af50
push ebx
lea ecx, [esp + 0x18]
push ebp
lea esi, [ebp + 0x1ac]
push ecx
push 0x50000000
push ebx
mov ecx, esi
mov dword [esp + 0x28], 0x1e
mov dword [esp + 0x2c], 0x3c
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call fcn.00481548
push 0x4ad198
push 0xf7
mov ecx, esi
call fcn.0045a680
mov ecx, esi
call fcn.0045a5b0
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], 0x37
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
lea esi, [ebp + 0x264]
push ebx
lea edx, [esp + 0x18]
push ebp
push edx
push 0x50000000
push ebx
mov ecx, esi
call fcn.00481548
push 0x4ad198
push 0xf8
mov ecx, esi
call fcn.0045a680
mov ecx, esi
call fcn.0045a5b0
push ebx
lea eax, [esp + 0x18]
push ebp
lea esi, [ebp + 0x31c]
push eax
push 0x50000000
push ebx
mov ecx, esi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], 0x4d
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call fcn.00481548
push 0x4ad198
push 0xf9
mov ecx, esi
call fcn.0045a680
mov ecx, esi
call fcn.0045a5b0
push ebx
lea ecx, [esp + 0x18]
push ebp
lea esi, [ebp + 0x3d4]
push ecx
push 0x50000000
push ebx
mov ecx, esi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], 0x5f
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call fcn.00481548
push 0x4ad198
push 0xfa
mov ecx, esi
call fcn.0045a680
mov ecx, esi
call fcn.0045a5b0
push ebx
lea edx, [esp + 0x18]
push ebp
lea esi, [ebp + 0x48c]
push edx
push 0x50000000
push ebx
mov ecx, esi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], 0x72
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call fcn.00481548
push 0x4ad198
push 0xfb
mov ecx, esi
call fcn.0045a680
mov ecx, esi
call fcn.0045a5b0
push 0x151
push 0x150
lea ecx, [ebp + 0x9dc]
mov dword [ebp + 0xa28], 1
call fcn.00457760
push 0xf4
push 0x1aa
push 0x1a9
push 0xf4
lea ecx, [ebp + 0x6b8]
call fcn.00459400
push 0xda
push 0x1b9
push 0x1b8
push 0xda
lea ecx, [ebp + 0x544]
call fcn.00459400
push 0xb7
push 0x191
push 0x190
push 0xb7
lea ecx, [ebp + 0x82c]
call fcn.00459400
push 0x4b61a0
lea eax, [esp + 0x14]
push 0xf
push eax
call fcn.00480d27
mov ecx, dword [esp + 0x10]
push 0xffffffffffffffff
push 0x64
lea esi, [ebp + 0x9a0]
push ebx
push ecx
push ebx
mov ecx, esi
call fcn.00476b05
push 0x4b61a0
lea edx, [esp + 0x14]
push 0x10
push edx
call fcn.00480d27
mov eax, dword [esp + 0x10]
push 0xffffffffffffffff
push 0x118
push ebx
push eax
push 1
mov ecx, esi
call fcn.00476b05
push 0x4b61a0
lea ecx, [esp + 0x14]
push 0x11
push ecx
call fcn.00480d27
mov edx, dword [esp + 0x10]
push 0xffffffffffffffff
push 0x4f
push 1
push edx
push 2
mov ecx, esi
call fcn.00476b05
mov eax, dword [ebp + 0x9bc]
push 0x24
push ebx
push 0x1036
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push ebx
mov ecx, esi
add ebp, 0x143c
call fcn.004772fd
push eax
mov ecx, ebp
call fcn.00401060
push ebx
push ebx
mov ecx, ebp
call fcn.00401120
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
call fcn.0047c0f3
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret