Function at 0x404450
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4f85a0
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x5370e4]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push edi
mov eax, dword [0x5370e4]
xor eax, esp
push eax
lea eax, [esp + 0x74]
mov dword fs:[0], eax
mov eax, dword [esp + 0x84]
mov ebp, dword [esp + 0x88]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x34], eax
xor ebx, ebx
push 0x5257dc
lea eax, [esp + 0x94]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x28], ebx
call fcn.00402880
mov edi, 5
cmp dword [eax + 4], edi
je 0x4044d1
mov dword [esp + 0x24], 0x5255b3
jmp 0x4044d8
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x24], ecx
push 0x5257e0
lea eax, [esp + 0x94]
call fcn.00402880
cmp dword [eax + 4], edi
je 0x4044f8
mov dword [esp + 0x10], 0x5255b3
jmp 0x4044ff
mov edx, dword [eax + 0xc]
mov dword [esp + 0x10], edx
push str.tabid
lea eax, [esp + 0x94]
call fcn.00402880
cmp dword [eax + 4], edi
je 0x40451f
mov dword [esp + 0x18], 0x5255b3
jmp 0x404526
mov eax, dword [eax + 0xc]
mov dword [esp + 0x18], eax
push str.callback
lea eax, [esp + 0x94]
call fcn.00402880
cmp dword [eax + 4], edi
je 0x404546
mov dword [esp + 0x14], 0x5255b3
jmp 0x40454d
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x14], ecx
push str.origin
lea eax, [esp + 0x94]
call fcn.00402880
cmp dword [eax + 4], edi
je 0x40456d
mov dword [esp + 0x20], 0x5255b3
jmp 0x404574
mov edx, dword [eax + 0xc]
mov dword [esp + 0x20], edx
push str.module
lea eax, [esp + 0x94]
call fcn.00402880
cmp dword [eax + 4], edi
mov edi, 0x5255b3
jne 0x404592
mov edi, dword [eax + 0xc]
mov eax, dword [esp + 0x10]
mov ecx, 0x5255b3
jmp 0x4045a0
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4045c0
cmp dl, bl
je 0x4045bc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4045c0
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x4045a0
xor eax, eax
jmp 0x4045c5
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x4045e8
push ebx
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
push 0x5255b3
mov ecx, esi
mov byte [esi + 4], bl
call fcn.00402130
jmp 0x4048d6
mov eax, ebp
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x404600
sub eax, edx
push eax
push ebp
lea ecx, [esp + 0x40]
call fcn.00402130
mov dword [esp + 0x7c], ebx
cmp edi, ebx
je 0x404645
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x404621
sub eax, edx
je 0x404645
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x404631
sub eax, edx
push eax
push edi
lea ecx, [esp + 0x40]
call fcn.00402130
cmp ebp, ebx
je 0x404674
mov eax, ebp
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x404650
sub eax, edx
je 0x404674
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x404660
sub eax, edx
push eax
push ebp
lea ecx, [esp + 0x40]
call fcn.00402130
mov eax, dword [esp + 0x3c]
mov edi, 0x10
cmp dword [esp + 0x50], edi
jae 0x404687
lea eax, [esp + 0x3c]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
push eax
call fcn.00404900
mov ebp, eax
add esp, 4
cmp ebp, ebx
jne 0x404756
mov eax, dword [esp + 0x3c]
cmp dword [esp + 0x50], edi
jae 0x4046b0
lea eax, [esp + 0x3c]
mov ebp, dword [esp + 0x28]
mov edx, dword [esp + 0x1c]
push eax
mov ecx, ebp
call fcn.00404af0
add esp, 4
cmp eax, ebx
jge 0x40472b
push ebx
cmp eax, 0xffffff9c
jne 0x4046ea
push 4
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push eax
push esi
call fcn.00403760
add esp, 0x10
jmp 0x4048cd
cmp eax, 0xffffff38
jne 0x40470e
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
push 5
push ecx
mov ecx, dword [esp + 0x20]
push esi
call fcn.00403760
add esp, 0x10
jmp 0x4048cd
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push 1
push edx
mov edx, dword [esp + 0x1c]
push esi
call fcn.00403760
add esp, 0x10
jmp 0x4048cd
mov eax, dword [esp + 0x3c]
cmp dword [esp + 0x50], edi
jae 0x404739
lea eax, [esp + 0x3c]
mov ecx, dword [esp + 0x1c]
push eax
mov edx, ebp
call fcn.00404900
mov ebp, eax
add esp, 4
cmp ebp, ebx
jne 0x404756
push ebx
push 1
jmp 0x4046cf
mov eax, dword [esp + 0x24]
mov ecx, str.setcallback
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x404780
cmp dl, bl
je 0x40477c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x404780
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x404760
xor eax, eax
jmp 0x404785
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x40483d
mov eax, dword [ebp + 0x1c]
xor edi, edi
cmp eax, ebx
je 0x4047b2
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x2c]
push ebx
push ecx
mov ecx, dword [esp + 0x18]
push edx
mov edx, dword [esp + 0x2c]
push ecx
push edx
call eax
add esp, 0x14
mov edi, eax
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
push edi
push ebx
push eax
lea ecx, [esp + 0x60]
push ecx
mov ecx, dword [esp + 0x24]
call fcn.00403760
add esp, 0x10
mov byte [esp + 0x7c], 1
cmp edi, ebx
je 0x4047e0
mov edx, dword [ebp + 0x14]
push edi
call edx
add esp, 4
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x5c]
mov edi, 0xf
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], ebx
push eax
mov ecx, esi
mov byte [esi + 4], bl
call fcn.00401e70
mov ebp, 0x10
cmp dword [esp + 0x6c], ebp
jb 0x404815
mov ecx, dword [esp + 0x58]
push ecx
call fcn.0041ef45
add esp, 4
mov dword [esp + 0x6c], edi
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
cmp dword [esp + 0x50], ebp
jb 0x4048d6
mov edx, dword [esp + 0x3c]
push edx
call fcn.0041ef45
add esp, 4
jmp 0x4048d6
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
push eax
mov eax, dword [ebp + 0x18]
push ecx
push edx
call eax
mov edi, eax
add esp, 0xc
cmp edi, ebx
je 0x404886
mov ecx, dword [esp + 0x18]
push edi
push ebx
push ecx
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x60]
push edx
mov edx, dword [esp + 0x20]
call fcn.00403760
mov byte [esp + 0x8c], 2
mov eax, dword [ebp + 0x14]
push edi
call eax
add esp, 0x14
jmp 0x4048a8
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push ebx
push 1
push edx
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x60]
push eax
call fcn.00403760
add esp, 0x10
mov byte [esp + 0x7c], 3
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x5c]
push ecx
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
mov ecx, esi
mov byte [esi + 4], bl
call fcn.00401e70
lea ecx, [esp + 0x54]
call fcn.00401c60
lea ecx, [esp + 0x38]
call fcn.00401c60
mov eax, esi
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00428ddf
add esp, 0x70
ret