Function at 0x43e110
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x45ae8f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
push ebx
push ebp
xor ebp, ebp
push esi
push edi
mov dword [esp + 0x1c], ebp
mov eax, dword [0x4631a0]
mov dword [esp + 0x7c], 1
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov al, byte [esp + 0x84]
mov dword [esp + 0x38], ebp
mov byte [esp + 0x34], al
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
mov cl, byte [esp + 0x84]
mov dword [esp + 0x28], ebp
mov byte [esp + 0x24], cl
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov dl, byte [esp + 0x84]
push ebp
lea ecx, [esp + 0x58]
mov byte [esp + 0x80], 5
mov byte [esp + 0x58], dl
call fcn.00406d30
mov edi, dword [sym.imp.MSVCRT.dll_wcslen]
push 0x4672ac
call edi
add esp, 4
lea ecx, [esp + 0x54]
push eax
push 0x4672ac
call fcn.0041bf40
mov al, byte [esp + 0x84]
mov esi, dword [esp + 0x88]
mov bl, 6
push ebp
lea ecx, [esp + 0x48]
mov byte [esp + 0x80], bl
mov byte [esp + 0x48], al
call fcn.00406d30
push esi
call edi
add esp, 4
lea ecx, [esp + 0x44]
push eax
push esi
call fcn.0041bf40
lea ecx, [esp + 0x34]
lea edx, [esp + 0x54]
push ecx
lea eax, [esp + 0x48]
push edx
push eax
mov byte [esp + 0x88], 7
call fcn.004174a0
add esp, 0xc
lea ecx, [esp + 0x44]
mov byte [esp + 0x7c], bl
push 1
call fcn.00406d30
push 1
lea ecx, [esp + 0x58]
mov byte [esp + 0x80], 5
call fcn.00406d30
mov dword [esp + 0x18], ebp
xor ebx, ebx
mov eax, dword [esp + 0x38]
cmp eax, ebp
je 0x43e55b
mov ecx, dword [esp + 0x3c]
sub ecx, eax
mov eax, dword [esp + 0x18]
sar ecx, 4
cmp eax, ecx
jae 0x43e55b
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push edx
push eax
lea ecx, [esp + 0x2c]
call fcn.0041bb10
mov ecx, dword [esp + 0x38]
mov esi, dword [ebx + ecx + 4]
cmp esi, ebp
jne 0x43e281
mov esi, 0x45c630
cmp esi, ebp
jne 0x43e281
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
xor eax, eax
jmp 0x43e28a
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
call edi
push esi
push eax
lea ecx, [esp + 0x1c]
call fcn.00408770
mov dl, byte [esp + 0x84]
push ebp
lea ecx, [esp + 0x48]
mov byte [esp + 0x48], dl
call fcn.00406d30
push 0x4672a8
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
lea ecx, [esp + 0x44]
push eax
push 0x4672a8
call fcn.0041bf40
mov eax, dword [esp + 0x38]
mov byte [esp + 0x7c], 8
mov esi, dword [ebx + eax + 4]
cmp esi, ebp
jne 0x43e2dd
mov esi, 0x45c630
mov cl, byte [esp + 0x84]
push ebp
mov byte [esp + 0x58], cl
lea ecx, [esp + 0x58]
call fcn.00406d30
push esi
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
lea ecx, [esp + 0x54]
push eax
push esi
call fcn.0041bf40
lea edx, [esp + 0x24]
lea eax, [esp + 0x44]
push edx
lea ecx, [esp + 0x58]
push eax
push ecx
mov byte [esp + 0x88], 9
call fcn.004174a0
add esp, 0xc
lea ecx, [esp + 0x54]
mov byte [esp + 0x7c], 8
push 1
call fcn.00406d30
push 1
lea ecx, [esp + 0x48]
mov byte [esp + 0x80], 5
call fcn.00406d30
mov eax, dword [esp + 0x28]
cmp eax, ebp
je 0x43e54a
mov edx, dword [esp + 0x2c]
sub edx, eax
sar edx, 4
cmp edx, 1
jbe 0x43e54a
mov esi, dword [eax + 4]
cmp esi, ebp
jne 0x43e37b
mov esi, 0x45c630
cmp esi, ebp
jne 0x43e37b
xor eax, eax
jmp 0x43e37e
push esi
call edi
push esi
push eax
lea ecx, [esp + 0x1c]
call fcn.00408770
mov eax, dword [esp + 0x28]
mov esi, dword [eax + 0x14]
cmp esi, ebp
jne 0x43e3a1
mov esi, 0x45c630
cmp esi, ebp
jne 0x43e3a1
xor eax, eax
jmp 0x43e3a4
push esi
call edi
push esi
push eax
lea ecx, [esp + 0x1c]
call fcn.00408770
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx + 4]
cmp eax, ebp
jne 0x43e3bf
mov eax, 0x45c630
mov ecx, dword [ecx + 4]
mov esi, 0x45c630
cmp ecx, ebp
je 0x43e3cd
mov esi, ecx
mov edi, dword [sym.imp.SHLWAPI.dll_StrStrIW]
push str.exstring
push eax
call edi
cmp eax, esi
jne 0x43e47f
mov ecx, dword [esp + 0x38]
mov esi, dword [ebx + ecx + 4]
cmp esi, ebp
jne 0x43e3fc
mov esi, 0x45c630
cmp esi, ebp
jne 0x43e3fc
xor eax, eax
jmp 0x43e403
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
push eax
lea ecx, [esp + 0x18]
call fcn.00408770
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x10]
mov esi, dword [edx + 8]
mov edi, dword [eax - 8]
inc esi
cmp esi, ebp
jle 0x43e54a
cmp edi, ebp
jle 0x43e54a
cmp esi, edi
jle 0x43e433
mov esi, edi
lea ecx, [esp + 0x10]
call fcn.00408830
mov ecx, esi
mov eax, dword [esp + 0x10]
neg ecx
shl ecx, 0x1f
sub ecx, esi
add ecx, edi
lea edx, [ecx + ecx + 2]
lea ecx, [eax + esi*2]
push edx
mov edx, dword [eax - 4]
push ecx
lea ecx, [edx + edx + 2]
push ecx
push eax
call fcn.00409c60
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
add esp, 0x10
sub edi, esi
inc ecx
mov dword [edx - 8], edi
mov dword [esp + 0x18], ecx
add ebx, 0x10
jmp 0x43e22e
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx + 4]
cmp eax, ebp
jne 0x43e48f
mov eax, 0x45c630
mov esi, dword [ecx + 4]
cmp esi, ebp
jne 0x43e49b
mov esi, 0x45c630
push str.rect
push eax
call edi
cmp eax, esi
jne 0x43e54a
push 1
lea ecx, [esp + 0x28]
call fcn.004418c0
mov ecx, eax
call fcn.0041a850
push ecx
mov esi, eax
mov eax, dword [0x4631a0]
mov ebp, esp
test esi, esi
mov dword [esp + 0x24], esp
mov dword [ebp], eax
je 0x43e51e
mov ecx, esi
shr ecx, 0x10
jne 0x43e4e9
and esi, 0xffff
mov ecx, ebp
push esi
call fcn.00405950
jmp 0x43e51e
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
test edi, edi
je 0x43e51e
push edi
mov ecx, ebp
call fcn.00404720
test eax, eax
je 0x43e51e
lea ecx, [edi + edi]
lea edx, [edi + edi + 2]
cmp edx, ecx
jb 0x43e51e
mov edi, dword [ebp]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x68]
push ecx
call fcn.0043d040
mov edx, dword [esp + 0x94]
mov ecx, dword [eax]
add esp, 8
xor ebp, ebp
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov dword [edx + 0xc], eax
mov ecx, dword [esp + 0x18]
inc ecx
add ebx, 0x10
mov dword [esp + 0x18], ecx
jmp 0x43e22e
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x84]
mov edx, dword [ecx - 0xc]
lea eax, [ecx - 0xc]
cmp edx, ebp
jl 0x43e57b
push eax
mov dword [esi], ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x43e58b
mov edx, dword [0x4631a0]
push ecx
mov ecx, esi
mov dword [esi], edx
call fcn.00405430
mov dword [esp + 0x1c], 1
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
push eax
push ecx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x84], 4
call fcn.0041bc60
mov edx, dword [esp + 0x28]
push edx
call fcn.0044bf22
add esp, 4
lea ecx, [esp + 0x34]
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov byte [esp + 0x7c], 3
call fcn.0040e6a0
lea ecx, [esp + 0x14]
call fcn.00401c80
lea ecx, [esp + 0x10]
call fcn.00401c80
lea ecx, [esp + 0x88]
call fcn.00401c80
mov ecx, dword [esp + 0x74]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x70
ret