Function at 0x40dce0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
mov eax, dword [0x421008]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
lea eax, [ebp - 0xec]
mov dword [ebp - 0xec], 0
push eax
mov esi, ecx
push 0
push 0xe200b
push 0
movsx eax, byte [esi + 1]
push eax
movsx eax, byte [esi]
push eax
mov dword [ebp - 0xf8], esi
call dword [sym.imp.gdiplus.dll_GdipCreateBitmapFromScan0]
push 8
call dword [sym.imp.gdiplus.dll_GdipAlloc]
mov ebx, eax
mov dword [ebp - 0xf0], ebx
test ebx, ebx
je 0x40dd65
lea eax, [ebp - 0xe0]
mov dword [ebp - 0xe0], 0
push eax
push dword [ebp - 0xec]
call dword [sym.imp.gdiplus.dll_GdipGetImageGraphicsContext]
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0xe0]
mov dword [ebx], eax
jmp 0x40dd6f
mov dword [ebp - 0xf0], 0
movaps xmm0, xmmword [0x41c490]
xor ecx, ecx
movups xmmword [ebp - 0xdc], xmm0
mov byte [ebp - 0x5c], 0
movaps xmm0, xmmword [0x41db60]
movups xmmword [ebp - 0xcc], xmm0
movaps xmm0, xmmword [0x41c6d0]
movups xmmword [ebp - 0xbc], xmm0
movaps xmm0, xmmword [str.__230_XY__RS]
movups xmmword [ebp - 0xac], xmm0
movaps xmm0, xmmword [0x41e3c0]
movups xmmword [ebp - 0x9c], xmm0
movaps xmm0, xmmword [0x41e430]
movups xmmword [ebp - 0x8c], xmm0
movaps xmm0, xmmword [0x41e3b0]
movups xmmword [ebp - 0x7c], xmm0
movaps xmm0, xmmword [0x41e420]
movups xmmword [ebp - 0x6c], xmm0
nop
mov al, byte [ebp - 0xdc]
xor byte [ebp + ecx - 0xdb], al
inc ecx
cmp ecx, 0x7f
jb 0x40dde0
lea ecx, [ebp - 0xdb]
mov byte [ebp - 0x5c], 0
mov dword [ebp - 0x20], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0xf
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40de15
sub ecx, edx
lea eax, [ebp - 0xdb]
push ecx
push eax
lea ecx, [ebp - 0x20]
call fcn.0040c170
mov eax, dword [ebp + 0x24]
xor edx, edx
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xe8], edx
test eax, eax
je 0x40e0d0
nop word [eax + eax]
xor ebx, ebx
mov dword [ebp - 0x100], 0
mov dword [ebp - 0xe4], ebx
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0xf
cmp eax, edx
jb 0x40e201
sub eax, edx
mov ecx, 1
cmp eax, ecx
cmovb ecx, eax
cmp dword [ebp + 0x28], 0x10
lea eax, [ebp + 0x14]
cmovae eax, dword [ebp + 0x14]
push ecx
add eax, edx
lea ecx, [ebp - 0x50]
push eax
call fcn.0040c170
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
cmp eax, ebx
jb 0x40e201
sub eax, ebx
mov ecx, 1
cmp eax, ecx
cmovb ecx, eax
cmp dword [ebp - 0xc], 0x10
lea eax, [ebp - 0x20]
cmovae eax, dword [ebp - 0x20]
push ecx
add eax, ebx
lea ecx, [ebp - 0x38]
push eax
call fcn.0040c170
cmp dword [ebp - 0x3c], 0x10
lea edx, [ebp - 0x50]
mov eax, dword [ebp - 0x50]
mov edi, dword [ebp - 0x38]
cmovae edx, eax
cmp dword [ebp - 0x24], 0x10
mov esi, dword [ebp - 0x28]
mov dword [ebp - 0xfc], eax
lea eax, [ebp - 0x38]
cmovae eax, edi
cmp esi, dword [ebp - 0x40]
jne 0x40df69
sub esi, 4
jb 0x40df33
mov ecx, dword [eax]
cmp ecx, dword [edx]
jne 0x40df38
add eax, 4
add edx, 4
sub esi, 4
jae 0x40df22
cmp esi, 0xfffffffc
je 0x40df65
mov cl, byte [eax]
cmp cl, byte [edx]
jne 0x40df69
cmp esi, 0xfffffffd
je 0x40df65
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
jne 0x40df69
cmp esi, 0xfffffffe
je 0x40df65
mov cl, byte [eax + 2]
cmp cl, byte [edx + 2]
jne 0x40df69
cmp esi, 0xffffffff
je 0x40df65
mov al, byte [eax + 3]
cmp al, byte [edx + 3]
jne 0x40df69
mov bl, 1
jmp 0x40df6b
xor bl, bl
mov eax, dword [ebp - 0x24]
cmp eax, 0x10
jb 0x40df9e
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x40df94
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e1d9
push ecx
push edi
call fcn.00418fbe
add esp, 8
mov eax, dword [ebp - 0x3c]
cmp eax, 0x10
jb 0x40dfd7
mov edx, dword [ebp - 0xfc]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x40dfcd
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e1d9
push ecx
push edx
call fcn.00418fbe
add esp, 8
test bl, bl
mov ebx, dword [ebp - 0xe4]
jne 0x40e004
inc ebx
mov dword [ebp - 0xe4], ebx
cmp ebx, 0x80
jge 0x40dffe
mov eax, dword [ebp + 0x24]
mov edx, dword [ebp - 0xe8]
jmp 0x40de72
mov ebx, dword [ebp - 0x100]
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
sub eax, edx
sar eax, 4
cmp eax, ebx
jbe 0x40e1fc
add ebx, ebx
mov dword [ebp - 0xe4], 0
lea eax, [ebp - 0xe4]
push eax
movzx ecx, byte [edx + ebx*8]
movzx eax, byte [edx + ebx*8 + 4]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + ebx*8 + 8]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + ebx*8 + 0xc]
shl ecx, 8
or ecx, eax
push ecx
call dword [sym.imp.gdiplus.dll_GdipCreateSolidFill]
mov esi, dword [ebp - 0xf4]
mov edi, dword [ebp - 0xf0]
mov ebx, dword [ebp - 0xe4]
push 1
push 1
push dword [ebp - 0xe0]
push esi
push ebx
push dword [edi]
call dword [sym.imp.gdiplus.dll_GdipFillRectangleI]
test eax, eax
je 0x40e080
mov dword [edi + 4], eax
mov eax, dword [ebp - 0xf8]
lea edi, [esi + 1]
push ebx
movsx esi, byte [eax]
call dword [sym.imp.gdiplus.dll_GdipDeleteBrush]
mov edx, dword [ebp - 0xe8]
xor ecx, ecx
inc edx
cmp edi, esi
mov dword [ebp - 0xe8], edx
cmovne ecx, edi
mov dword [ebp - 0xf4], ecx
mov ecx, dword [ebp - 0xe0]
lea eax, [ecx + 1]
cmovne eax, ecx
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp + 0x24]
cmp edx, eax
jb 0x40de60
mov esi, dword [ebp - 0xf8]
mov ebx, dword [ebp - 0xec]
lea edx, [ebp - 0xe0]
movsx eax, byte [esi + 1]
movsx ecx, byte [esi]
push edx
push ebx
push 0
push eax
push ecx
push 0
push 0
mov dword [ebp - 0xe0], 0
call dword [sym.imp.gdiplus.dll_GdipCloneBitmapAreaI]
mov edi, dword [sym.imp.gdiplus.dll_GdipDisposeImage]
test eax, eax
je 0x40e10b
xor esi, esi
jmp 0x40e13b
push 0x10
call dword [sym.imp.gdiplus.dll_GdipAlloc]
mov esi, eax
test esi, esi
je 0x40e131
mov eax, dword [ebp - 0xe0]
mov dword [esi], vtable.Gdiplus::Bitmap.0
mov dword [esi + 8], 0
mov dword [esi + 4], eax
jmp 0x40e13b
push dword [ebp - 0xe0]
xor esi, esi
call edi
mov edx, dword [ebp - 0xc]
cmp edx, 0x10
jb 0x40e16b
mov ecx, dword [ebp - 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40e161
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e1d9
push edx
push ecx
call fcn.00418fbe
add esp, 8
push ebx
call edi
mov edx, dword [ebp + 0x28]
cmp edx, 0x10
jb 0x40e19e
mov ecx, dword [ebp + 0x14]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40e194
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e1d9
push edx
push ecx
call fcn.00418fbe
add esp, 8
mov edx, dword [ebp + 8]
mov dword [ebp + 0x24], 0
mov dword [ebp + 0x28], 0xf
mov byte [ebp + 0x14], 0
test edx, edx
je 0x40e1e9
mov ecx, dword [ebp + 0x10]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffff0
cmp ecx, 0x1000
jb 0x40e1df
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40e1df
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00418fbe
add esp, 8
mov ecx, dword [ebp - 8]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00418d65
mov esp, ebp
pop ebp
ret
call fcn.004122b0
call fcn.0040c5d0
int3