Function at 0x40baf0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x421762
mov eax, dword fs:[0]
push eax
sub esp, 0x300
mov eax, dword [0x42b1d0]
xor eax, esp
mov dword [esp + 0x2f8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x42b1d0]
xor eax, esp
push eax
lea eax, [esp + 0x314]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x324]
push str.FindDevAndChangePID_enter..
call fcn.004124a0
xor ebx, ebx
add esp, 4
push 2
push ebx
lea eax, [ebp + 0x9c]
push ebx
push eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], 0xffffffff
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xc4], ebx
mov dword [esp + 0xc8], ebx
call dword [sym.imp.SETUPAPI.dll_SetupDiGetClassDevsA]
mov dword [esp + 0x1c], eax
cmp eax, 0xffffffff
jne 0x40bbfa
push str.SetupDiGetClassDevs_return_INVALID_HANDLE_VALUE
mov dword [esp + 0x1c], 2
call fcn.00412560
add esp, 4
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
mov ecx, dword [esp + 0x18]
push ecx
push str.FindDevAndChangePID_leave_with__d
call fcn.004124a0
mov eax, dword [esp + 0x20]
add esp, 8
mov ecx, dword [esp + 0x314]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2f8]
xor ecx, esp
call fcn.00412899
add esp, 0x30c
ret 4
xor ebx, ebx
mov edi, 0x10
mov dword [esp + 0xa0], 0x1c
mov dword [esp + 0x24], ebx
lea esi, [edi - 1]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0xa0]
push eax
push ecx
push edx
call dword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test eax, eax
je 0x40bbad
push ebx
push 0x423d93
lea ecx, [esp + 0x70]
mov dword [esp + 0x88], esi
mov dword [esp + 0x84], ebx
mov byte [esp + 0x74], bl
call fcn.00401c30
mov dword [esp + 0x31c], ebx
push ebx
push 0x423d93
lea ecx, [esp + 0x54]
mov dword [esp + 0x6c], esi
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
call fcn.00401c30
mov byte [esp + 0x31c], 1
cmp byte [ebp + 0xc4], bl
je 0x40c3d3
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0xa0]
push eax
push ecx
mov edx, 0x80000024
lea ecx, [esp + 0x38]
call fcn.0040ab20
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x74]
mov byte [esp + 0x328], 2
call fcn.00401850
mov byte [esp + 0x31c], 1
cmp dword [esp + 0x48], edi
jb 0x40bccf
mov edx, dword [esp + 0x34]
push edx
call fcn.0041288e
add esp, 4
mov eax, dword [esp + 0x6c]
cmp dword [esp + 0x80], edi
jae 0x40bce0
lea eax, [esp + 0x6c]
push str.vid_12d1
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
jne 0x40bd31
cmp dword [esp + 0x64], edi
jb 0x40bd03
mov eax, dword [esp + 0x50]
push eax
call fcn.0041288e
add esp, 4
mov dword [esp + 0x31c], 0xffffffff
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
cmp dword [esp + 0x80], edi
jb 0x40c0f3
mov ecx, dword [esp + 0x6c]
push ecx
jmp 0x40c0eb
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0xa0]
push edx
push eax
mov edx, 2
lea ecx, [esp + 0x38]
call fcn.0040ab20
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x58]
mov byte [esp + 0x328], 3
call fcn.00401850
mov byte [esp + 0x31c], 1
cmp dword [esp + 0x48], edi
jb 0x40bd7c
mov ecx, dword [esp + 0x34]
push ecx
call fcn.0041288e
add esp, 4
mov eax, dword [esp + 0x50]
cmp dword [esp + 0x64], edi
jae 0x40bd8a
lea eax, [esp + 0x50]
push str.USBClass_e0SubClass_01Prot_03
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
je 0x40bdf9
mov eax, dword [esp + 0x50]
cmp dword [esp + 0x64], edi
jae 0x40bda8
lea eax, [esp + 0x50]
push str.USBDevClass_00SubClass_00Prot_00
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
je 0x40bdf9
cmp dword [esp + 0x64], edi
jb 0x40bdcb
mov edx, dword [esp + 0x50]
push edx
call fcn.0041288e
add esp, 4
mov dword [esp + 0x31c], 0xffffffff
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
cmp dword [esp + 0x80], edi
jb 0x40c0f3
mov eax, dword [esp + 0x6c]
push eax
jmp 0x40c0eb
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x70]
push ecx
lea ecx, [esp + 0x90]
mov dword [esp + 0xa8], 0xf
mov dword [esp + 0xa4], ebx
mov byte [esp + 0x94], bl
call fcn.00401850
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x70]
push edx
lea ecx, [ebp + 0x80]
mov byte [esp + 0x328], 4
call fcn.00401850
push 5
push str.PID_
lea eax, [esp + 0x8c]
push eax
call fcn.00401930
mov esi, eax
cmp esi, 0xffffffff
jne 0x40be94
cmp dword [esp + 0x9c], edi
jb 0x40be75
mov ecx, dword [esp + 0x88]
push ecx
call fcn.0041288e
add esp, 4
mov esi, 0xf
mov dword [esp + 0x9c], esi
mov dword [esp + 0x98], ebx
mov byte [esp + 0x88], bl
jmp 0x40bdb8
push 0x104
lea ecx, [esp + 0x100]
push ebx
push ecx
call fcn.004183e0
mov eax, dword [esp + 0x94]
add esp, 0xc
cmp dword [esp + 0x9c], edi
jae 0x40bec1
lea eax, [esp + 0x88]
push 0x103
push eax
lea edx, [esp + 0x104]
push edx
call fcn.00413040
lea eax, [esp + 0x108]
add esp, 0xc
push eax
call fcn.00412c85
add esp, 4
push 0x104
lea ecx, [esp + 0x208]
push ebx
push ecx
call fcn.004183e0
add esp, 0xc
push 0x26
push str.the_character_is__d
call fcn.004124a0
mov al, byte [esp + esi + 0x109]
lea ecx, [esp + esi + 0x109]
add esp, 8
cmp al, 0x26
je 0x40bf36
lea edx, [esp + 0x204]
sub edx, ecx
cmp al, bl
je 0x40bf36
mov byte [edx + ecx], al
mov al, byte [ecx + 1]
inc ecx
cmp al, 0x26
jne 0x40bf27
lea eax, [esp + 0x204]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x40bf40
sub eax, edx
push eax
lea edx, [esp + 0x208]
push edx
lea ecx, [ebp + 0x2c]
call fcn.00401c30
jmp 0x40bf62
xor ebx, ebx
mov eax, dword [esp + 0xb4]
push ebx
push eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x38]
push edx
mov dword [esp + 0x3c], ebx
call dword [sym.imp.SETUPAPI.dll_CM_Get_DevNode_Status]
test eax, eax
je 0x40bf9a
push str.This_device_dosent_have_a_device_node
call fcn.00412560
add esp, 4
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x40bfa8
test dword [esp + 0x2c], 0x400
je 0x40c07b
mov eax, dword [esp + 0x20]
push eax
push str.isDevAvailable_return_error_code__d
call fcn.004124a0
add esp, 8
cmp byte [ebp + 0xc4], bl
je 0x40c434
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
push ecx
sub esp, 0x1c
mov edi, esp
mov ecx, 7
lea esi, [esp + 0xc0]
push ebp
rep movsd dword es:[edi], dword [esi]
call fcn.0040c490
xor ebx, ebx
mov dword [esp + 0x18], eax
cmp eax, ebx
je 0x40c47e
cmp eax, 0xffffffff
jne 0x40c004
cmp dword [ebp + 0x24], ebx
je 0x40c10b
cmp dword [ebp + 0x20], 0x14ef
mov dword [ebp + 0x24], ebx
jbe 0x40c1b6
mov edx, dword [esp + 0xb4]
push ebx
push edx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x34]
push ecx
mov dword [esp + 0x38], ebx
call dword [sym.imp.SETUPAPI.dll_CM_Get_DevNode_Status]
test eax, eax
je 0x40c04c
push str.This_device_dosent_have_a_device_node
call fcn.00412560
add esp, 4
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x40c05a
test dword [esp + 0x28], 0x400
je 0x40bf60
mov edx, dword [esp + 0x18]
push edx
push str.isDevAvailable_return_error_code__d_and
call fcn.004124a0
push str.Device_Solve_Fail....
call fcn.00412560
add esp, 0xc
jmp 0x40bf60
mov edi, 0x10
cmp dword [esp + 0x9c], edi
jb 0x40c099
mov eax, dword [esp + 0x88]
push eax
call fcn.0041288e
add esp, 4
mov esi, 0xf
mov dword [esp + 0x9c], esi
mov dword [esp + 0x98], ebx
mov byte [esp + 0x88], bl
cmp dword [esp + 0x64], edi
jb 0x40c0c6
mov ecx, dword [esp + 0x50]
push ecx
call fcn.0041288e
add esp, 4
mov dword [esp + 0x31c], 0xffffffff
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
cmp dword [esp + 0x80], edi
jb 0x40c0f3
mov edx, dword [esp + 0x6c]
push edx
call fcn.0041288e
add esp, 4
inc dword [esp + 0x24]
mov byte [esp + 0x6c], bl
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], esi
jmp 0x40bc11
push str.device_is_reload...
call fcn.004124a0
mov eax, dword [esp + 0x20]
add esp, 4
push eax
mov dword [ebp + 0x24], 1
call dword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
mov esi, 0x10
cmp dword [esp + 0x9c], esi
jb 0x40c148
mov ecx, dword [esp + 0x88]
push ecx
call fcn.0041288e
add esp, 4
mov edi, 0xf
mov dword [esp + 0x9c], edi
mov dword [esp + 0x98], ebx
mov byte [esp + 0x88], bl
cmp dword [esp + 0x64], esi
jb 0x40c175
mov edx, dword [esp + 0x50]
push edx
call fcn.0041288e
add esp, 4
mov dword [esp + 0x31c], 0xffffffff
mov dword [esp + 0x64], edi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
cmp dword [esp + 0x80], esi
jb 0x40c1a2
mov eax, dword [esp + 0x6c]
push eax
call fcn.0041288e
add esp, 4
mov dword [esp + 0x80], edi
mov dword [esp + 0x7c], ebx
mov byte [esp + 0x6c], bl
jmp 0x40c371
mov edi, 0x10
cmp dword [ebp + 0x44], edi
jb 0x40c1c5
mov eax, dword [ebp + 0x30]
jmp 0x40c1c8
lea eax, [ebp + 0x30]
mov ecx, dword [ebp + 0x20]
push ecx
push eax
push str.Device_Need_change_PID__s_to__:__x.
call fcn.00412560
add esp, 0xc
push 0x40
lea edx, [esp + 0xc0]
push ebx
push edx
call fcn.004183e0
mov ecx, dword [ebp + 0x20]
add esp, 0xc
push edi
lea eax, [esp + 0xc0]
push eax
push ecx
call fcn.004204b2
lea edx, [esp + 0xc8]
add esp, 0xc
push edx
call fcn.00412c85
lea eax, [esp + 0xc0]
add esp, 4
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x40c230
sub eax, esi
push eax
lea eax, [esp + 0xc0]
push eax
lea ecx, [esp + 0x38]
call fcn.00401c30
lea ecx, [esp + 0x30]
push ecx
lea ebx, [ebp + 0xac]
mov byte [esp + 0x320], 5
call fcn.00407980
mov byte [esp + 0x31c], 4
cmp dword [esp + 0x48], edi
jb 0x40c27e
mov edx, dword [esp + 0x34]
push edx
call fcn.0041288e
add esp, 4
mov ecx, dword [ebp + 0x20]
call fcn.0040b760
inc dword [ebp + 0x20]
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp + 0x98], edi
jb 0x40c2a4
mov ebx, dword [ebp + 0x84]
jmp 0x40c2aa
lea ebx, [ebp + 0x84]
mov ecx, dword [ebp + 0x9c]
mov edx, dword [ebp + 0xa0]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp + 0xa4]
mov dword [eax + 4], edx
mov edx, dword [ebp + 0xa8]
mov dword [eax + 8], ecx
push ebp
mov dword [eax + 0xc], edx
call fcn.0040b8a0
mov eax, dword [esp + 0x1c]
push eax
mov dword [esp + 0x1c], 4
call dword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
cmp dword [esp + 0x9c], edi
jb 0x40c304
mov ecx, dword [esp + 0x88]
push ecx
call fcn.0041288e
add esp, 4
xor ebx, ebx
mov esi, 0xf
mov dword [esp + 0x9c], esi
mov dword [esp + 0x98], ebx
mov byte [esp + 0x88], bl
cmp dword [esp + 0x64], edi
jb 0x40c333
mov edx, dword [esp + 0x50]
push edx
call fcn.0041288e
add esp, 4
mov dword [esp + 0x31c], 0xffffffff
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
cmp dword [esp + 0x80], edi
jb 0x40c360
mov eax, dword [esp + 0x6c]
push eax
call fcn.0041288e
add esp, 4
mov dword [esp + 0x7c], ebx
mov byte [esp + 0x6c], bl
mov dword [esp + 0x80], esi
xor ebx, ebx
xor eax, eax
push 2
push ebx
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], eax
push ebx
lea eax, [ebp + 0x9c]
push eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], 0xffffffff
call dword [sym.imp.SETUPAPI.dll_SetupDiGetClassDevsA]
mov dword [esp + 0x1c], eax
cmp eax, 0xffffffff
jne 0x40bbf8
jmp 0x40bb98
push str.FindDevAndChangePID_receive_exit_message...
call fcn.004124a0
add esp, 4
cmp dword [esp + 0x64], edi
jb 0x40c3f3
mov ecx, dword [esp + 0x50]
push ecx
call fcn.0041288e
add esp, 4
mov dword [esp + 0x31c], 0xffffffff
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
cmp dword [esp + 0x80], edi
jb 0x40c420
mov edx, dword [esp + 0x6c]
push edx
call fcn.0041288e
add esp, 4
mov dword [esp + 0x80], esi
mov dword [esp + 0x7c], ebx
mov byte [esp + 0x6c], bl
jmp 0x40bbad
push str.FindDevAndChangePID_receive_exit_message...
call fcn.004124a0
add esp, 4
mov edi, 0x10
cmp dword [esp + 0x9c], edi
jb 0x40c45f
mov eax, dword [esp + 0x88]
push eax
call fcn.0041288e
add esp, 4
mov esi, 0xf
mov dword [esp + 0x9c], esi
mov dword [esp + 0x98], ebx
mov byte [esp + 0x88], bl
jmp 0x40c3e0
mov dword [esp + 0x18], ebx
jmp 0x40c441