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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x6fabc9
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x7e6410]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push esi
push edi
mov eax, dword [0x7e6410]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 4], 0
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x18]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x2c]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x20], esi
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x30], eax
je 0x47c1aa
cmp dword [edi + 0x34], 0
je 0x47c1cf
mov eax, dword [ebp + 0x20]
movsd xmm0, qword [ebp + 0x24]
mulsd xmm0, qword [0x792148]
mov dword [esp + 0x70], vtable.Gdiplus::SolidBrush.0
mov bl, byte [eax + 2]
mov dl, byte [eax + 1]
mov cl, byte [eax]
cvttsd2si eax, xmm0
mov dword [esp + 0x24], 0
movzx eax, al
shl eax, 8
mov dword [esp + 0x48], eax
movzx eax, cl
or eax, dword [esp + 0x48]
shl eax, 8
movzx ecx, dl
or eax, ecx
movzx ecx, bl
shl eax, 8
or eax, ecx
lea ecx, [esp + 0x24]
push ecx
push eax
call dword [sym.imp.gdiplus.dll_GdipCreateSolidFill]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x74], eax
lea eax, [esp + 0x38]
mov dword [esp + 0xc0], 0
push eax
push 0
push 0
mov dword [esp + 0x44], 0
call dword [sym.imp.gdiplus.dll_GdipCreateStringFormat]
mov dword [esp + 0x3c], eax
push dword [ebp + 0x1c]
lea eax, [esp + 0x3c]
mov byte [esp + 0xc4], 1
push eax
call fcn.0047b370
mov ebx, dword [esp + 0x30]
add esp, 8
test ebx, ebx
je 0x47c123
mov ecx, ebx
call fcn.0042eb50
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x34], eax
mov ecx, dword [ecx]
cmp dword [ecx - 8], 0
je 0x47c0da
push esi
lea ecx, [esp + 0x2c]
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
call fcn.00428690
lea ecx, [esp + 0x28]
mov byte [esp + 0xc0], 2
call fcn.004287b0
push dword [esp + 0x28]
call fcn.006be52c
mov esi, dword [esp + 0x34]
lea ecx, [esp + 0x2c]
add esp, 4
push dword [esi]
call fcn.00429b00
cmp eax, 0xffffffff
je 0x47bf08
mov ecx, dword [esi]
mov ecx, dword [ecx - 8]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0
push eax
call dword [sym.imp.gdiplus.dll_GdipCreateRegion]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x50]
mov byte [esp + 0xc0], 3
push eax
push 1
push dword [esp + 0x40]
call dword [sym.imp.gdiplus.dll_GdipSetStringFormatMeasurableCharacterRanges]
mov ecx, dword [esp + 0x3c]
test eax, eax
mov esi, dword [esp + 0x4c]
cmovne ecx, eax
lea eax, [esp + 0x40]
push eax
push 1
lea eax, [esp + 0x40]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x28]
push eax
push esi
push dword [edi + 0x34]
push 0xffffffffffffffff
push dword [ecx]
mov ecx, dword [esp + 0x50]
call fcn.0047b210
lea eax, [esp + 0x5c]
mov dword [esp + 0x5c], 0
push eax
push esi
call dword [sym.imp.gdiplus.dll_GdipCreateRegionRect]
mov esi, dword [esp + 0x5c]
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x64]
mov dword [esp + 0x44], esi
xorps xmm0, xmm0
mov dword [esp + 0x5c], 0
push eax
movdqu xmmword [esp + 0x68], xmm0
call dword [sym.imp.gdiplus.dll_GdipCreateRegionRectI]
mov eax, dword [esp + 0x58]
push 4
push dword [esp + 0x20]
mov dword [esp + 0x34], eax
push esi
mov esi, dword [sym.imp.gdiplus.dll_GdipCombineRegionRegion]
call esi
push 2
push dword [esp + 0x20]
push dword [esp + 0x34]
call esi
mov esi, dword [esp + 0x34]
push 0
push dword [esp + 0x44]
push dword [esi]
call dword [sym.imp.gdiplus.dll_GdipSetClipRegion]
test eax, eax
je 0x47bfeb
mov dword [esi + 4], eax
mov esi, dword [esp + 0x4c]
lea eax, [esp + 0x70]
mov ecx, dword [esp + 0x34]
push eax
lea eax, [esp + 0x3c]
push eax
mov eax, dword [esp + 0x28]
push esi
push dword [edi + 0x34]
push dword [ebp + 0x14]
push dword [eax]
call fcn.00441420
mov eax, dword [esp + 0x34]
push 0
push dword [esp + 0x30]
push dword [eax]
call dword [sym.imp.gdiplus.dll_GdipSetClipRegion]
mov ecx, eax
test ecx, ecx
je 0x47c02e
mov eax, dword [esp + 0x34]
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 0x30]
movzx edx, byte [ecx]
or edx, dword [esp + 0x48]
movzx eax, byte [ecx + 1]
shl edx, 8
or edx, eax
movzx eax, byte [ecx + 2]
shl edx, 8
lea ecx, [esp + 0x70]
or edx, eax
lea eax, [esp + 0x48]
push eax
mov dword [esp + 0x4c], edx
call fcn.004413c0
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0x3c]
push eax
push esi
push dword [edi + 0x34]
mov esi, dword [esp + 0x44]
push 0xffffffffffffffff
push dword [ecx]
mov ecx, esi
call fcn.00441420
push dword [esi]
call dword [sym.imp.gdiplus.dll_GdipResetClip]
test eax, eax
je 0x47c08c
mov dword [esi + 4], eax
push dword [esp + 0x74]
mov edi, dword [sym.imp.gdiplus.dll_GdipDeleteBrush]
call edi
push dword [esp + 0x2c]
mov esi, dword [sym.imp.gdiplus.dll_GdipDeleteRegion]
call esi
push dword [esp + 0x40]
call esi
push dword [esp + 0x1c]
call esi
lea ecx, [esp + 0x28]
call fcn.00428810
mov ecx, ebx
call fcn.0042ec70
push dword [esp + 0x38]
call dword [sym.imp.gdiplus.dll_GdipDeleteStringFormat]
push dword [esp + 0x24]
call edi
mov eax, 1
jmp 0x47c1ac
mov esi, dword [esp + 0x4c]
lea ecx, [esp + 0x70]
push ecx
lea ecx, [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x28]
push esi
push dword [edi + 0x34]
push dword [ebp + 0x14]
push dword [ecx]
mov ecx, eax
call fcn.00441420
mov edi, dword [sym.imp.gdiplus.dll_GdipDeleteBrush]
mov ecx, ebx
call fcn.0042ec70
push dword [esp + 0x38]
call dword [sym.imp.gdiplus.dll_GdipDeleteStringFormat]
push dword [esp + 0x24]
call edi
mov eax, 1
jmp 0x47c1ac
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x47c196
lea ecx, [esp + 0x40]
mov dword [esp + 0x40], 0
push ecx
push eax
call dword [sym.imp.gdiplus.dll_GdipCreateFromHDC]
mov esi, dword [esp + 0x4c]
lea ecx, [esp + 0x50]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0x3c]
push eax
mov eax, dword [esp + 0x28]
push esi
push dword [edi + 0x34]
push dword [ebp + 0x14]
push dword [eax]
call fcn.00441420
push dword [esp + 0x50]
call dword [sym.imp.gdiplus.dll_GdipDeleteGraphics]
push dword [esp + 0x38]
mov edi, dword [sym.imp.gdiplus.dll_GdipDeleteBrush]
call dword [sym.imp.gdiplus.dll_GdipDeleteStringFormat]
push dword [esp + 0x24]
call edi
mov eax, 1
jmp 0x47c1ac
push dword [esp + 0x38]
call dword [sym.imp.gdiplus.dll_GdipDeleteStringFormat]
push dword [esp + 0x24]
call dword [sym.imp.gdiplus.dll_GdipDeleteBrush]
xor eax, eax
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.006b3266
mov esp, ebp
pop ebp
ret 0x2c
mov edx, dword [edi + 8]
test edx, edx
je 0x47c1aa
mov eax, dword [esi]
xor esi, esi
mov ebx, dword [ebp + 0x14]
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], ebx
test ebx, ebx
jge 0x47c1f2
mov eax, dword [eax - 8]
mov ebx, eax
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 0x14]
movss xmm3, dword [ecx + 4]
movss xmm2, dword [ecx]
mov edx, dword [edx + 0x30]
movss xmm4, dword [0x792028]
imul eax, ebx
cvttss2si ebx, xmm2
mov dword [esp + 0x40], eax
cvttss2si eax, xmm3
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x1c]
test al, 4
je 0x47c241
movss xmm1, dword [ecx + 0xc]
movd xmm0, edx
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
mulss xmm1, xmm4
addss xmm1, xmm3
jmp 0x47c259
test al, 8
je 0x47c261
movss xmm1, dword [ecx + 0xc]
movd xmm0, edx
addss xmm1, xmm3
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
cvttss2si edx, xmm1
mov dword [esp + 0x24], edx
test al, 1
je 0x47c281
movd xmm0, dword [esp + 0x40]
movss xmm1, dword [ecx + 8]
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
mulss xmm1, xmm4
addss xmm1, xmm2
jmp 0x47c29b
test al, 2
je 0x47c2a3
movd xmm0, dword [esp + 0x40]
movss xmm1, dword [ecx + 8]
cvtdq2ps xmm0, xmm0
addss xmm1, xmm2
subss xmm1, xmm0
cvttss2si eax, xmm1
mov dword [esp + 0x20], eax
movss xmm0, dword [ecx + 8]
cvttss2si eax, xmm3
mov dword [esp + 0x70], ebx
mov ebx, dword [esp + 0x28]
addss xmm0, xmm2
mov dword [esp + 0x74], eax
cvttss2si eax, xmm0
movss xmm0, dword [ecx + 0xc]
mov ecx, ebx
addss xmm0, xmm3
mov dword [esp + 0x78], eax
cvttss2si eax, xmm0
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x70]
push eax
call fcn.0042cec0
mov ecx, dword [esp + 0x30]
movzx eax, word [ecx]
test ax, ax
je 0x47c3c7
cmp esi, dword [esp + 0x2c]
jge 0x47c3c7
movzx ecx, ax
mov eax, dword [edi + 0x1c]
test eax, eax
je 0x47c3af
mov eax, ecx
mov ebx, dword [edi + 0x1c]
shr eax, 4
xor edx, edx
div dword [edi + 0x20]
mov eax, dword [ebx + edx*4]
mov ebx, dword [esp + 0x28]
test eax, eax
je 0x47c3af
cmp word [eax + 8], cx
je 0x47c333
mov eax, dword [eax]
test eax, eax
jne 0x47c325
jmp 0x47c3af
mov ecx, dword [eax + 0xc]
test ecx, ecx
js 0x47c3af
test ebx, ebx
je 0x47c36d
mov eax, dword [edi + 0x14]
sub esp, 8
movsd xmm0, qword [ebp + 0x24]
imul eax, esi
movsd qword [esp], xmm0
push dword [esp + 0x2c]
add eax, dword [esp + 0x2c]
push eax
push ebx
push 0
push 1
push ecx
push dword [edi + 0x10]
mov ecx, dword [edi + 8]
call fcn.0042e7c0
jmp 0x47c3af
cmp dword [esp + 0x1c], 0
je 0x47c1aa
movsd xmm0, qword [ebp + 0x24]
sub esp, 8
mov eax, dword [edi + 8]
mov edx, dword [edi + 0x14]
imul edx, esi
movsd qword [esp], xmm0
push 0
push 0
push 1
add edx, dword [esp + 0x34]
push ecx
push dword [edi + 0x10]
mov ecx, dword [esp + 0x38]
push dword [eax + 0x20]
push dword [esp + 0x44]
call fcn.0042caa0
add esp, 0x24
mov eax, dword [esp + 0x30]
inc esi
add eax, 2
mov dword [esp + 0x30], eax
movzx eax, word [eax]
test ax, ax
jne 0x47c2f1
mov dword [ebx + 0x1c], 0
mov eax, 1
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x34], 0
jmp 0x47c1ac