Function at 0x1003ceb0
Capabilities:
Get number of processors
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a176d
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x100c50e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov ecx, dword [ebx + 0x538]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov edx, eax
cmp edx, 0xffffffff
jne 0x1003cefe
mov ecx, ebx
call fcn.1003cc50
jmp 0x1003d0c5
mov ecx, dword [ebx + 0x538]
push edx
lea edx, [ebp - 0x28]
push edx
mov eax, dword [ecx]
call dword [eax + 0x38]
mov dword [ebp - 4], 0
mov eax, dword [ebx + 0x538]
push 0
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x64
lea eax, [ebp - 0x98]
push 0
push eax
call fcn.10085460
mov ecx, dword [ebx + 0x620]
lea esi, [ebp - 0x98]
xor eax, eax
mov dword [ebp - 0x6c], ecx
test ecx, ecx
mov dword [ebp - 0x54], ecx
mov ecx, 0x19
mov dword [ebp - 0x70], 0
setle al
lea eax, [eax*8 + 0x7de]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp + 8]
movsx eax, al
mov dword [ebp - 0x88], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebx + 0x53c]
sub eax, dword [ebx + 0x540]
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
sub esp, 0x58
mov dword [ebp - 0x7c], eax
mov edi, esp
mov eax, dword [ebx]
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
call dword [eax + 0x88]
cmp byte [ebx + 0x4ec], 0
je 0x1003d095
mov ecx, dword [ebx + 0x538]
cmp dword [ecx + 4], 0
je 0x1003cfee
mov eax, dword [ecx]
call dword [eax + 0x20]
mov esi, dword [ebx + 0x538]
mov eax, dword [esi + 4]
test eax, eax
je 0x1003cfe0
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [esi + 4], 0
mov byte [ebx + 0x4ec], 0
cmp dword [ebx + 0x620], 0
jg 0x1003d095
mov eax, dword [ebx + 0x60]
mov esi, dword [ebx + 0x38]
add eax, eax
cmp byte [ebx + 0x546], 0
mov esi, dword [esi + eax*8]
je 0x1003d050
mov edi, dword [ebx + 0xb8]
cmp esi, dword [edi + 0x28]
jge 0x1003d042
nop word [eax + eax]
push esi
lea eax, [ebp - 0x30]
mov ecx, edi
push eax
call fcn.10030e00
push dword [ebp - 0x30]
mov ecx, edi
call fcn.10032bc0
cmp al, 2
jne 0x1003d042
add esi, dword [ebp - 0x2c]
cmp esi, dword [edi + 0x28]
jl 0x1003d020
push 1
push 1
push esi
mov ecx, edi
call fcn.100309f0
mov esi, eax
mov edi, dword [ebp - 0x8c]
cmp esi, edi
jl 0x1003d095
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
mov ecx, ebx
push eax
sub esi, edi
push esi
push edi
call fcn.1003c110
mov ecx, ebx
call fcn.10044f50
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
mov ecx, ebx
cmovae eax, dword [ebp - 0x28]
push eax
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1003ce40
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x1003d0c5
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003d0bb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003d0e3
push edx
push ecx
call fcn.1008376a
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10083210
mov esp, ebp
pop ebp
ret 8
call fcn.10089306
int3