Function at 0x100f7900
Capabilities:
Access peb ldr_data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101c3c9c
mov eax, dword fs:[0]
push eax
sub esp, 0x40
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 dword [ebp - 0x48], ebx
mov dword [ebp - 0x3c], ecx
mov eax, dword [ebp + 8]
push 1
push 0x40
mov dword [ebp - 0x4c], eax
call dword [sym.imp.PhotoBase.dll_void____cdecl_BasePrivate::New_unsigned_int__bool_]
mov edi, eax
add esp, 8
mov dword [ebp - 0x40], edi
test edi, edi
je 0x100f7996
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0x34], 0x1000168c
mov dword [edi + 0x38], 0
mov dword [edi], 0x10006280
mov dword [edi + 0x34], 0x1000627c
mov dword [edi + 0x3c], 0
mov eax, dword [edi]
push edi
mov dword [ebp - 0x44], edi
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x101d83dc]
call esi
jmp 0x100f799b
xor edi, edi
mov dword [ebp - 0x44], edi
lea eax, [ebp - 0x34]
mov dword [ebp - 4], 0
push eax
push ebx
mov ebx, dword [ebp - 0x3c]
lea ecx, [edi + 4]
push ebx
call fcn.100f7510
push 1
push 0x18
call dword [sym.imp.PhotoBase.dll_void____cdecl_BasePrivate::New_unsigned_int__bool_]
mov esi, eax
add esp, 8
mov dword [ebp - 0x38], esi
mov byte [ebp - 4], 1
test esi, esi
je 0x100f7a32
mov ebx, dword [ebx + 4]
cmp dword [ebx + 0x1c], 0
je 0x100f79e3
cmp dword [ebx + 0x20], 0
jne 0x100f79e3
mov ecx, ebx
call fcn.100f8490
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0x40], eax
test eax, eax
je 0x100f7a10
add dword [eax + 4], 0xffffffff
jne 0x100f7a09
mov eax, dword [eax]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x101d83dc]
mov ecx, dword [ebp - 0x40]
call esi
mov esi, dword [ebp - 0x38]
mov dword [ebx + 0x1c], 0
mov ecx, ebx
call fcn.100f8250
lea eax, [ebp - 0x34]
mov ecx, esi
push eax
mov eax, dword [ebx + 0x20]
mov eax, dword [eax + 8]
push dword [eax + 0x10]
push 0
call fcn.100ef980
mov ebx, dword [ebp - 0x38]
jmp 0x100f7a34
xor ebx, ebx
mov esi, dword [edi + 8]
cmp esi, ebx
je 0x100f7a4c
test esi, esi
je 0x100f7a47
push ecx
mov ecx, esi
call fcn.100edb80
mov dword [edi + 8], ebx
mov esi, ebx
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 ecx, dword [esi + 0x10]
mov eax, dword [esi + 0xc]
mov dword [edi + 0x18], ecx
mov ecx, dword [ebp - 0x48]
mov dword [edi + 0x14], eax
test ecx, ecx
je 0x100f7a84
mov eax, dword [ecx]
mov dword [ebp - 0x24], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x20], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx + 0xc]
jmp 0x100f7a9f
mov ecx, dword [ebp - 0x3c]
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 dword [edi + 0x2c], eax
mov eax, dword [esi + 8]
mov dword [edi + 0x30], eax
mov eax, dword [ebp - 0x4c]
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