Function at 0x41183a
Capabilities:
Encode data using xor

Disassembly:
push ebp
lea ebp, [esp - 0x68]
sub esp, 0x68
push 0xffffffffffffffff
push 0x43ba4b
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x44f020]
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 0x4118a2
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
jmp 0x411a4b
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 0x411a3a
lea eax, [ebp + 0x24]
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 2
lea edi, [ebp + 0x48]
xor eax, eax
mov esi, 0x4493c8
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 0x31
pop esi
div esi
add edx, 0x32
xor word [ebp + ecx*2 - 0x60], dx
inc ecx
cmp ecx, 0x27
jl 0x4118e2
lea eax, [ebp + 0x48]
push eax
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.ole32.dll_CLSIDFromString]
test eax, eax
je 0x411931
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 0x4119d4
xor eax, eax
lea edi, [ebp + 0x2c]
inc eax
mov esi, 0x43d7b4
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 0x411994
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 0x4119d4
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 0x4119df
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 0x411a54
push esi
lea ecx, [ebp + 0x58]
call fcn.0040760e
push dword [ebp + 0x20]
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x411a14
push ecx
lea ecx, [eax + esi]
push ecx
push eax
lea ecx, [ebp]
call fcn.0040351d
push eax
lea ecx, [ebp + 0x58]
call fcn.00407659
lea ecx, [ebp]
call fcn.00402cd5
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 0x411a3a
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.00402cd5
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.00415ca1
add ebp, 0x68
leave
ret