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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb4
mov eax, dword [0x4eb664]
xor eax, esp
mov dword [esp + 0xb0], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov ebx, ecx
push edi
push dword [ebx + 0x38]
mov dword [esp + 0x2c], eax
call fcn.0042a4e3
mov ecx, eax
call fcn.0042a61a
mov ecx, eax
mov dword [esp + 0x24], eax
xor edi, edi
call fcn.0042a494
mov ecx, dword [esp + 0x24]
mov esi, eax
shr esi, 2
call fcn.0042a4b9
mov ecx, dword [ebx + 0x3c]
mov dword [esp + 0x2c], eax
test ecx, ecx
je 0x42bdee
cmp ecx, 1
jne 0x42bdda
mov edi, esi
jmp 0x42bdee
cmp ecx, 2
jne 0x42bde4
lea edi, [esi + esi]
jmp 0x42bdee
cmp ecx, 3
jne 0x42bdee
mov edi, esi
imul edi, edi, 3
mov cl, byte [ebx + 0x18]
cmp cl, 0xff
je 0x42bf3b
movzx eax, cl
movd xmm0, eax
cvtdq2ps xmm0, xmm0
and dword [esp + 0x54], 0
divss xmm0, dword [0x4d74a8]
and dword [esp + 0x58], 0
and dword [esp + 0x5c], 0
and dword [esp + 0x60], 0
and dword [esp + 0x64], 0
and dword [esp + 0x6c], 0
and dword [esp + 0x70], 0
and dword [esp + 0x74], 0
and dword [esp + 0x78], 0
and dword [esp + 0x7c], 0
and dword [esp + 0x84], 0
and dword [esp + 0x88], 0
and dword [esp + 0x8c], 0
and dword [esp + 0x90], 0
and dword [esp + 0x94], 0
and dword [esp + 0x9c], 0
and dword [esp + 0xa0], 0
and dword [esp + 0xa4], 0
and dword [esp + 0xa8], 0
and dword [esp + 0xac], 0
and dword [esp + 0xc], 0
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x54], 0x3f800000
mov dword [esp + 0x6c], 0x3f800000
mov dword [esp + 0x84], 0x3f800000
mov dword [esp + 0xb4], 0x3f800000
movss dword [esp + 0x9c], xmm0
call dword [sym.imp.gdiplus.dll_GdipCreateImageAttributes]
mov dword [esp + 0x10], eax
push 0
push 0
lea eax, [esp + 0x58]
push eax
push 1
push 1
push dword [esp + 0x20]
call dword [sym.imp.gdiplus.dll_GdipSetImageAttributesColorMatrix]
mov ecx, dword [esp + 0x10]
test eax, eax
cmovne ecx, eax
mov eax, dword [esp + 0x2c]
xor edx, edx
push edx
push edx
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x14]
push ecx
push 2
push eax
push esi
push edx
mov dword [esp + 0x3c], eax
push edi
lea eax, [esp + 0x34]
mov dword [esp + 0x3c], esi
mov esi, dword [esp + 0x48]
push eax
push dword [esp + 0x48]
mov ecx, esi
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], edx
call fcn.0042a436
push dword [esp + 0xc]
call dword [sym.imp.gdiplus.dll_GdipDisposeImageAttributes]
jmp 0x42c039
cmp dword [ebx + 0x10], esi
jne 0x42bf7d
cmp dword [ebx + 0x14], eax
jne 0x42bf7d
and dword [esp + 0x14], 0
and dword [esp + 0x18], 0
push 0
push 0
push 0
push 2
push eax
push esi
push 0
mov dword [esp + 0x3c], eax
push edi
lea eax, [esp + 0x34]
mov dword [esp + 0x3c], esi
mov esi, dword [esp + 0x48]
push eax
push dword [esp + 0x48]
mov ecx, esi
call fcn.0042a436
jmp 0x42c039
push 0x26200a
push eax
push esi
lea ecx, [esp + 0x4c]
call fcn.0042a25b
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x10]
call fcn.0042a182
mov eax, dword [esp + 0x2c]
xor ecx, ecx
push ecx
push ecx
push ecx
push 2
push eax
push esi
push ecx
mov dword [esp + 0x3c], eax
push edi
lea eax, [esp + 0x34]
push eax
push dword [esp + 0x48]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x44], esi
call fcn.0042a436
and dword [esp + 0x14], 0
and dword [esp + 0x18], 0
push 5
pop eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0x14]
sub esp, 0x10
mov dword [esp + 0x30], eax
mov edi, esp
lea esi, [esp + 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
mov edi, esp
lea esi, [esp + 0x50]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x48]
push 0
lea edx, [esp + 0x64]
mov ecx, esi
call fcn.0042d71a
add esp, 0x24
push dword [esp + 0xc]
call dword [sym.imp.gdiplus.dll_GdipDeleteGraphics]
push dword [esp + 0x44]
call dword [sym.imp.gdiplus.dll_GdipDisposeImage]
push esi
mov ecx, ebx
call fcn.0042c058
mov ecx, dword [esp + 0xbc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0048f059
mov esp, ebp
pop ebp
ret 4