Function at 0x43d5d0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a4b4e
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x100
mov eax, dword [0x4da018]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x74], edi
cmp dword [edi], 1
mov eax, dword [ebx + 8]
mov dword [ebp - 0x8c], eax
jne 0x43db65
test eax, eax
je 0x43dbca
cmp dword [ebx + 0xc], 0
jne 0x43d66d
push str.src_was_null.
lea ecx, [ebp - 0xb4]
call fcn.00403040
push str.XtsModeImpl::decrypt__
lea ecx, [ebp - 0x5c]
mov dword [ebp - 4], 2
call fcn.00403040
lea eax, [ebp - 0xb4]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x5c]
jmp 0x43dbfc
mov ecx, dword [edi + 0x14]
xor edx, edx
mov eax, 0x200
div ecx
mov esi, eax
mov dword [ebp - 0x9c], esi
test edx, edx
jne 0x43db85
mov eax, dword [ebx + 0x14]
xorps xmm0, xmm0
and ecx, 0xf
movlpd qword [ebp - 0x44], xmm0
mov dword [ebp - 0x7c], ecx
mov ecx, dword [ebx + 0x18]
movups xmmword [ebp - 0x34], xmm0
movups xmmword [ebp - 0x24], xmm0
movups xmmword [ebp - 0x54], xmm0
cmp byte [edi + 0x18], dl
je 0x43d6bb
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], ecx
movlpd qword [ebp - 0x3c], xmm0
jmp 0x43d6d6
mov dword [ebp - 0x38], ecx
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x3c], eax
call fcn.00434ee0
lea ecx, [ebp - 0x44]
movlpd qword [ebp - 0x44], xmm0
call fcn.00434ee0
mov dword [ebp - 0x80], 0
test esi, esi
je 0x43db65
mov eax, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x68], edx
nop dword [eax]
cmp dword [edi + 0xc], 1
jne 0x43d736
mov ecx, dword [edi + 0x10]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x44]
mov edx, 1
push eax
call fcn.0047d480
mov eax, dword [ebp - 0x18]
add esp, 8
mov esi, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x68], edx
mov eax, dword [edi + 0x14]
xor ecx, ecx
shr eax, 4
mov dword [ebp - 0x6c], eax
test eax, eax
je 0x43d8cc
mov dword [ebp - 0x84], ecx
nop
mov eax, dword [edi + 0x14]
inc ecx
imul eax, dword [ebp - 0x80]
mov edi, dword [ebx + 0xc]
mov dword [ebp - 0x64], ecx
add eax, dword [ebp - 0x84]
add edi, eax
add eax, dword [ebp - 0x8c]
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x88], eax
cmp ecx, dword [ebp - 0x6c]
jne 0x43d7e2
cmp dword [ebp - 0x7c], 0
jbe 0x43d7e2
mov eax, dword [ebp - 0x78]
mov ecx, 8
mov edi, dword [ebp - 0x68]
movups xmm0, xmmword [ebp - 0x24]
shr eax, 0x1c
and eax, 8
sub ecx, eax
mov eax, 0x87
sar eax, cl
mov ecx, dword [ebp - 0x70]
shld ecx, edi, 1
cdq
add edi, edi
xor edx, ecx
mov ecx, dword [ebp - 0x70]
xor eax, edi
mov edi, dword [ebp - 0x78]
shld edi, esi, 1
mov dword [ebp - 0x68], eax
xor eax, eax
shr ecx, 0x1f
add esi, esi
or esi, ecx
or eax, edi
mov edi, dword [ebp - 0x60]
mov ecx, edx
mov edx, dword [ebp - 0x68]
movups xmmword [ebp - 0x54], xmm0
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], eax
mov ecx, edx
mov edx, dword [edi + 4]
xor ecx, dword [edi]
xor edx, dword [ebp - 0x70]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], edx
mov eax, dword [edi + 0xc]
xor eax, dword [ebp - 0x78]
xor esi, dword [edi + 8]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x2c], esi
cmp dword [eax + 4], 1
jne 0x43d830
lea ecx, [ebp - 0x34]
xor edx, edx
push ecx
push ecx
mov ecx, dword [eax + 8]
add ecx, 0x118
call fcn.0047d480
mov edx, dword [ebp - 0x30]
add esp, 8
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x20]
mov esi, dword [ebp - 0x24]
jmp 0x43d836
mov eax, dword [ebp - 0x70]
mov esi, dword [ebp - 0x68]
xor ecx, esi
add dword [ebp - 0x84], 0x10
mov esi, dword [ebp - 0x88]
xor edx, eax
mov dword [esi], ecx
mov dword [esi + 4], edx
mov ecx, dword [ebp - 0x2c]
xor ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x28]
xor eax, dword [ebp - 0x18]
mov dword [esi + 8], ecx
mov ecx, 8
mov dword [esi + 0xc], eax
mov edi, dword [ebp - 0x18]
mov eax, edi
mov esi, dword [ebp - 0x24]
shr eax, 0x1c
and eax, 8
sub ecx, eax
mov eax, 0x87
sar eax, cl
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x60], ecx
shld ecx, esi, 1
cdq
add esi, esi
xor edx, ecx
xor eax, esi
mov dword [ebp - 0x70], edx
mov esi, dword [ebp - 0x60]
xor ecx, ecx
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x1c]
shld edi, eax, 1
shr esi, 0x1f
or ecx, edi
mov dword [ebp - 0x20], edx
mov edi, dword [ebp - 0x74]
add eax, eax
or esi, eax
mov dword [ebp - 0x78], ecx
mov eax, dword [ebp - 0x68]
mov edx, eax
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], esi
cmp ecx, dword [ebp - 0x6c]
jb 0x43d750
cmp dword [ebp - 0x7c], 0
jbe 0x43da80
mov ecx, dword [edi + 0x14]
xor edx, edx
mov esi, dword [ebp - 0x8c]
mov eax, ecx
imul ecx, dword [ebp - 0x80]
and eax, 0xfffffff0
add esi, eax
add esi, ecx
lea edi, [eax + ecx]
add edi, dword [ebx + 0xc]
lea eax, [esi - 0x10]
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x60], eax
sub edi, ecx
sub eax, esi
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x54]
add eax, edx
mov cl, byte [edi + eax]
xor cl, byte [eax]
mov eax, dword [ebp - 0x64]
mov byte [ebp + edx - 0x34], cl
lea ecx, [edx + esi]
inc edx
mov al, byte [eax + ecx]
mov byte [ecx], al
cmp edx, dword [ebp - 0x7c]
jb 0x43d904
mov edx, dword [ebp - 0x7c]
mov ecx, 0x10
mov edi, dword [ebp - 0x74]
sub ecx, edx
mov dword [ebp - 0x64], ecx
mov eax, edx
cmp ecx, 0x40
jb 0x43da01
mov ecx, dword [ebp - 0x60]
lea edi, [ecx + edx]
add ecx, 0xf
mov dword [ebp - 0x6c], edi
lea edi, [ebp - 0x34]
add edx, edi
mov edi, dword [ebp - 0x74]
cmp edx, ecx
ja 0x43d962
lea ecx, [ebp - 0x25]
cmp ecx, dword [ebp - 0x6c]
jae 0x43da01
mov ecx, dword [ebp - 0x64]
lea edi, [ebp - 0x54]
sub edi, dword [ebp - 0x60]
and ecx, 0x3f
mov edx, 0x10
mov dword [ebp - 0x88], edi
sub edx, ecx
lea edi, [ebp - 0x34]
sub edi, dword [ebp - 0x60]
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x64], edx
mov edx, dword [ebp - 0x6c]
add edx, 0x30
mov dword [ebp - 0x6c], edi
mov edi, dword [ebp - 0x64]
sub esi, ecx
nop word [eax + eax]
movups xmm0, xmmword [edx - 0x30]
lea ecx, [ebp - 0x44]
movups xmm1, xmmword [ebp + eax - 0x54]
add ecx, eax
lea edx, [edx + 0x40]
pxor xmm1, xmm0
movups xmmword [ebp + eax - 0x34], xmm1
movups xmm0, xmmword [ecx]
movups xmm1, xmmword [ecx + esi]
mov ecx, dword [ebp - 0x88]
pxor xmm1, xmm0
movups xmm0, xmmword [edx - 0x50]
movups xmmword [ebp + eax - 0x24], xmm1
movups xmm1, xmmword [ebp + eax - 0x34]
pxor xmm1, xmm0
movups xmm0, xmmword [edx - 0x40]
movups xmmword [ebp + eax - 0x14], xmm1
add eax, 0x40
movups xmm1, xmmword [edx + ecx - 0x40]
mov ecx, dword [ebp - 0x6c]
pxor xmm1, xmm0
movups xmmword [edx + ecx - 0x40], xmm1
cmp eax, edi
jb 0x43d9a0
mov edi, dword [ebp - 0x74]
mov esi, dword [ebp - 0x60]
cmp eax, 0x10
jae 0x43da27
mov edi, esi
lea ecx, [ebp - 0x54]
sub edi, ecx
lea ecx, [ebp - 0x54]
add ecx, eax
mov dl, byte [ecx + edi]
xor dl, byte [ecx]
mov byte [ebp + eax - 0x34], dl
inc eax
cmp eax, 0x10
jb 0x43da10
mov edi, dword [ebp - 0x74]
cmp dword [edi + 4], 1
jne 0x43da45
mov ecx, dword [edi + 8]
lea eax, [ebp - 0x34]
push eax
push eax
add ecx, 0x118
xor edx, edx
call fcn.0047d480
add esp, 8
mov ecx, dword [ebp - 0x54]
xor ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x50]
xor eax, dword [ebp - 0x30]
mov dword [esi], ecx
mov ecx, dword [ebp - 0x4c]
mov dword [esi + 4], eax
xor ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x48]
xor eax, dword [ebp - 0x28]
mov dword [esi + 8], ecx
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x68], eax
cmp byte [edi + 0x18], 0
je 0x43dad1
xor edx, edx
nop dword [eax + eax]
mov eax, dword [ebp + edx*8 - 0x40]
mov ecx, dword [ebp + edx*8 - 0x44]
not eax
not ecx
test eax, eax
ja 0x43dabc
jb 0x43daa7
cmp ecx, 1
ja 0x43dabc
neg ecx
mov dword [ebp + edx*8 - 0x44], ecx
adc eax, 0
neg eax
mov dword [ebp + edx*8 - 0x40], eax
dec edx
and edx, 1
jmp 0x43da90
add dword [ebp + edx*8 - 0x44], 1
mov ecx, dword [ebp + edx*8 - 0x40]
adc ecx, 0
mov dword [ebp + edx*8 - 0x40], ecx
jmp 0x43db4f
xor edi, edi
lea eax, [edi*8]
lea esi, [ebp - 0x3c]
sub esi, eax
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov dword [ebp - 0x94], ecx
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x98], eax
call fcn.00434ee0
mov eax, dword [ebp - 0x94]
mov edx, dword [ebp - 0x98]
mov ecx, edx
mov dword [ebp - 0x64], eax
not ecx
not eax
test eax, eax
ja 0x43db34
jb 0x43db1b
cmp ecx, 1
ja 0x43db34
neg ecx
mov dword [esi], ecx
mov ecx, esi
adc eax, 0
neg eax
mov dword [esi + 4], eax
call fcn.00434ee0
dec edi
and edi, 1
jmp 0x43dad3
mov eax, dword [ebp - 0x64]
add edx, 1
mov dword [esi], edx
mov ecx, esi
adc eax, 0
mov dword [esi + 4], eax
call fcn.00434ee0
mov esi, dword [ebp - 0x60]
mov edi, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x80]
mov edx, dword [ebp - 0x68]
inc ecx
mov dword [ebp - 0x80], ecx
cmp ecx, dword [ebp - 0x9c]
jb 0x43d700
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004891fb
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x14
push str.size_was_not_a_multiple_of_sector_size.
lea ecx, [ebp - 0xb4]
call fcn.00403040
push str.XtsModeImpl::decrypt__
lea ecx, [ebp - 0x5c]
mov dword [ebp - 4], 4
call fcn.00403040
lea eax, [ebp - 0xb4]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x110]
call fcn.00433f80
push 0x4d8ce0
jmp 0x43dc0d
push str.dst_was_null.
lea ecx, [ebp - 0x5c]
call fcn.00403040
push str.XtsModeImpl::decrypt__
lea ecx, [ebp - 0xb4]
mov dword [ebp - 4], 0
call fcn.00403040
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0xb4]
push eax
lea ecx, [ebp - 0x110]
call fcn.00435050
push 0x4d8d50
lea eax, [ebp - 0x110]
push eax
call fcn.0048ab6b
int3