Function at 0x100f7700
Capabilities:
Access peb ldr_data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101c3c4c
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x101d32d0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov esi, ecx
mov dword [ebp - 0x2c], esi
mov eax, dword [ebp + 8]
push 1
push 0x40
mov dword [ebp - 0x34], eax
call dword [sym.imp.PhotoBase.dll_void____cdecl_BasePrivate::New_unsigned_int__bool_]
mov edi, eax
add esp, 8
mov dword [ebp - 0x30], edi
test edi, edi
je 0x100f7798
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0x34], 0x1000168c
mov dword [edi + 0x38], 0
mov dword [edi], 0x10006268
mov dword [edi + 0x34], 0x10006264
mov dword [edi + 0x3c], 0
mov eax, dword [edi]
push edi
mov dword [ebp - 0x28], edi
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x101d83dc]
call esi
mov esi, dword [ebp - 0x2c]
jmp 0x100f779d
xor edi, edi
mov dword [ebp - 0x28], edi
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 0
push eax
push ebx
lea ecx, [edi + 4]
push esi
call fcn.100f7510
push 1
push 0x18
call dword [sym.imp.PhotoBase.dll_void____cdecl_BasePrivate::New_unsigned_int__bool_]
add esp, 8
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x100f7817
mov esi, dword [esi + 4]
cmp dword [esi + 0x20], 0
jne 0x100f7800
cmp dword [esi + 0x1c], 0
jne 0x100f77e4
push 0x86150001
call dword [sym.imp.PhotoBase.dll_void___stdcall_Base::Throw_long_int_]
mov ecx, esi
call fcn.100f8250
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x20]
push 0
push 0
push dword [eax + 8]
mov ecx, dword [ecx + 8]
call fcn.100f9040
mov eax, dword [esi + 0x20]
lea ecx, [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x30]
mov eax, dword [eax + 8]
push dword [eax + 0x10]
call fcn.100efac0
jmp 0x100f7819
xor eax, eax
mov esi, dword [edi + 8]
mov dword [ebp - 0x28], eax
cmp esi, eax
je 0x100f7837
test esi, esi
je 0x100f7832
push ecx
mov ecx, esi
call fcn.100f7f80
mov eax, dword [ebp - 0x28]
mov dword [edi + 8], eax
mov esi, eax
mov eax, dword [esi + 4]
mov dword [edi + 0x10], eax
mov eax, dword [esi]
cdq
idiv dword [esi + 8]
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], ecx
test ebx, ebx
je 0x100f786c
mov eax, dword [ebx]
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 4]
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0xc]
jmp 0x100f7887
mov ecx, dword [ebp - 0x2c]
mov ecx, dword [ecx + 4]
mov eax, dword [ecx + 8]
mov dword [ebp - 0x24], eax
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx + 0x14]
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x24]
mov eax, dword [ecx]
mov dword [edi + 0x1c], eax
mov eax, dword [ecx + 4]
mov dword [edi + 0x20], eax
mov eax, dword [ecx + 8]
mov dword [edi + 0x24], eax
mov eax, dword [ecx + 0xc]
mov dword [edi + 0x28], eax
mov eax, dword [esi + 0x14]
push edi
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x14]
mov dword [edi + 0x2c], eax
mov eax, dword [esi + 8]
mov dword [edi + 0x30], eax
mov eax, dword [ebp - 0x34]
mov dword [eax], edi
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x101d83dc]
call esi
mov eax, dword [edi]
push edi
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x101d83dc]
call esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.101b9e50
mov esp, ebp
pop ebp
ret 4