Function at 0x44e95d
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x58
push ebx
push ebp
push esi
push edi
mov ebx, ecx
mov eax, dword [ecx + 0x12c]
test eax, eax
je 0x44ebd1
push dword [ebx + 0x148]
push eax
call dword [sym.imp.GDI32.DLL_SetMapMode]
cmp word [ebx + 0x140], 0
je 0x44e9db
push dword [ebx + 0x12c]
call dword [sym.imp.GDI32.DLL_CloseEnhMetaFile]
mov dword [esp + 0x10], eax
cmp dword [ebx + 0x13c], 0
je 0x44e9b0
push eax
call dword [sym.imp.GDI32.DLL_DeleteEnhMetaFile]
jmp 0x44ebd1
push 1
push dword [esp + 0x14]
push 0xe
call fcn.00436930
add esp, 0xc
test ax, ax
jne 0x44ebd1
push 0x4910ae
call fcn.00455073
add esp, 4
jmp 0x44ebd1
push dword [ebx + 0x12c]
call dword [sym.imp.GDI32.DLL_CloseMetaFile]
mov ebp, eax
lea esi, [ebx + 0x88]
lea edi, [esp + 0x18]
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 eax, dword [esp + 0x20]
sub eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x14], eax
lea esi, [ebx + 0x88]
lea edi, [esp + 0x2c]
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 eax, dword [esp + 0x38]
sub eax, dword [esp + 0x30]
inc eax
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 0x13c]
test eax, eax
je 0x44eb45
cmp word [ebx + 0x142], 0
je 0x44eb3c
push 0x4910de
push eax
call fcn.00474618
add esp, 8
test eax, eax
mov dword [esp + 0x3c], eax
jne 0x44ea69
push dword [ebx + 0x13c]
push 0x4910e1
call fcn.00455073
add esp, 8
jmp 0x44eb3c
mov dword [esp + 0x40], 0x9ac6cdd7
xor ecx, ecx
mov word [esp + 0x44], cx
mov word [esp + 0x46], cx
mov word [esp + 0x48], cx
mov ax, word [esp + 0x14]
mov word [esp + 0x4a], ax
mov ax, word [esp + 0x28]
mov word [esp + 0x4c], ax
mov ax, word [ebx + 0x14c]
mov word [esp + 0x4e], ax
mov dword [esp + 0x50], ecx
lea edi, [esp + 0x40]
mov esi, ecx
xor edx, edx
mov ecx, edi
add edi, 2
xor si, word [ecx]
inc edx
cmp edx, 0xa
jl 0x44eaae
mov word [esp + 0x54], si
push dword [esp + 0x3c]
push 1
push 0x16
lea ecx, [esp + 0x4c]
push ecx
call fcn.00477bc0
push dword [esp + 0x4c]
push 1
push 0
push 0
push ebp
call dword [sym.imp.GDI32.DLL_GetMetaFileBitsEx]
mov dword [esp + 0x70], eax
push eax
push 0x42
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
mov dword [esp + 0x74], eax
push eax
call dword [sym.imp.KERNEL32.DLL_GlobalLock]
mov dword [esp + 0x78], eax
push eax
push dword [esp + 0x74]
push ebp
call dword [sym.imp.GDI32.DLL_GetMetaFileBitsEx]
push eax
push dword [esp + 0x7c]
call fcn.00477bc0
push dword [esp + 0x5c]
call fcn.00474570
push dword [esp + 0x80]
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
push dword [esp + 0x80]
call dword [sym.imp.KERNEL32.DLL_GlobalFree]
add esp, 0x24
push ebp
call dword [sym.imp.GDI32.DLL_DeleteMetaFile]
jmp 0x44ebc3
push 0x10
push 0x42
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
mov dword [esp + 0x64], eax
push eax
call dword [sym.imp.KERNEL32.DLL_GlobalLock]
mov esi, eax
mov dword [eax], 8
fild dword [esp + 0x14]
fmul qword [0x491124]
fidiv dword [ebx + 0x14c]
call fcn.00470bcb
mov dword [esi + 4], eax
fild dword [esp + 0x28]
fmul qword [0x491124]
fidiv dword [ebx + 0x14c]
call fcn.00470bcb
mov dword [esi + 8], eax
mov ecx, ebp
mov dword [esi + 0xc], ebp
push dword [esp + 0x64]
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
push 1
push dword [esp + 0x68]
push 3
call fcn.00436930
add esp, 0xc
test ax, ax
jne 0x44ebc3
push 0x4910f9
call fcn.00455073
add esp, 4
push dword [ebx + 0x130]
push 0
call dword [sym.imp.USER32.DLL_ReleaseDC]
xor eax, eax
mov dword [ebx + 0x130], eax
mov dword [ebx + 0x12c], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret