Function at 0x1003cc70
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xb0
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x1003d450
lea eax, [ebp - 0x18]
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
test eax, eax
je 0x1003d2aa
mov ebx, dword [0x1016d61c]
xorps xmm0, xmm0
mov dword [ebp - 0xbc], 0x30
mov dword [ebp - 0xb8], 3
mov dword [ebp - 0xb4], 0x1003d340
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], eax
movsd qword [ebp - 0xa4], xmm0
movsd qword [ebp - 0x9c], xmm0
mov dword [ebp - 0x94], 0x1011e904
mov dword [ebp - 0x90], 0
mov eax, dword [ebx]
cmp eax, 1
ja 0x1003ce83
movzx eax, byte [0x1016d394]
test al, al
je 0x1003ce83
movzx ecx, al
cmp ecx, 1
je 0x1003cd42
cmp ecx, 2
jne 0x1003ce6e
mov al, 2
movzx eax, al
push eax
push dword [0x1016d38c]
call fcn.10044460
add esp, 8
test al, al
je 0x1003ce83
mov eax, dword [0x1016d38c]
mov edx, dword [eax + 0x20]
test edx, edx
je 0x1003d2e4
mov esi, dword [eax + 0x1c]
movsd xmm0, qword [eax + 0x24]
lea edi, [ebp - 0x40]
mov dword [ebp - 0x8c], 0x1011e948
mov dword [ebp - 0x88], 1
mov dword [ebp - 0x7c], 0
lea ecx, [eax + 0x1c]
mov dword [ebp - 0x84], edi
lea edi, [ebp - 0x8c]
mov dword [ebp - 0x80], 1
mov dword [ebp - 0x74], esi
lea esi, [ebp - 0xbc]
mov dword [ebp - 0x70], edx
movlps qword [ebp - 0x6c], xmm0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x40], esi
lea esi, [ebp - 0x74]
mov dword [ebp - 0x3c], 0x10048240
mov dword [ebp - 0x4c], esi
lea esi, [ebp - 0x4c]
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], 0x1011e950
mov dword [ebp - 0x2c], esi
lea esi, [ebp - 0x2c]
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x24], ecx
push esi
push eax
call fcn.10045af0
add esp, 8
mov eax, dword [0x1016d630]
movzx eax, byte [eax]
test al, al
jne 0x1003cf92
mov eax, dword [0x10180d7c]
mov eax, dword [eax]
cmp eax, 4
jb 0x1003cf92
mov edi, dword [0x1016d38c]
mov eax, dword [edi + 0x14]
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x38], 4
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ecx
call fcn.1009d820
lea ecx, [ebp - 0x38]
push ecx
mov dword [ebp - 0x20], eax
push eax
mov dword [ebp - 0x5c], edx
call dword [edx + 0xc]
add esp, 8
test al, al
je 0x1003cf92
mov eax, dword [ebp - 0x30]
movsd xmm0, qword [ebp - 0x38]
mov dword [ebp - 0x50], eax
movsd qword [ebp - 0x58], xmm0
lea eax, [ebp - 0x58]
push esi
push eax
push dword [ebp - 0x5c]
push dword [ebp - 0x20]
push edi
jmp 0x1003cf8a
push 0x1016d38c
call fcn.1010e990
add esp, 4
test al, al
jne 0x1003cd42
mov eax, dword [0x1016d630]
movzx eax, byte [eax]
test al, al
jne 0x1003cf92
mov eax, dword [0x10180d7c]
mov eax, dword [eax]
cmp eax, 4
jb 0x1003cf92
mov esi, dword [0x1016d38c]
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x18]
mov dword [ebp - 0x2c], 4
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], ecx
call fcn.1009d820
mov edi, edx
lea ecx, [ebp - 0x2c]
push ecx
mov dword [ebp - 0x20], eax
push eax
call dword [edx + 0xc]
add esp, 8
test al, al
je 0x1003cf92
mov eax, dword [ebp - 0x24]
movsd xmm0, qword [ebp - 0x2c]
mov edx, dword [0x1016d38c]
mov dword [ebp - 0x44], eax
movsd qword [ebp - 0x4c], xmm0
mov ecx, dword [edx + 0x20]
test ecx, ecx
je 0x1003d2e4
lea eax, [edx + 0x1c]
movsd xmm0, qword [edx + 0x24]
mov dword [ebp - 0x5c], eax
mov eax, dword [edx + 0x1c]
mov dword [ebp - 0x8c], 0x1011e948
mov dword [ebp - 0x88], 1
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0xbc]
mov dword [ebp - 0x70], ecx
movlps qword [ebp - 0x6c], xmm0
mov dword [ebp - 0x64], 0
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x3c], 0x10048240
mov dword [ebp - 0x84], eax
lea eax, [ebp - 0x74]
mov dword [ebp - 0x80], 1
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x8c]
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x50], 0x1011e950
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x38]
push eax
push ecx
push edi
push dword [ebp - 0x20]
push esi
call fcn.100445f0
add esp, 0x14
lea eax, [ebp - 0xbc]
push eax
call dword [sym.imp.user32.dll_RegisterClassExW]
push 0
push dword [ebp - 0xa8]
push 0
push 0xfffffffffffffffd
push 0x64
push 0x64
push 0
push 0
push 0xcf0000
push 0x1011e904
push dword [ebp - 0x94]
push 0
call dword [sym.imp.user32.dll_CreateWindowExW]
mov dword [ebp - 0x60], eax
mov eax, dword [ebx]
cmp eax, 2
jae 0x1003d136
movzx eax, byte [0x1016d3a0]
test al, al
je 0x1003d136
movzx ecx, al
cmp ecx, 1
je 0x1003cffb
cmp ecx, 2
jne 0x1003d121
mov al, 2
movzx eax, al
push eax
push dword [0x1016d398]
call fcn.10044460
add esp, 8
test al, al
je 0x1003d136
mov eax, dword [0x1016d398]
mov edx, dword [eax + 0x20]
test edx, edx
je 0x1003d2f5
mov esi, dword [eax + 0x1c]
movsd xmm0, qword [eax + 0x24]
lea edi, [ebp - 0x40]
mov dword [ebp - 0x8c], 0x1011e948
mov dword [ebp - 0x88], 1
mov dword [ebp - 0x7c], 0
lea ebx, [ebp - 0x2c]
lea ecx, [eax + 0x1c]
mov dword [ebp - 0x84], edi
lea edi, [ebp - 0x8c]
mov dword [ebp - 0x80], 1
mov dword [ebp - 0x74], esi
lea esi, [ebp - 0x60]
mov dword [ebp - 0x70], edx
movlps qword [ebp - 0x6c], xmm0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x40], esi
lea esi, [ebp - 0x74]
mov dword [ebp - 0x3c], 0x100466c0
mov dword [ebp - 0x4c], esi
lea esi, [ebp - 0x4c]
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], 0x1011e950
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x24], ecx
push ebx
push eax
call fcn.10045af0
add esp, 8
mov eax, dword [0x1016d630]
movzx eax, byte [eax]
test al, al
jne 0x1003d23f
mov eax, dword [0x10180d7c]
mov eax, dword [eax]
cmp eax, 4
jb 0x1003d23f
mov esi, dword [0x1016d398]
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x18]
mov dword [ebp - 0x38], 4
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ecx
call fcn.1009d820
mov edi, edx
lea ecx, [ebp - 0x38]
push ecx
mov dword [ebp - 0x20], eax
push eax
call dword [edx + 0xc]
add esp, 8
test al, al
je 0x1003d23f
mov eax, dword [ebp - 0x30]
movsd xmm0, qword [ebp - 0x38]
mov dword [ebp - 0x50], eax
movsd qword [ebp - 0x58], xmm0
lea eax, [ebp - 0x58]
push ebx
push eax
push edi
push dword [ebp - 0x20]
push esi
jmp 0x1003d237
push 0x1016d398
call fcn.1010e990
add esp, 4
test al, al
jne 0x1003cffb
mov eax, dword [0x1016d630]
movzx eax, byte [eax]
test al, al
jne 0x1003d23f
mov eax, dword [0x10180d7c]
mov eax, dword [eax]
cmp eax, 4
jb 0x1003d23f
mov ebx, dword [0x1016d398]
mov eax, dword [ebx + 0x14]
mov ecx, dword [ebx + 0x18]
mov dword [ebp - 0x2c], 4
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], ecx
call fcn.1009d820
mov esi, eax
mov edi, edx
lea eax, [ebp - 0x2c]
push eax
push esi
call dword [edx + 0xc]
add esp, 8
test al, al
je 0x1003d23f
mov eax, dword [ebp - 0x24]
movsd xmm0, qword [ebp - 0x2c]
mov edx, dword [0x1016d398]
mov dword [ebp - 0x44], eax
movsd qword [ebp - 0x4c], xmm0
mov ecx, dword [edx + 0x20]
test ecx, ecx
je 0x1003d2f5
lea eax, [edx + 0x1c]
movsd xmm0, qword [edx + 0x24]
mov dword [ebp - 0x20], eax
mov eax, dword [edx + 0x1c]
mov dword [ebp - 0x8c], 0x1011e948
mov dword [ebp - 0x88], 1
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x60]
mov dword [ebp - 0x70], ecx
movlps qword [ebp - 0x6c], xmm0
mov dword [ebp - 0x64], 0
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x3c], 0x100466c0
mov dword [ebp - 0x84], eax
lea eax, [ebp - 0x74]
mov dword [ebp - 0x80], 1
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x8c]
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x50], 0x1011e950
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x38]
push eax
push ecx
push edi
push esi
push ebx
call fcn.100445f0
add esp, 0x14
mov eax, dword [ebp + 8]
movsd xmm1, qword [ebp - 0x9c]
movsd xmm2, qword [ebp - 0xa4]
movsd xmm0, qword [ebp - 0x94]
mov ecx, dword [ebp - 0x60]
mov edx, dword [ebp - 0x18]
movsd qword [eax + 0x20], xmm1
movsd xmm1, qword [ebp - 0xac]
movsd qword [eax + 0x18], xmm2
movsd xmm2, qword [ebp - 0xbc]
movsd qword [eax + 0x28], xmm0
movsd qword [eax + 0x10], xmm1
movsd xmm1, qword [ebp - 0xb4]
movsd qword [eax], xmm2
movsd qword [eax + 8], xmm1
mov dword [eax + 0x30], ecx
mov dword fs:[0], edx
add esp, 0xb0
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.100487a0
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xb8], edx
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0xbc]
push 0x1011e8f4
push 0x1011e80c
push eax
push 0x2b
push 0x1011e81c
call fcn.10114160
add esp, 0x14
ud2
push 0x1011e938
push 0x22
push str.FieldSet_corrupted__this_is_a_bug_
call fcn.10113e00
push 0x1011e960
push 0x22
push str.FieldSet_corrupted__this_is_a_bug_
call fcn.10113e00
nop word cs:[eax + eax]
push ebp
sub esp, 0x30
add ebp, 0xc
cmp dword [ebp - 0xb8], 0
je 0x1003d32f
lea eax, [ebp - 0xb8]
push eax
call fcn.10048410
add esp, 4
add esp, 0x30
pop ebp
ret