Function at 0x1004db80
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101bd791
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x101d32d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], 0x1000163c
lea ecx, [edi + 8]
mov dword [edi + 4], 0x10001e08
call fcn.100bc750
mov dword [ebp - 4], 0
mov dword [edi], 0x10001e24
mov dword [edi + 4], 0x10001820
mov dword [edi + 8], 0x10001e10
mov eax, dword [0x101d4ac8]
mov eax, dword [eax + 0xc]
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], 0x10002028
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov word [edi + 0x34], 0
mov dword [edi + 0x38], edi
lea esi, [edi + 0x3c]
mov byte [ebp - 4], 2
mov ebx, 4
mov ecx, esi
call fcn.10044f30
add esi, 8
sub ebx, 1
jne 0x1004dc35
lea ecx, [edi + 0x64]
call fcn.10049c00
lea ecx, [edi + 0xa4]
call fcn.10049c00
mov byte [edi + 0xe8], bl
mov dword [edi + 0xec], ebx
mov dword [edi + 0xf0], ebx
mov dword [edi + 0xf4], ebx
mov dword [edi + 0xf8], ebx
mov byte [edi + 0xfc], bl
mov dword [edi + 0x110], ebx
mov word [edi + 0x114], 1
mov dword [edi + 0x118], ebx
mov dword [edi + 0x11c], ebx
mov dword [edi + 0x120], ebx
mov dword [edi + 0x124], ebx
mov byte [edi + 0x12c], bl
mov dword [edi + 0x130], ebx
mov byte [ebp - 4], 7
mov esi, dword [0x101d4ac8]
mov eax, dword [edi + 0x10]
cmp byte [esi + 0x18], bl
jne 0x1004dcdf
cmp eax, 0xffffffff
je 0x1004dcdf
mov ecx, dword [esi + 4]
lea eax, [eax + eax*2]
mov eax, dword [ecx + eax*4 + 8]
cmp eax, 0xffffffff
je 0x1004dcdf
lea eax, [eax + eax*2]
mov eax, dword [ecx + eax*4 + 4]
test eax, eax
jne 0x1004dce2
mov eax, dword [esi + 0x14]
mov eax, dword [eax]
lea ecx, [edi + 0x64]
fldz
mov eax, dword [eax + 8]
mov dword [edi + 0x128], eax
mov dword [edi + 0x100], 0
mov dword [edi + 0x104], 1
mov dword [edi + 0x108], 2
mov dword [edi + 0x10c], 0
fst dword [edi + 0x3c]
fst dword [edi + 0x40]
fst dword [edi + 0x44]
fst dword [edi + 0x48]
fst dword [edi + 0x4c]
fst dword [edi + 0x50]
fst dword [edi + 0x54]
fstp dword [edi + 0x58]
mov dword [edi + 0x60], 0
mov dword [edi + 0x5c], 0
call fcn.10049c00
lea ecx, [edi + 0xa4]
call fcn.10049c00
push 1
push 0x40
mov dword [edi + 0xe4], 0
call dword [sym.imp.PhotoBase.dll_void____cdecl_BasePrivate::New_unsigned_int__bool_]
mov ebx, eax
add esp, 8
mov dword [ebp - 0x10], ebx
test ebx, ebx
je 0x1004de41
mov dword [ebx], 0x10002098
lea ecx, [ebx + 4]
fld dword [0x10035b7c]
fstp dword [ecx + 0xc]
fld dword [0x10035ad4]
fstp dword [ecx + 0x10]
fld dword [0x10035f7c]
fstp dword [ecx + 0x14]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0x11
mov dword [ecx + 0x18], 0xffffffff
mov dword [ecx + 0x1c], 0
mov dword [ecx + 0x20], 0
mov dword [ecx + 0x24], 0xa
mov dword [ecx + 0x28], 0
mov dword [ecx + 0x2c], 0
call fcn.1003e940
mov dword [ebx + 0x34], 0x1000168c
mov dword [ebx + 0x38], 0
mov dword [ebx], 0x10002070
mov dword [ebx + 0x34], 0x1000206c
mov dword [ebx + 0x3c], 0
test ebx, ebx
je 0x1004de39
mov eax, dword [ebx]
push ebx
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x101d83dc]
call esi
mov dword [edi + 0x130], ebx
mov eax, dword [ebx]
push ebx
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x101d83dc]
call esi
mov eax, dword [ebx]
push ebx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x101d83dc]
call esi
jmp 0x1004de4b
mov dword [edi + 0x130], ebx
jmp 0x1004de4b
mov dword [edi + 0x130], 0
mov eax, dword [edi + 0x130]
mov dword [edi + 0xe4], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret