Function at 0x1000c730
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x2c
push ebx
push ebp
push esi
mov ebx, ecx
push edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], 0
call fcn.1000cc20
mov eax, dword [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
mov dword [ebx + 0x6c], eax
jne 0x1000c766
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 8
mov ecx, dword [esp + 0x44]
mov edi, 0x100290c0
mov dword [ebx + 0x28], ecx
mov ecx, 3
mov esi, eax
xor edx, edx
mov dword [ebx + 0x68], eax
repe cmpsb byte [esi], byte es:[edi]
je 0x1000c85d
lea edx, [eax + 3]
mov ecx, 3
mov edi, 0x10029388
mov esi, edx
xor ebp, ebp
repe cmpsb byte [esi], byte es:[edi]
jne 0x1000c7b1
mov esi, edx
mov ecx, 3
mov edi, 0x10029384
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x1000c85d
mov esi, dword [esp + 0x40]
mov dword [ebx + 0x6c], 0
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [esp + 0x10]
push eax
push 0
push esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
je 0x1000c7e1
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2c
ret 8
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x10]
lea esi, [ebx + 0x64]
push esi
push 0x10024950
push 0
push ecx
push edx
call dword [sym.imp.OLEPRO32.DLL_OleLoadPicture]
test eax, eax
mov eax, dword [esp + 0x10]
je 0x1000c816
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2c
ret 8
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esi]
lea edx, [esp + 0x40]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov esi, dword [esi]
lea ecx, [esp + 0x18]
push ecx
push esi
mov eax, dword [esi]
call dword [eax + 0x1c]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x18]
mov dword [ebx + 0x18], edx
mov dword [ebx + 0x1c], eax
mov edx, dword [ebx + 0x1c]
mov eax, dword [ebx + 0x18]
push edx
push eax
mov ecx, ebx
call fcn.1000d580
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 8
lea edi, [eax + 6]
xor ecx, ecx
mov dword [ebx + 0x34], 1
mov dword [ebx + 0x70], edi
mov cl, byte [edi + 4]
mov edx, ecx
sar edx, 7
cmp edx, 1
jne 0x1000c8ab
and ecx, 7
inc ecx
shl edx, cl
lea ecx, [edx + edx*2]
xor edx, edx
mov dword [ebx + 0x30], ecx
mov dl, byte [edi + 5]
mov esi, edx
xor ecx, ecx
xor edx, edx
lea eax, [eax + esi*2]
mov ch, byte [esi + eax + 0xf]
mov dl, byte [esi + eax + 0xd]
mov cl, byte [esi + eax + 0xe]
lea esi, [esi + eax + 0xd]
shl ecx, 8
or ecx, edx
mov dword [ebx + 0x20], ecx
xor eax, eax
xor ecx, ecx
mov ax, word [edi]
xor esi, esi
mov dword [ebx + 0x18], eax
mov cx, word [edi + 2]
mov dword [ebx + 0x1c], ecx
mov ecx, ebx
xor edi, edi
call fcn.1000cef0
mov ecx, ebx
call fcn.1000cf00
test eax, eax
je 0x1000c8e2
mov ecx, ebx
inc esi
call fcn.1000cf00
test eax, eax
jne 0x1000c8d2
cmp esi, edi
jne 0x1000c8fc
mov edx, dword [esp + 0x40]
mov dword [ebx + 0x6c], edi
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2c
ret 8
cmp esi, 1
jne 0x1000c96b
mov esi, dword [esp + 0x40]
mov dword [ebx + 0x6c], edi
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [esp + 0x10]
push eax
push edi
push esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
je 0x1000c92c
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2c
ret 8
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x10]
lea ecx, [ebx + 0x64]
push ecx
push 0x10024950
push edi
push edx
push eax
call dword [sym.imp.OLEPRO32.DLL_OleLoadPicture]
test eax, eax
mov eax, dword [esp + 0x10]
je 0x1000c960
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2c
ret 8
mov edx, dword [eax]
push eax
call dword [edx + 8]
jmp 0x1000c844
mov ecx, ebx
call fcn.1000cef0
lea eax, [esp + 0x38]
lea ecx, [esp + 0x2c]
push eax
lea edx, [esp + 0x28]
push ecx
lea eax, [esp + 0x3c]
push edx
lea ecx, [esp + 0x24]
push eax
push ecx
mov ecx, ebx
call fcn.1000d300
mov esi, eax
cmp esi, edi
je 0x1000cbdf
lea edx, [esp + 0x44]
mov dword [esp + 0x44], edi
push edx
push 1
push esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
je 0x1000c9be
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x1000cbb3
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x44]
lea eax, [esp + 0x20]
push eax
push 0x10024950
push edi
push ecx
push edx
call dword [sym.imp.OLEPRO32.DLL_OleLoadPicture]
test eax, eax
mov eax, dword [esp + 0x44]
je 0x1000c9ec
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x1000cbb3
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov ecx, dword [ebx + 0x7c]
mov esi, dword [ebx + 0x80]
add ebx, 0x74
sub esi, ecx
mov eax, 0x92492493
mov ebp, ecx
imul esi
add edx, esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, 1
jae 0x1000caeb
mov eax, dword [ebx + 4]
test eax, eax
je 0x1000ca41
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
cmp edx, 1
mov esi, edx
ja 0x1000ca46
mov esi, 1
mov ecx, ebx
call fcn.1000d5c0
mov edi, eax
add edi, esi
mov eax, edi
jns 0x1000ca57
xor eax, eax
lea edx, [eax*8]
sub edx, eax
shl edx, 2
push edx
call fcn.1001a459
add esp, 4
mov esi, eax
mov eax, dword [ebx + 4]
mov ecx, ebx
push esi
push ebp
push eax
call fcn.1000d600
lea ecx, [esp + 0x20]
mov dword [esp + 0x1c], eax
push ecx
push 1
push eax
mov ecx, ebx
call fcn.1000d640
mov edx, dword [esp + 0x1c]
mov eax, dword [ebx + 8]
add edx, 0x1c
mov ecx, ebx
push edx
push eax
push ebp
call fcn.1000d600
mov ecx, dword [ebx + 8]
mov edx, dword [ebx + 4]
push ecx
push edx
mov ecx, ebx
call fcn.1000d5f0
mov eax, dword [ebx + 4]
push eax
call fcn.1001a482
lea ecx, [edi*8]
add esp, 4
sub ecx, edi
lea edx, [esi + ecx*4]
mov ecx, ebx
mov dword [ebx + 0xc], edx
call fcn.1000d5c0
inc eax
mov dword [ebx + 4], esi
lea ecx, [eax*8]
sub ecx, eax
lea edx, [esi + ecx*4]
mov dword [ebx + 8], edx
jmp 0x1000cbaf
mov esi, ecx
mov eax, 0x92492493
sub esi, ebp
imul esi
add edx, esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, 1
jae 0x1000cb60
lea edx, [ebp + 0x1c]
push edx
push ecx
push ebp
mov ecx, ebx
call fcn.1000d600
mov esi, dword [ebx + 8]
lea eax, [esp + 0x20]
mov ecx, esi
push eax
sub ecx, ebp
mov eax, 0x92492493
imul ecx
add edx, ecx
mov eax, 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov ecx, ebx
sub eax, edx
push eax
push esi
call fcn.1000d640
mov eax, dword [ebx + 8]
cmp ebp, eax
je 0x1000cbab
mov edi, ebp
add ebp, 0x1c
mov ecx, 7
lea esi, [esp + 0x20]
cmp ebp, eax
rep movsd dword es:[edi], dword [esi]
jne 0x1000cb4a
jmp 0x1000cbab
lea eax, [ecx - 0x1c]
push ecx
push ecx
push eax
mov ecx, ebx
mov dword [esp + 0x28], eax
call fcn.1000d600
mov edx, dword [ebx + 8]
lea eax, [edx - 0x1c]
cmp ebp, eax
je 0x1000cb90
sub eax, 0x1c
sub edx, 0x1c
mov ecx, 7
mov esi, eax
mov edi, edx
cmp eax, ebp
rep movsd dword es:[edi], dword [esi]
jne 0x1000cb7b
lea eax, [ebp + 0x1c]
cmp ebp, eax
je 0x1000cbab
mov edi, ebp
add ebp, 0x1c
mov ecx, 7
lea esi, [esp + 0x20]
cmp ebp, eax
rep movsd dword es:[edi], dword [esi]
jne 0x1000cb97
add dword [ebx + 8], 0x1c
mov ebx, dword [esp + 0x14]
lea ecx, [esp + 0x38]
lea edx, [esp + 0x2c]
push ecx
lea eax, [esp + 0x28]
push edx
lea ecx, [esp + 0x3c]
push eax
lea edx, [esp + 0x24]
push ecx
push edx
mov ecx, ebx
call fcn.1000d300
mov esi, eax
xor edi, edi
cmp esi, edi
jne 0x1000c99c
mov eax, dword [esp + 0x40]
mov dword [ebx + 0x6c], edi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebx + 0x78]
cmp eax, edi
je 0x1000cc12
mov ecx, dword [ebx + 0x7c]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
jne 0x1000c844
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2c
ret 8