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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x54c14b
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
push ebx
push esi
push edi
mov eax, dword [0x5ac020]
xor eax, esp
push eax
lea eax, [esp + 0xf0]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x24], ebx
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
call dword [sym.imp.gdiplus.dll_GdipCreateRegion]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x40], eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0xf8], 0
mov eax, dword [ebp + 8]
push edi
mov esi, dword [eax + 4]
push dword [esi]
call dword [sym.imp.gdiplus.dll_GdipGetClip]
test eax, eax
je 0x4c80ec
mov dword [esi + 4], eax
xor esi, esi
cmp dword [ebx + 0x40], esi
jbe 0x4c83ec
add ebx, 0x30
lea ebx, [ebx]
push esi
lea eax, [esp + 0xa8]
mov ecx, ebx
push eax
lea eax, [esp + 0xe8]
push eax
call fcn.00412010
mov ecx, eax
call fcn.004122f0
mov edi, dword [eax]
test edi, edi
je 0x4c8127
mov edi, dword [edi]
mov edx, dword [eax + 8]
mov eax, edx
mov ecx, dword [edi + 8]
and edx, 3
shr eax, 2
dec ecx
and ecx, eax
mov eax, dword [edi + 4]
push esi
mov eax, dword [eax + ecx*4]
mov ecx, ebx
mov eax, dword [eax + edx*4]
mov eax, dword [eax + 0x68]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.00412010
mov ecx, eax
call fcn.004122f0
mov edi, dword [eax]
test edi, edi
je 0x4c8169
mov edi, dword [edi]
mov edx, dword [eax + 8]
mov eax, edx
mov ecx, dword [edi + 8]
and edx, 3
shr eax, 2
dec ecx
and ecx, eax
mov eax, dword [edi + 4]
push esi
mov eax, dword [eax + ecx*4]
mov ecx, ebx
mov eax, dword [eax + edx*4]
mov eax, dword [eax + 0x6c]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0xdc]
push eax
call fcn.00412010
mov ecx, eax
call fcn.004122f0
mov edi, dword [eax]
test edi, edi
je 0x4c81ae
mov edi, dword [edi]
mov edx, dword [eax + 8]
mov eax, edx
mov ecx, dword [edi + 8]
and edx, 3
shr eax, 2
dec ecx
and ecx, eax
mov eax, dword [edi + 4]
push esi
mov eax, dword [eax + ecx*4]
mov eax, dword [eax + edx*4]
mov ecx, dword [eax + 0x70]
sub ecx, dword [eax + 0x68]
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0xc4]
mov dword [esp + 0x30], ecx
push eax
mov ecx, ebx
call fcn.00412010
mov ecx, eax
call fcn.004122f0
mov edi, dword [eax]
test edi, edi
je 0x4c81f9
mov edi, dword [edi]
mov edx, dword [eax + 8]
mov eax, edx
mov ecx, dword [edi + 8]
and edx, 3
shr eax, 2
dec ecx
and ecx, eax
mov eax, dword [edi + 4]
push esi
mov eax, dword [eax + ecx*4]
mov eax, dword [eax + edx*4]
mov ecx, dword [eax + 0x74]
sub ecx, dword [eax + 0x6c]
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x70]
mov dword [esp + 0x28], ecx
push eax
mov ecx, ebx
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
call fcn.00412010
mov ecx, eax
call fcn.004122f0
mov edi, dword [eax]
test edi, edi
je 0x4c825e
mov edi, dword [edi]
mov edx, dword [eax + 8]
mov eax, edx
mov ecx, dword [edi + 8]
and edx, 3
shr eax, 2
dec ecx
and ecx, eax
mov eax, dword [edi + 4]
push esi
mov eax, dword [eax + ecx*4]
mov eax, dword [eax + edx*4]
mov ecx, dword [eax + 0x70]
sub ecx, dword [eax + 0x68]
lea eax, [esp + 0x84]
push eax
lea eax, [esp + 0xa0]
mov dword [esp + 0x3c], ecx
push eax
mov ecx, ebx
call fcn.00412010
mov ecx, eax
call fcn.004122f0
mov edi, dword [eax]
test edi, edi
je 0x4c82a9
mov edi, dword [edi]
mov edx, dword [eax + 8]
mov eax, edx
mov ecx, dword [edi + 8]
and edx, 3
shr eax, 2
dec ecx
and ecx, eax
mov eax, dword [edi + 4]
push 0
push dword [esp + 0x20]
mov eax, dword [eax + ecx*4]
mov eax, dword [eax + edx*4]
mov ecx, dword [eax + 0x74]
sub ecx, dword [eax + 0x6c]
mov eax, dword [ebp + 8]
mov dword [esp + 0x40], ecx
mov edi, dword [eax + 4]
push dword [edi]
call dword [sym.imp.gdiplus.dll_GdipSetClipRegion]
test eax, eax
je 0x4c82e8
mov dword [edi + 4], eax
mov eax, dword [ebp + 8]
push 1
push dword [esp + 0x24]
push dword [esp + 0x30]
mov edi, dword [eax + 4]
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [edi]
call dword [sym.imp.gdiplus.dll_GdipSetClipRectI]
test eax, eax
je 0x4c830f
mov dword [edi + 4], eax
movd xmm0, dword [esp + 0x18]
mov eax, dword [ebp + 8]
cvtdq2ps xmm0, xmm0
push 0
sub esp, 8
mov edi, dword [eax + 4]
movss dword [esp + 4], xmm0
movd xmm0, dword [esp + 0x20]
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
push dword [edi]
call dword [sym.imp.gdiplus.dll_GdipTranslateWorldTransform]
test eax, eax
je 0x4c8346
mov dword [edi + 4], eax
push esi
lea eax, [esp + 0xb4]
mov ecx, ebx
push eax
lea eax, [esp + 0xd0]
push eax
call fcn.00412010
mov ecx, eax
call fcn.004122f0
mov ecx, dword [eax]
test ecx, ecx
jne 0x4c836f
xor edi, edi
jmp 0x4c8371
mov edi, dword [ecx]
mov edx, dword [eax + 8]
mov eax, edx
mov ecx, dword [edi + 8]
and edx, 3
shr eax, 2
dec ecx
and ecx, eax
mov eax, dword [edi + 4]
mov edi, dword [ebp + 8]
mov eax, dword [eax + ecx*4]
mov ecx, dword [eax + edx*4]
lea edx, [esp + 0x2c]
push edx
push edi
push 0xbbb
mov eax, dword [ecx]
call dword [eax + 0x10]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
neg eax
mov edi, dword [edi + 4]
neg ecx
push 0
sub esp, 8
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 4], xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
push dword [edi]
call dword [sym.imp.gdiplus.dll_GdipTranslateWorldTransform]
test eax, eax
je 0x4c83da
mov dword [edi + 4], eax
mov eax, dword [esp + 0x24]
inc esi
cmp esi, dword [eax + 0x40]
jb 0x4c8100
mov edi, dword [esp + 0x1c]
mov eax, dword [ebp + 8]
push 0
push edi
mov esi, dword [eax + 4]
push dword [esi]
call dword [sym.imp.gdiplus.dll_GdipSetClipRegion]
test eax, eax
je 0x4c8404
mov dword [esi + 4], eax
mov dword [esp + 0xf8], 0xffffffff
push edi
call dword [sym.imp.gdiplus.dll_GdipDeleteRegion]
mov ecx, dword [esp + 0xf0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc