Function at 0x1003b7f0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x100592e6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov ecx, dword [esp + 0x24]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x18], esi
call fcn.10010300
mov dl, byte [esp + 0x28]
mov al, byte [esp + 0x28]
lea ebx, [esi + 0x90]
xor ebp, ebp
mov dword [esi + 0x8c], 0x1005d388
mov ecx, ebx
mov dword [esp + 0x1c], ebp
mov byte [ebx], dl
mov byte [ebx + 1], al
mov byte [ebx + 8], 0
call fcn.10040450
mov dl, byte [esp + 0x28]
mov al, byte [esp + 0x28]
lea ecx, [esi + 0xa0]
mov byte [esp + 0x1c], 1
mov byte [ecx], dl
mov byte [ecx + 1], al
mov byte [ecx + 8], 0
call fcn.100408c0
mov dl, byte [esp + 0x28]
mov al, byte [esp + 0x28]
lea ecx, [esi + 0xb0]
mov byte [esp + 0x1c], 2
mov byte [ecx], dl
mov byte [ecx + 1], al
mov byte [ecx + 8], 0
call fcn.10040c70
mov cl, byte [esp + 0x28]
lea edi, [esi + 0xc0]
mov byte [edi], cl
mov dword [edi + 4], ebp
mov dword [edi + 8], ebp
mov dword [edi + 0xc], ebp
mov dl, byte [esp + 0x28]
lea ebp, [esi + 0xd0]
xor eax, eax
mov byte [ebp], dl
mov dword [ebp + 4], eax
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], eax
lea ecx, [esi + 0xe8]
mov byte [esp + 0x1c], 5
call fcn.1000f010
lea ecx, [esi + 0x114]
mov byte [esp + 0x1c], 6
call fcn.1000f010
lea ecx, [esi + 0x140]
mov byte [esp + 0x1c], 7
call fcn.1000f010
lea ecx, [esi + 0x16c]
mov byte [esp + 0x1c], 8
call fcn.1000f010
mov dword [esi], 0x1005d2b4
mov dword [esi + 0x8c], 0x1005d1c0
mov eax, dword [ebx + 4]
mov byte [esp + 0x1c], 9
push eax
mov ecx, dword [eax]
push ecx
lea eax, [esp + 0x30]
mov ecx, ebx
push eax
call fcn.1003f7d0
mov eax, dword [esi + 0xa4]
lea ecx, [esi + 0xa0]
push eax
mov edx, dword [eax]
push edx
lea edx, [esp + 0x30]
push edx
call fcn.1003fd60
mov eax, dword [esi + 0xb4]
lea ecx, [esi + 0xb0]
push eax
mov edx, dword [eax]
lea eax, [esp + 0x2c]
push edx
push eax
call fcn.100402f0
mov eax, dword [edi + 8]
mov ebx, dword [edi + 4]
mov ecx, eax
cmp ecx, eax
je 0x1003b974
mov edx, dword [ecx]
add ecx, 4
mov dword [ebx], edx
add ebx, 4
cmp ecx, eax
jne 0x1003b966
mov eax, dword [edi + 8]
mov ecx, edi
push eax
push ebx
call fcn.1004a140
mov dword [edi + 8], ebx
mov ecx, dword [ebp + 4]
mov eax, dword [ebp + 8]
push ecx
push eax
push eax
call fcn.10033580
mov ecx, dword [ebp + 8]
add esp, 0xc
mov edi, eax
push ecx
push edi
mov ecx, ebp
call fcn.1004a140
or eax, 0xffffffff
mov dword [ebp + 8], edi
mov dword [esi + 0xe0], eax
mov dword [esi + 0xe4], eax
xor edi, edi
mov eax, 0xa
push edi
mov dword [esi + 0x198], 0x1e
mov dword [esi + 0x19c], 0x6a
mov dword [esi + 0x1a0], 0x32
mov dword [esi + 0x1a4], 1
mov dword [esi + 0x1a8], eax
mov dword [esi + 0x1ac], eax
mov dword [esi + 0x1b0], eax
mov dword [esi + 0x1b4], eax
mov dword [esi + 0x1b8], 0x64
mov dword [esi + 0x1bc], 0x46
mov dword [esi + 0x1c0], edi
mov dword [esi + 0x1c4], edi
mov dword [esi + 0x1c8], 0x12c
mov dword [esi + 0x1cc], 0xc8
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x1d0], eax
mov dword [esi + 0x1d4], edi
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 8