Function at 0x100f5c30
Capabilities:
Access peb ldr_data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101bdd83
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x101cc284]
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 - 0x44], ebx
mov dword [ebp - 0x3c], ecx
mov eax, dword [ebp + 8]
push 1
push 0x40
mov dword [ebp - 0x48], 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 0x100f5cb3
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0x34], 0x10001584
mov dword [edi + 0x38], 0
mov dword [edi], 0x100061a0
mov dword [edi + 0x34], 0x1000619c
mov dword [edi + 0x3c], 0
jmp 0x100f5cb5
xor edi, edi
mov dword [ebp - 0x4c], edi
test edi, edi
je 0x100f5ccc
mov eax, dword [edi]
push edi
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x101d13b0]
call esi
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.100f5860
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 0x100f5d63
mov ebx, dword [ebx + 4]
cmp dword [ebx + 0x1c], 0
je 0x100f5d14
cmp dword [ebx + 0x20], 0
jne 0x100f5d14
mov ecx, ebx
call fcn.100f6860
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0x40], eax
test eax, eax
je 0x100f5d41
add dword [eax + 4], 0xffffffff
jne 0x100f5d3a
mov eax, dword [eax]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x101d13b0]
mov ecx, dword [ebp - 0x40]
call esi
mov esi, dword [ebp - 0x38]
mov dword [ebx + 0x1c], 0
mov ecx, ebx
call fcn.100f65f0
mov eax, dword [ebx + 0x20]
lea ecx, [ebp - 0x34]
push ecx
mov ecx, esi
mov eax, dword [eax + 8]
push dword [eax + 0x10]
push 0
call fcn.100edd80
mov ebx, dword [ebp - 0x38]
jmp 0x100f5d65
xor ebx, ebx
mov byte [ebp - 4], 0
mov esi, dword [edi + 8]
cmp esi, ebx
je 0x100f5d8a
test esi, esi
je 0x100f5d85
mov ecx, esi
call fcn.100edcf0
push esi
call dword [sym.imp.PhotoBase.dll_void___cdecl_BasePrivate::Delete_void__]
add esp, 4
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 ecx, dword [ebp - 0x44]
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0xc]
mov dword [edi + 0x14], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 0x18], eax
test ecx, ecx
je 0x100f5dc2
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 0x100f5ddd
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 - 0x48]
mov dword [eax], edi
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x101d13b0]
call esi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [edi]
push edi
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x101d13b0]
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.101b6170
mov esp, ebp
pop ebp
ret 4