Function at 0x41cdd0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x469cb8
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x4896a0]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4896a0]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x90]
mov eax, dword [esp + 0x70]
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x30], edx
mov dword [esp + 0x2c], ecx
xor ebx, ebx
push ebx
push eax
mov dword [esp + 0x70], ebx
lea edi, [ebx + 1]
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceA]
mov dword [esp + 0x24], eax
cmp eax, ebx
jne 0x41ce7d
mov eax, dword [esp + 0x80]
cmp eax, ebx
je 0x41ce54
push eax
call fcn.00426cf8
add esp, 4
mov edx, dword [esp + 0x74]
push edx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
call fcn.00426cf8
add esp, 4
xor eax, eax
jmp 0x41d2fe
mov dword [esp + 0x14], ebx
jmp 0x41ce90
mov esi, dword [esp + 0x84]
mov ecx, dword [esp + 0x80]
mov ebp, esi
sub ebp, ecx
mov eax, 0xf00f00f1
imul ebp
add edx, ebp
sar edx, 8
mov ebp, edx
shr ebp, 0x1f
add ebp, edx
cmp ebx, ebp
jge 0x41d2a2
xor eax, eax
mov byte [esp + 0x3c], 0
mov dword [esp + 0x3d], eax
mov dword [esp + 0x41], eax
mov dword [esp + 0x45], eax
mov dword [esp + 0x49], eax
mov dword [esp + 0x4d], eax
mov dword [esp + 0x51], eax
mov dword [esp + 0x55], eax
mov word [esp + 0x59], ax
mov byte [esp + 0x5b], al
cmp ebx, ebp
jb 0x41cf00
call fcn.0044c1d8
mov esi, dword [esp + 0x84]
mov ecx, dword [esp + 0x80]
mov ebp, dword [esp + 0x14]
cmp dword [ecx + ebp], 0x64
mov eax, 0xf00f00f1
jne 0x41d1c3
mov edi, esi
sub edi, ecx
imul edi
add edx, edi
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x41cf3c
call fcn.0044c1d8
mov esi, dword [esp + 0x84]
mov ecx, dword [esp + 0x80]
mov edx, dword [ecx + ebp + 4]
xor eax, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], eax
mov edi, esi
sub edi, ecx
mov dword [esp + 0x18], edx
mov eax, 0xf00f00f1
imul edi
add edx, edi
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x41cf7c
call fcn.0044c1d8
mov esi, dword [esp + 0x84]
mov ecx, dword [esp + 0x80]
mov edx, dword [ecx + ebp + 8]
mov edi, esi
sub edi, ecx
mov dword [esp + 0x1c], edx
mov eax, 0xf00f00f1
imul edi
add edx, edi
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x41cfb2
call fcn.0044c1d8
mov esi, dword [esp + 0x84]
mov ecx, dword [esp + 0x80]
cmp dword [ecx + ebp + 4], 0
jne 0x41d18b
mov edi, esi
sub edi, ecx
mov eax, 0xf00f00f1
imul edi
add edx, edi
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x41cfeb
call fcn.0044c1d8
mov esi, dword [esp + 0x84]
mov ecx, dword [esp + 0x80]
cmp dword [ecx + ebp + 8], 0
jne 0x41d18b
sub esi, ecx
mov eax, 0xf00f00f1
imul esi
add edx, esi
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x14], 1
cmp ebx, eax
jb 0x41d023
call fcn.0044c1d8
mov ecx, dword [esp + 0x80]
lea ecx, [ecx + ebp + 0xc]
push ecx
call fcn.0041b430
mov esi, eax
push 0x4000000
mov dword [esp + 0x24], esi
call fcn.0044a002
mov edi, eax
add esp, 8
mov dword [esp + 0x18], edi
test edi, edi
jne 0x41d067
push 0x4000000
call fcn.0044a002
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
je 0x41d2a0
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x30]
test eax, eax
je 0x41d084
mov edx, dword [esp + 0x2c]
push edx
push esi
push 0xffffffffffffffff
call eax
add esp, 0xc
test al, al
je 0x41d2a0
mov eax, dword [esp + 0x28]
push eax
lea ecx, [esp + 0x40]
push str.DOC_d
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
cmp dword [esp + 0x14], 0
jne 0x41d0a9
mov edx, dword [esp + 0x20]
add edi, edx
cmp esi, 0x4000000
jl 0x41d0b6
mov esi, 0x4000000
cmp dword [esp + 0x14], 0
je 0x41d119
mov ecx, dword [esp + 0x84]
sub ecx, dword [esp + 0x80]
mov eax, 0xf00f00f1
imul ecx
add edx, ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x34], 0
cmp ebx, eax
jb 0x41d0ef
call fcn.0044c1d8
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x80]
lea ecx, [esp + 0x34]
push ecx
push edi
push esi
push 0
push edx
lea ecx, [eax + ebp + 0xc]
push ecx
call fcn.0041b500
add esp, 0x18
test eax, eax
je 0x41d19c
mov edx, dword [esp + 0x38]
push 0x20
push edx
push esi
push edi
call fcn.00420a20
mov ecx, dword [esp + 0x34]
add esp, 0x10
push esi
push edi
push 0
lea eax, [esp + 0x48]
push eax
push str.DATA
push ecx
call dword [sym.imp.KERNEL32.dll_UpdateResourceA]
mov edi, eax
test edi, edi
je 0x41d19c
inc dword [esp + 0x28]
mov eax, 0x4000000
sub dword [esp + 0x1c], eax
add dword [esp + 0x20], eax
mov eax, dword [esp + 0x30]
test eax, eax
je 0x41d177
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
push edx
push ecx
push 0
call eax
add esp, 0xc
test al, al
je 0x41d19c
cmp dword [esp + 0x1c], 0
jle 0x41d19e
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
jmp 0x41d084
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x14], 0
jmp 0x41d063
xor edi, edi
cmp dword [esp + 0x14], 0
je 0x41d28b
mov eax, dword [esp + 0x18]
test eax, eax
je 0x41d28b
push eax
call fcn.00449f25
add esp, 4
jmp 0x41d28b
sub esi, ecx
imul esi
add edx, esi
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x41d1e3
call fcn.0044c1d8
mov ecx, dword [esp + 0x80]
mov ecx, dword [ecx + ebp]
push ecx
lea edx, [esp + 0x40]
push str.RES_d
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
mov edi, dword [esp + 0x90]
mov esi, dword [esp + 0x8c]
mov ecx, edi
sub ecx, esi
mov eax, 0xf00f00f1
imul ecx
add edx, ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
add esp, 0xc
cmp ebx, eax
jb 0x41d236
call fcn.0044c1d8
mov edi, dword [esp + 0x84]
mov esi, dword [esp + 0x80]
sub edi, esi
mov eax, 0xf00f00f1
imul edi
add edx, edi
sar edx, 8
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
add ebp, esi
cmp ebx, ecx
jb 0x41d25d
call fcn.0044c1d8
mov esi, dword [esp + 0x80]
mov edx, dword [ebp + 8]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + esi + 4]
mov eax, dword [esp + 0x24]
push edx
push ecx
push 0
lea edx, [esp + 0x48]
push edx
push str.DATA
push eax
call dword [sym.imp.KERNEL32.dll_UpdateResourceA]
mov edi, eax
test edi, edi
je 0x41d2a0
mov ebp, dword [esp + 0x14]
add ebp, 0x111
inc ebx
mov dword [esp + 0x14], ebp
test edi, edi
jne 0x41ce90
jmp 0x41d2a2
xor edi, edi
mov edx, dword [esp + 0x24]
xor ecx, ecx
xor ebx, ebx
cmp edi, ebx
sete cl
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_EndUpdateResourceA]
cmp edi, ebx
je 0x41d2c4
cmp eax, ebx
je 0x41d2c4
lea esi, [ebx + 1]
jmp 0x41d2c6
xor esi, esi
mov eax, dword [esp + 0x80]
cmp eax, ebx
je 0x41d2da
push eax
call fcn.00426cf8
add esp, 4
mov eax, dword [esp + 0x74]
push eax
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
call fcn.00426cf8
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.00449ba6
add esp, 0x58
ret