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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101b875c
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x101cc284]
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 edi, ecx
mov dword [ebp - 0x14], edi
mov dword [edi], 0x10001968
lea ecx, [edi + 8]
mov dword [edi + 4], 0x10001d08
call fcn.100bd850
mov dword [ebp - 4], 0
mov dword [edi], 0x10001d2c
mov dword [edi + 4], 0x10001d24
mov dword [edi + 8], 0x10001d10
mov eax, dword [0x101cd9f0]
mov eax, dword [eax + 0xc]
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], 0x10001f30
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
push 0x40
lea esi, [edi + 0x64]
push 0
push esi
call sub.msvcrt.dll_memset
fld1
fst dword [esi + 0x3c]
fst dword [esi + 0x28]
fst dword [esi + 0x14]
push 0x40
fstp dword [esi]
lea esi, [edi + 0xa4]
push 0
push esi
call sub.msvcrt.dll_memset
fld1
add esp, 0x18
fst dword [esi + 0x3c]
fst dword [esi + 0x28]
fst dword [esi + 0x14]
fstp dword [esi]
mov byte [edi + 0xe8], 0
mov dword [edi + 0xec], 0
mov dword [edi + 0xf0], 0
mov dword [edi + 0xf4], 0
mov dword [edi + 0xf8], 0
mov byte [edi + 0xfc], 0
mov dword [edi + 0x110], 0
mov word [edi + 0x114], 1
mov dword [edi + 0x118], 0
mov dword [edi + 0x11c], 0
mov dword [edi + 0x120], 0
mov dword [edi + 0x124], 0
mov byte [edi + 0x12c], 0
mov dword [edi + 0x130], 0
mov byte [ebp - 4], 6
mov edx, dword [0x101cd9f0]
mov eax, dword [edi + 0x10]
cmp byte [edx + 0x18], 0
jne 0x1005101c
cmp eax, 0xffffffff
je 0x1005101c
mov ecx, dword [edx + 4]
lea eax, [eax + eax*2]
mov eax, dword [ecx + eax*4 + 8]
cmp eax, 0xffffffff
je 0x1005101c
lea eax, [eax + eax*2]
mov eax, dword [ecx + eax*4 + 4]
test eax, eax
jne 0x1005101f
mov eax, dword [edx + 0x14]
mov eax, dword [eax]
lea esi, [edi + 0x64]
fldz
push 0x40
push 0
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]
push esi
mov dword [edi + 0x60], 0
mov dword [edi + 0x5c], 0
call sub.msvcrt.dll_memset
fld1
fst dword [esi + 0x3c]
fst dword [esi + 0x28]
fst dword [esi + 0x14]
push 0x40
fstp dword [esi]
lea esi, [edi + 0xa4]
push 0
push esi
call sub.msvcrt.dll_memset
fld1
fst dword [esi + 0x3c]
fst dword [esi + 0x28]
fst dword [esi + 0x14]
push 1
fstp dword [esi]
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, 0x20
mov dword [ebp - 0x18], ebx
test ebx, ebx
je 0x10051171
fld dword [0x100398b4]
lea ecx, [ebx + 4]
mov dword [ebx], 0x10001fa0
fstp dword [ecx + 0xc]
fld dword [0x1003980c]
fstp dword [ecx + 0x10]
fld dword [0x10039ca4]
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.10041eb0
mov dword [ebx + 0x34], 0x10001584
mov dword [ebx + 0x38], 0
mov dword [ebx], 0x10001f78
mov dword [ebx + 0x34], 0x10001f74
mov dword [ebx + 0x3c], 0
mov esi, dword [0x10001f7c]
mov ecx, esi
push ebx
call dword [0x101d13b0]
call esi
jmp 0x10051173
xor ebx, ebx
mov dword [edi + 0x130], ebx
test ebx, ebx
je 0x100511ab
mov eax, dword [ebx]
push ebx
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x101d13b0]
call esi
mov eax, dword [ebx]
push ebx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x101d13b0]
call esi
mov eax, dword [edi + 0x130]
mov dword [edi + 0xe4], eax
jmp 0x100511b1
mov dword [edi + 0xe4], ebx
mov eax, edi
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.101b6170
mov esp, ebp
pop ebp
ret