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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xdc
mov eax, dword [0x52fe80]
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 0x44e984
cmp dword [ebx + 0x48], 0
je 0x44edeb
cmp dword [ebx + 0x38], 0xffffffff
je 0x44e99b
push dword [ebx + 0x38]
call fcn.0044c6d5
mov ecx, eax
call fcn.0044c830
mov edi, eax
mov dword [esp + 0x24], edi
jmp 0x44e9aa
mov edi, dword [ebx + 0x48]
mov dword [esp + 0x24], edi
test edi, edi
je 0x44edeb
mov ecx, edi
call fcn.0044c67d
mov ecx, edi
mov dword [esp + 0x18], eax
call fcn.0044c6a4
cmp dword [ebx + 0x44], 1
mov edx, eax
mov dword [esp + 0x20], edx
jne 0x44e9d8
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebx + 0x14]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], edx
jmp 0x44e9dc
mov ecx, dword [esp + 0x18]
mov al, byte [ebx + 0x18]
cmp al, 0xff
je 0x44ec89
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 [0x5183d8]
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 0x44ebdc
call fcn.0044c67d
mov esi, eax
mov ecx, edi
shr esi, 1
dec esi
mov dword [esp + 0x48], esi
call fcn.0044c6a4
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.0044fda4
mov edx, dword [ebx + 0x4c]
add esp, 0x24
test edx, edx
je 0x44ec7a
cmp dword [ebx + 0x50], 1
jne 0x44ec7a
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.0044fda4
add esp, 0x24
jmp 0x44ec7a
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.0044c6a4
push eax
mov ecx, edi
call fcn.0044c67d
push eax
push 0
push 0
lea eax, [esp + 0x58]
mov ecx, esi
push eax
push edi
call fcn.0044c61f
mov ecx, dword [ebx + 0x4c]
test ecx, ecx
je 0x44ec7a
cmp dword [ebx + 0x50], 1
jne 0x44ec7a
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.0044c6a4
mov ecx, dword [ebx + 0x4c]
push eax
call fcn.0044c67d
push eax
push edi
push edi
lea eax, [esp + 0x48]
mov ecx, esi
push eax
push dword [ebx + 0x4c]
call fcn.0044c61f
push dword [esp + 0x10]
call dword [sym.imp.gdiplus.dll_GdipDisposeImageAttributes]
jmp 0x44edeb
cmp dword [ebx + 0x44], 2
jne 0x44ed55
mov ecx, edi
call fcn.0044c67d
mov esi, eax
mov ecx, edi
shr esi, 1
dec esi
mov dword [esp + 0x48], esi
call fcn.0044c6a4
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.0044fda4
mov edx, dword [ebx + 0x4c]
add esp, 0x24
test edx, edx
je 0x44edeb
cmp dword [ebx + 0x50], 1
jne 0x44edeb
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.0044fda4
add esp, 0x24
jmp 0x44edeb
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.0044c6a4
push eax
mov ecx, edi
call fcn.0044c67d
push eax
push 0
push 0
lea eax, [esp + 0x88]
mov ecx, esi
push eax
push edi
call fcn.0044c61f
mov ecx, dword [ebx + 0x4c]
test ecx, ecx
je 0x44edeb
cmp dword [ebx + 0x50], 1
jne 0x44edeb
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.0044c6a4
mov ecx, dword [ebx + 0x4c]
push eax
call fcn.0044c67d
push eax
push edi
push edi
lea eax, [esp + 0x78]
mov ecx, esi
push eax
push dword [ebx + 0x4c]
call fcn.0044c61f
mov ecx, dword [esp + 0xe4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004bc1bd
mov esp, ebp
pop ebp
ret 4