Function at 0x412100
Capabilities:
Encode data using xor

Disassembly:
push ebp
lea ebp, [esp - 0x68]
sub esp, 0x68
push 0xffffffffffffffff
push 0x43c4f6
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x451020]
xor eax, ebp
mov dword [ebp + 0x64], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp + 0x18], edx
mov esi, ecx
mov dword [ebp + 0x1c], esi
mov dword [ebp + 0x20], esi
xor eax, eax
mov dword [ebp + 0x14], esi
lea edi, [ebp + 0x58]
xor ebx, ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp + 0x58], ebx
mov dword [ebp + 0x5c], ebx
mov dword [ebp + 0x60], ebx
mov dword [ebp - 4], ebx
test edx, edx
jne 0x412168
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
jmp 0x412311
lea eax, [ebp + 0x24]
mov byte [ebp - 4], 1
push eax
push 1
push ebx
mov dword [ebp + 0x24], ebx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x412300
lea eax, [ebp + 0x24]
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 2
lea edi, [ebp + 0x48]
xor eax, eax
mov esi, 0x44a748
stosd dword es:[edi], eax
push 0x13
pop ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea edi, [ebp - 0x60]
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
movsw word es:[edi], word [esi]
xor edx, edx
mov eax, ecx
push 0x32
pop esi
div esi
add edx, 0x30
xor word [ebp + ecx*2 - 0x60], dx
inc ecx
cmp ecx, 0x27
jl 0x4121a8
lea eax, [ebp + 0x48]
push eax
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.ole32.dll_CLSIDFromString]
test eax, eax
je 0x4121f7
mov esi, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x60]
mov ecx, dword [ebp + 0x5c]
mov eax, dword [ebp + 0x58]
mov dword [ebp + 0x60], ebx
mov dword [ebp + 0x5c], ebx
mov dword [ebp + 0x58], ebx
mov dword [esi], eax
mov dword [esi + 4], ecx
mov dword [esi + 8], edx
mov byte [ebp - 4], 3
jmp 0x41229a
xor eax, eax
lea edi, [ebp + 0x2c]
inc eax
mov esi, 0x43e7d4
mov dword [ebp + 0x28], 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 esi, dword [ebp + 0x18]
mov dword [ebp + 0x3c], eax
lea eax, [ebp + 0x70]
mov dword [ebp + 0x44], eax
lea eax, [ebp + 0x28]
push eax
lea eax, [ebp + 0x48]
mov dword [ebp + 0x40], 4
push eax
push dword [ebp + 0x24]
push dword [esi + 4]
call dword [sym.imp.gdiplus.dll_GdipSaveImageToStream]
test eax, eax
je 0x41225a
mov edx, dword [ebp + 0x60]
mov ecx, dword [ebp + 0x5c]
mov dword [esi + 8], eax
mov esi, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x58]
mov dword [ebp + 0x60], ebx
mov dword [ebp + 0x5c], ebx
mov dword [ebp + 0x58], ebx
mov dword [esi], eax
mov dword [esi + 4], ecx
mov dword [esi + 8], edx
mov byte [ebp - 4], 4
jmp 0x41229a
lea eax, [ebp + 0x20]
mov dword [ebp + 0x20], ebx
push eax
push dword [ebp + 0x24]
call dword [sym.imp.ole32.dll_GetHGlobalFromStream]
push dword [ebp + 0x20]
call dword [sym.imp.KERNEL32.dll_GlobalSize]
mov esi, eax
test esi, esi
jne 0x4122a5
mov esi, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x60]
mov ecx, dword [ebp + 0x5c]
mov eax, dword [ebp + 0x58]
mov dword [ebp + 0x60], ebx
mov dword [ebp + 0x5c], ebx
mov dword [ebp + 0x58], ebx
mov dword [esi], eax
mov dword [esi + 4], ecx
mov dword [esi + 8], edx
mov byte [ebp - 4], 5
mov eax, dword [ebp + 0x24]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x41231a
push esi
lea ecx, [ebp + 0x58]
call fcn.00407752
push dword [ebp + 0x20]
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x4122da
push ecx
lea ecx, [eax + esi]
push ecx
push eax
lea ecx, [ebp]
call fcn.00403518
push eax
lea ecx, [ebp + 0x58]
call fcn.0040779d
lea ecx, [ebp]
call fcn.00402cd0
push dword [ebp + 0x20]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov byte [ebp - 4], 6
mov eax, dword [ebp + 0x24]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov esi, dword [ebp + 0x1c]
jmp 0x412300
mov edx, dword [ebp + 0x60]
mov ecx, dword [ebp + 0x5c]
mov eax, dword [ebp + 0x58]
mov dword [esi + 8], edx
mov dword [esi + 4], ecx
mov dword [esi], eax
mov dword [ebp + 0x58], ebx
mov dword [ebp + 0x5c], ebx
mov dword [ebp + 0x60], ebx
lea ecx, [ebp + 0x58]
call fcn.00402cd0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x64]
xor ecx, ebp
call fcn.0041656b
add ebp, 0x68
leave
ret