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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xdc
mov eax, dword [0x52de80]
xor eax, esp
mov dword [esp + 0xd8], eax
push ebx
mov ebx, ecx
push esi
mov esi, dword [ebp + 8]
push edi
cmp dword [ebx + 0x38], 0xffffffff
mov dword [esp + 0x1c], esi
jne 0x44e5fc
cmp dword [ebx + 0x48], 0
je 0x44ea63
cmp dword [ebx + 0x38], 0xffffffff
je 0x44e613
push dword [ebx + 0x38]
call fcn.0044c38b
mov ecx, eax
call fcn.0044c4d4
mov edi, eax
mov dword [esp + 0x24], edi
jmp 0x44e622
mov edi, dword [ebx + 0x48]
mov dword [esp + 0x24], edi
test edi, edi
je 0x44ea63
mov ecx, edi
call fcn.0044c338
mov ecx, edi
mov dword [esp + 0x18], eax
call fcn.0044c35f
cmp dword [ebx + 0x44], 1
mov edx, eax
mov dword [esp + 0x20], edx
jne 0x44e650
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebx + 0x14]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], edx
jmp 0x44e654
mov ecx, dword [esp + 0x18]
mov al, byte [ebx + 0x18]
cmp al, 0xff
je 0x44e901
and dword [esp + 0x7c], 0
and dword [esp + 0x80], 0
and dword [esp + 0x84], 0
and dword [esp + 0x88], 0
and dword [esp + 0x8c], 0
and dword [esp + 0x94], 0
and dword [esp + 0x98], 0
and dword [esp + 0x9c], 0
and dword [esp + 0xa0], 0
and dword [esp + 0xa4], 0
and dword [esp + 0xac], 0
and dword [esp + 0xb0], 0
and dword [esp + 0xb4], 0
and dword [esp + 0xb8], 0
and dword [esp + 0xbc], 0
and dword [esp + 0xc4], 0
and dword [esp + 0xc8], 0
and dword [esp + 0xcc], 0
and dword [esp + 0xd0], 0
and dword [esp + 0xd4], 0
movzx eax, al
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
fild dword [esp + 0x10]
mov dword [esp + 0x78], 0x3f800000
mov dword [esp + 0x90], 0x3f800000
mov dword [esp + 0xa8], 0x3f800000
mov dword [esp + 0xd8], 0x3f800000
fstp qword [esp + 0x48]
fld qword [esp + 0x48]
fdiv qword [0x516380]
and dword [esp + 0x10], 0
push eax
fstp dword [esp + 0xc4]
call dword [sym.imp.gdiplus.dll_GdipCreateImageAttributes]
push 0
push 0
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x80]
push eax
push 1
push 1
push dword [esp + 0x24]
call dword [sym.imp.gdiplus.dll_GdipSetImageAttributesColorMatrix]
mov ecx, dword [esp + 0x14]
test eax, eax
cmovne ecx, eax
cmp dword [ebx + 0x44], 2
mov dword [esp + 0x14], ecx
mov ecx, edi
jne 0x44e854
call fcn.0044c338
mov esi, eax
mov ecx, edi
shr esi, 1
dec esi
mov dword [esp + 0x48], esi
call fcn.0044c35f
and dword [esp + 0x38], 0
sub esp, 0x10
and dword [esp + 0x4c], 0
mov edi, esp
shr eax, 1
sub esp, 0x10
dec eax
mov dword [esp + 0x70], esi
mov dword [esp + 0x6c], eax
lea esi, [esp + 0x58]
mov dword [esp + 0x74], eax
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x60], eax
mov eax, dword [ebx + 0x14]
mov dword [esp + 0x64], eax
lea eax, [esp + 0x30]
movsd dword es:[edi], dword [esi]
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x3c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, esp
lea esi, [esp + 0x68]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0044fa25
mov edx, dword [ebx + 0x4c]
add esp, 0x24
test edx, edx
je 0x44e8f2
cmp dword [ebx + 0x50], 1
jne 0x44e8f2
mov eax, dword [ebx + 0x10]
lea esi, [esp + 0x38]
and dword [esp + 0x38], 0
sub esp, 0x10
and dword [esp + 0x4c], 0
mov edi, esp
mov dword [esp + 0x50], eax
sub esp, 0x10
mov eax, dword [ebx + 0x14]
mov dword [esp + 0x64], eax
lea eax, [esp + 0x30]
movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x3c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, esp
lea esi, [esp + 0x68]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0044fa25
add esp, 0x24
jmp 0x44e8f2
mov eax, dword [ebx + 0x3c]
mov dword [esp + 0x38], eax
mov eax, dword [ebx + 0x40]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x20]
push 0
mov dword [esp + 0x48], eax
lea eax, [esp + 0x14]
push 0
push eax
push 2
call fcn.0044c35f
push eax
mov ecx, edi
call fcn.0044c338
push eax
push 0
push 0
lea eax, [esp + 0x58]
mov ecx, esi
push eax
push edi
call fcn.0044c2da
mov ecx, dword [ebx + 0x4c]
test ecx, ecx
je 0x44e8f2
cmp dword [ebx + 0x50], 1
jne 0x44e8f2
mov eax, dword [ebx + 0x3c]
xor edi, edi
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 0x40]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x20]
push edi
mov dword [esp + 0x38], eax
lea eax, [esp + 0x14]
push edi
push eax
push 2
call fcn.0044c35f
mov ecx, dword [ebx + 0x4c]
push eax
call fcn.0044c338
push eax
push edi
push edi
lea eax, [esp + 0x48]
mov ecx, esi
push eax
push dword [ebx + 0x4c]
call fcn.0044c2da
push dword [esp + 0x10]
call dword [sym.imp.gdiplus.dll_GdipDisposeImageAttributes]
jmp 0x44ea63
cmp dword [ebx + 0x44], 2
jne 0x44e9cd
mov ecx, edi
call fcn.0044c338
mov esi, eax
mov ecx, edi
shr esi, 1
dec esi
mov dword [esp + 0x48], esi
call fcn.0044c35f
shr eax, 1
sub esp, 0x10
mov dword [esp + 0x60], esi
dec eax
mov dword [esp + 0x5c], eax
lea esi, [esp + 0x38]
mov dword [esp + 0x64], eax
xor ecx, ecx
mov eax, dword [ebx + 0x10]
mov edi, esp
mov dword [esp + 0x40], eax
sub esp, 0x10
mov eax, dword [ebx + 0x14]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x54], eax
movsd dword es:[edi], dword [esi]
mov edx, dword [esp + 0x44]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, esp
lea esi, [esp + 0x68]
push ecx
mov ecx, dword [esp + 0x40]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0044fa25
mov edx, dword [ebx + 0x4c]
add esp, 0x24
test edx, edx
je 0x44ea63
cmp dword [ebx + 0x50], 1
jne 0x44ea63
mov eax, dword [ebx + 0x10]
lea esi, [esp + 0x28]
sub esp, 0x10
mov dword [esp + 0x40], eax
mov eax, dword [ebx + 0x14]
xor ecx, ecx
mov edi, esp
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], ecx
sub esp, 0x10
mov dword [esp + 0x54], eax
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 edi, esp
lea esi, [esp + 0x68]
push ecx
mov ecx, dword [esp + 0x40]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0044fa25
add esp, 0x24
jmp 0x44ea63
mov eax, dword [ebx + 0x3c]
mov dword [esp + 0x68], eax
mov eax, dword [ebx + 0x40]
mov dword [esp + 0x6c], eax
xor eax, eax
push eax
push eax
push eax
mov dword [esp + 0x7c], ecx
mov ecx, edi
push 2
mov dword [esp + 0x84], edx
call fcn.0044c35f
push eax
mov ecx, edi
call fcn.0044c338
push eax
push 0
push 0
lea eax, [esp + 0x88]
mov ecx, esi
push eax
push edi
call fcn.0044c2da
mov ecx, dword [ebx + 0x4c]
test ecx, ecx
je 0x44ea63
cmp dword [ebx + 0x50], 1
jne 0x44ea63
mov eax, dword [ebx + 0x3c]
xor edi, edi
push edi
mov dword [esp + 0x5c], eax
mov eax, dword [ebx + 0x40]
push edi
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x20]
push edi
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x2c]
push 2
mov dword [esp + 0x74], eax
call fcn.0044c35f
mov ecx, dword [ebx + 0x4c]
push eax
call fcn.0044c338
push eax
push edi
push edi
lea eax, [esp + 0x78]
mov ecx, esi
push eax
push dword [ebx + 0x4c]
call fcn.0044c2da
mov ecx, dword [esp + 0xe4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004bc45f
mov esp, ebp
pop ebp
ret 4