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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xb8
mov eax, dword [0x100df00c]
xor eax, esp
mov dword [esp + 0xb4], eax
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x60]
test eax, eax
je 0x100552f1
mov ecx, dword [eax]
test ecx, ecx
je 0x100552f1
mov eax, dword [ebp + 8]
movzx ecx, word [ecx + 0xa]
and ecx, 0x8000
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
movzx edi, word [eax + 0x14]
movups xmm0, xmmword [eax + 0x24]
mov edx, dword [eax]
mov dword [esp + 0xc], edi
mov edi, dword [eax + 0x34]
mov dword [esp + 0x10], edi
mov edi, dword [eax + 8]
and edi, 0x2000000
mov dword [esp + 8], edx
mov dword [esp + 0x4c], edi
mov edi, dword [esp + 0xc]
movups xmmword [esp + 0x50], xmm0
mov dword [esp + 0x14], ecx
je 0x10055142
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x20]
push 4
mov dword [esp + 0x28], ecx
mov dword [esp + 0x30], ecx
mov ecx, esi
push eax
mov dword [esp + 0x28], edx
mov dword [esp + 0x40], edx
call fcn.1002c5d0
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 8]
test ecx, ecx
je 0x10055154
mov ecx, dword [esi + 0x64]
mov dword [esp + 0x18], ecx
mov dword [esi + 0x64], 0x18
test edi, edi
je 0x1005518d
xor edi, edi
nop word [eax + eax]
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx + edi]
add ecx, edi
push dword [ecx + 4]
lea eax, [edx + eax*2]
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, esi
call fcn.1004d810
mov eax, dword [ebp + 8]
add edi, 0x20
sub dword [esp + 0xc], 1
mov edx, dword [esp + 8]
jne 0x10055160
mov edi, dword [ebp + 8]
cmp dword [edi + 0x18], 0
je 0x100552a6
cmp dword [esp + 0x10], 0
jbe 0x100552a6
xor ecx, ecx
mov dword [esp + 8], ecx
nop dword [eax + eax]
mov eax, dword [edi + 0x3c]
mov dword [esp + 0x20], 1
mov dword [esp + 0x2c], 4
mov dword [esp + 0x24], 0
movups xmm0, xmmword [eax + ecx]
mov eax, dword [eax + ecx + 0x10]
mov ecx, esi
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0x68]
movaps xmmword [esp + 0xa0], xmm0
xorps xmm0, xmm0
movlpd qword [esp + 0x94], xmm0
mov dword [esp + 0x28], 0
movups xmm0, xmmword [esp + 0x20]
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x6c]
mov dword [esp + 0x30], 4
movups xmmword [esp + 0x78], xmm0
mov dword [esp + 0x34], 0
movq xmm0, qword [esp + 0x30]
push eax
mov dword [esp + 0xa0], 0
mov dword [esp + 0x74], 1
mov dword [esp + 0x78], 1
movq qword [esp + 0x8c], xmm0
mov dword [esp + 0x94], 0
call fcn.1002be80
movaps xmm1, xmmword [esp + 0xa0]
mov ecx, esi
movaps xmm0, xmm1
psrldq xmm0, 0xc
movd eax, xmm0
movaps xmm0, xmm1
psrldq xmm0, 8
push eax
movd eax, xmm0
movaps xmm0, xmm1
psrldq xmm0, 4
push eax
movd eax, xmm0
push eax
movd eax, xmm1
push eax
call fcn.1002f3b0
mov ecx, dword [esp + 8]
add ecx, 0x14
sub dword [esp + 0x10], 1
mov dword [esp + 8], ecx
jne 0x100551b0
cmp dword [esp + 0x14], 0
je 0x100552b4
mov eax, dword [esp + 0x18]
mov dword [esi + 0x64], eax
cmp dword [esp + 0x4c], 0
je 0x100552d6
mov ecx, dword [esi + 8]
mov esi, dword [esp + 0x1c]
push esi
mov eax, dword [ecx]
call dword [eax + 0xb4]
test esi, esi
je 0x100552d6
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.100be194
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esp + 0xbc]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.100be194
mov esp, ebp
pop ebp
ret 4