Function at 0x1d2b510
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1e30766
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x1e94008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x84], 1
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x64], method.CImportImageDialog.virtual_184
mov dword [ebp - 0x60], fcn.01d1e270
mov dword [ebp - 4], 1
cmp byte [0x1e952a0], 0
jne 0x1d2b5f0
movaps xmm1, xmmword [0x1e7e520]
xor ecx, ecx
nop
movd xmm0, ecx
lea eax, [ecx + 4]
pshufd xmm0, xmm0, 0
paddd xmm0, xmm1
movups xmmword [ebp + ecx*4 - 0x50], xmm0
movd xmm0, eax
pshufd xmm0, xmm0, 0
paddd xmm0, xmm1
movups xmmword [ebp + ecx*4 - 0x40], xmm0
add ecx, 8
cmp ecx, 0x10
jl 0x1d2b5a0
lea edx, [ebp - 0x50]
xor esi, esi
mov ecx, dword [edx]
lea edx, [edx + 4]
mov al, cl
inc esi
sub al, 0x4c
xor byte [ecx + 0x1e95290], al
cmp esi, 0x10
jne 0x1d2b5d4
mov byte [0x1e952a0], 1
mov ecx, dword [edi + 0x34]
lea eax, [ebp - 0x84]
push eax
push 0x1e95290
add ecx, 8
call fcn.01d1b7e0
test al, al
jne 0x1d2b714
mov ecx, dword [edi + 0x34]
add ecx, 8
push 0xa0
push ecx
mov eax, esp
mov dword [eax], 0x1e45828
lea eax, [ebp - 0x5c]
push dword [ecx + 0x1b4]
push dword [ecx + 0x1a8]
add ecx, 0x128
push eax
call fcn.01d1b0f0
mov eax, dword [ebp - 0x5c]
test eax, eax
jne 0x1d2b64c
xor al, al
jmp 0x1d2b8b3
mov ecx, dword [eax + 0x95]
mov esi, dword [eax + 0x9b]
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x5c], esi
test ecx, ecx
je 0x1d2b66b
mov eax, dword [edi + 0x34]
sub ecx, dword [eax + 0x1b0]
push ecx
lea ecx, [ebp - 0x84]
call fcn.01d1ea00
test esi, esi
je 0x1d2b684
mov eax, dword [edi + 0x34]
sub esi, dword [eax + 0x1b0]
push esi
lea ecx, [ebp - 0x84]
call fcn.01d1ea00
cmp byte [0x1e952a0], 0
jne 0x1d2b6f2
movaps xmm1, xmmword [0x1e7e520]
xor ecx, ecx
movd xmm0, ecx
lea eax, [ecx + 4]
pshufd xmm0, xmm0, 0
paddd xmm0, xmm1
movups xmmword [ebp + ecx*4 - 0x50], xmm0
movd xmm0, eax
pshufd xmm0, xmm0, 0
paddd xmm0, xmm1
movups xmmword [ebp + ecx*4 - 0x40], xmm0
add ecx, 8
cmp ecx, 0x10
jl 0x1d2b6a2
lea edx, [ebp - 0x50]
xor esi, esi
mov ecx, dword [edx]
lea edx, [edx + 4]
mov al, cl
inc esi
sub al, 0x4c
xor byte [ecx + 0x1e95290], al
cmp esi, 0x10
jne 0x1d2b6d6
mov byte [0x1e952a0], 1
mov ecx, dword [edi + 0x34]
lea eax, [ebp - 0x84]
push eax
push 0x1e95290
add ecx, 0x134
call fcn.01d1ba80
mov esi, dword [ebp - 0x54]
jmp 0x1d2b7aa
test byte [ebp - 0x65], 1
lea eax, [ebp - 0x54]
push eax
jne 0x1d2b72b
lea ecx, [ebp - 0x84]
call fcn.01d1edf0
jmp 0x1d2b746
lea eax, [ebp - 0x84]
mov dword [ebp - 0x54], 0
push 0x1e41650
push eax
call fcn.01d1df90
add esp, 0xc
mov ecx, dword [ebp - 0x54]
test ecx, ecx
jne 0x1d2b751
xor esi, esi
jmp 0x1d2b75e
mov eax, dword [edi + 0x34]
mov eax, dword [eax + 0x1b0]
add eax, ecx
mov esi, eax
test byte [ebp - 0x65], 1
lea eax, [ebp - 0x54]
push eax
jne 0x1d2b775
lea ecx, [ebp - 0x84]
call fcn.01d1edf0
jmp 0x1d2b790
lea eax, [ebp - 0x84]
mov dword [ebp - 0x54], 0
push 0x1e41650
push eax
call fcn.01d1df90
add esp, 0xc
mov ecx, dword [ebp - 0x54]
test ecx, ecx
jne 0x1d2b79c
mov dword [ebp - 0x5c], ecx
jmp 0x1d2b7aa
mov eax, dword [edi + 0x34]
mov eax, dword [eax + 0x1b0]
add eax, ecx
mov dword [ebp - 0x5c], eax
push dword [edi + 0x30]
lea ecx, [edi + 0x20]
call fcn.01d2c480
lea ecx, [eax*8]
mov eax, dword [edi + 0x24]
mov dword [ebp - 0x54], ecx
mov dword [ecx + eax], esi
cmp byte [0x1e95288], 0
jne 0x1d2b80d
movaps xmm0, xmmword [0x1e7e520]
lea edx, [ebp - 0x30]
movups xmmword [ebp - 0x30], xmm0
xor esi, esi
movaps xmm0, xmmword [0x1e7e530]
paddd xmm0, xmmword [0x1e7e520]
movups xmmword [ebp - 0x20], xmm0
mov ecx, dword [edx]
lea edx, [edx + 4]
mov al, cl
inc esi
sub al, 0x4c
xor byte [ecx + 0x1e95280], al
cmp esi, 8
jne 0x1d2b7f1
mov byte [0x1e95288], 1
mov eax, dword [0x1ea8614]
mov esi, dword [edi + 0x24]
push 0x1e95280
mov eax, dword [eax + 0x84]
call eax
mov ecx, dword [ebp - 0x54]
add esp, 4
mov dword [esi + ecx + 4], eax
lea ecx, [edi + 0x20]
push dword [ecx + 0x10]
call fcn.01d2c480
mov ecx, dword [ebp - 0x5c]
lea edx, [eax*8]
mov eax, dword [edi + 0x24]
mov dword [ebp - 0x54], edx
mov dword [edx + eax], ecx
cmp byte [0x1e95288], 0
jne 0x1d2b892
movaps xmm0, xmmword [0x1e7e520]
lea edx, [ebp - 0x30]
movups xmmword [ebp - 0x30], xmm0
xor esi, esi
movaps xmm0, xmmword [0x1e7e530]
paddd xmm0, xmmword [0x1e7e520]
movups xmmword [ebp - 0x20], xmm0
mov ecx, dword [edx]
lea edx, [edx + 4]
mov al, cl
inc esi
sub al, 0x4c
xor byte [ecx + 0x1e95280], al
cmp esi, 8
jne 0x1d2b876
mov byte [0x1e95288], 1
mov eax, dword [0x1ea8614]
mov esi, dword [edi + 0x24]
push 0x1e95280
mov eax, dword [eax + 0x84]
call eax
mov ecx, dword [ebp - 0x54]
add esp, 4
mov dword [esi + ecx + 4], eax
mov al, 1
cmp dword [ebp - 0x78], 0
mov byte [ebp - 0x55], al
jl 0x1d2b8cf
mov ecx, dword [ebp - 0x80]
test ecx, ecx
je 0x1d2b8cf
push ecx
call fcn.01e06279
mov al, byte [ebp - 0x55]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01e029b1
mov esp, ebp
pop ebp
ret