Function at 0x1000cca0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x100214e8
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
xor ebx, ebx
push esi
cmp ecx, ebx
push edi
je 0x1000ccc6
lea edi, [ecx - 0x74]
jmp 0x1000ccc8
xor edi, edi
mov word [esp + 0x30], bx
mov eax, dword [edi + 0x1c]
lea esi, [edi + 4]
cmp eax, ebx
mov dword [esp + 0x48], ebx
je 0x1000cec6
push ebx
lea edx, [esp + 0x34]
mov ecx, dword [eax]
push ebx
push edx
lea edx, [esp + 0x2c]
push edx
push 2
push 0x400
push 0x10024f0c
push 0xfffffd3b
push eax
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
call dword [ecx + 0x18]
cmp eax, ebx
jl 0x1000cec6
cmp word [esp + 0x30], 0xb
jne 0x1000cec6
cmp word [esp + 0x38], bx
jne 0x1000cec6
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], ebx
mov ecx, dword [esi + 0x10]
xor eax, eax
cmp ecx, ebx
mov byte [esp + 0x48], 2
mov dword [esp + 0xc], eax
je 0x1000cd5e
mov eax, dword [ecx]
lea edx, [esp + 0xc]
push edx
push 0x10024e8c
push ecx
call dword [eax]
mov eax, dword [esp + 0xc]
cmp eax, ebx
mov byte [esp + 0x48], 3
je 0x1000cd77
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
mov edi, eax
cmp edi, ebx
jge 0x1000ce7c
mov dword [esp + 0x50], ebx
mov edx, dword [esi]
lea eax, [esp + 0x50]
push eax
push 0x10024f1c
mov ecx, esi
mov byte [esp + 0x50], 4
call dword [edx + 4]
mov ecx, dword [esp + 0x50]
push 0x10024e6c
lea edx, [esp + 0x18]
push ecx
push edx
call fcn.1000a650
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x1000ce64
mov ecx, dword [eax]
lea edx, [esp + 0x20]
push edx
push eax
call dword [ecx + 0xc]
mov edi, eax
cmp edi, ebx
jl 0x1000ce69
mov eax, dword [esp + 0x50]
push ebp
push 0x10024f8c
lea ecx, [esp + 0x18]
push eax
push ecx
call fcn.1000a650
mov eax, dword [esp + 0x14]
mov ebp, dword [sym.imp.ole32.dll_CoTaskMemFree]
cmp eax, ebx
je 0x1000ce55
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], ebx
mov edx, dword [eax]
push ecx
push 2
push eax
call dword [edx + 0x40]
lea edx, [esp + 0x20]
mov ecx, esi
push edx
call fcn.10011280
test eax, eax
jge 0x1000ce12
mov dword [esp + 0x20], 0x400
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push ebx
push ebx
push eax
push ecx
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x64]
push edx
mov edx, dword [esi + 0x2c]
push eax
mov eax, dword [esi + 0x30]
push 1
push ecx
mov ecx, dword [esp + 0x78]
push edx
push eax
push ecx
call dword [sym.imp.OLEAUT32.dll_OleLoadPicture]
mov edx, dword [esp + 0x1c]
mov edi, eax
push edx
call ebp
mov eax, dword [esp + 0x28]
push eax
call ebp
pop ebp
jmp 0x1000ce69
mov eax, dword [esp + 0x28]
mov edi, 0x40181
push eax
call ebp
pop ebp
jmp 0x1000ce69
mov edi, 0x40181
mov eax, dword [esp + 0x50]
mov byte [esp + 0x48], 3
cmp eax, ebx
je 0x1000ce7c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esp + 0xc]
mov byte [esp + 0x48], 2
call fcn.1000a370
lea ecx, [esp + 0x10]
mov byte [esp + 0x48], 1
call fcn.1000a370
lea ecx, [esp + 0x14]
mov byte [esp + 0x48], bl
call fcn.1000a370
lea edx, [esp + 0x30]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
add esp, 0x40
ret 8
lea eax, [edi + 0x74]
cmp eax, ebx
je 0x1000ced2
add eax, 0xffffff8c
jmp 0x1000ced4
xor eax, eax
lea edi, [eax + 4]
mov eax, dword [esp + 0x50]
push eax
push 0xfffffffffffffffb
mov ecx, edi
call fcn.10011c60
mov esi, eax
cmp esi, ebx
jl 0x1000cef4
mov ecx, edi
xor esi, esi
call fcn.100134c0
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov ecx, dword [esp + 0x40]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret 8