Function at 0x452140
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
mov eax, dword [0x4af480]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0x1c]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0xa0], eax
push esi
mov esi, dword [ebp + 0x24]
mov dword [ebp - 0xa4], esi
test eax, eax
jne 0x4521a5
push str.e:ladik_appdir_stormlib_srclibtomcrypt_srcpkpkcs1pkcs_1_pss_decode.c
push 0x2a
push str.msghash___NULL
push str.LTC_ARGCHK__s_failure_on_line__d_of_file__s_n
push 2
call fcn.00486bab
add esp, 4
push eax
call fcn.00405070
push 0x16
call fcn.00487303
add esp, 0x18
test esi, esi
jne 0x4521d4
push str.e:ladik_appdir_stormlib_srclibtomcrypt_srcpkpkcs1pkcs_1_pss_decode.c
push 0x2b
push str.res___NULL
push str.LTC_ARGCHK__s_failure_on_line__d_of_file__s_n
push 2
call fcn.00486bab
add esp, 4
push eax
call fcn.00405070
push 0x16
call fcn.00487303
add esp, 0x18
mov dword [esi], 0
cmp ebx, 0x1f
ja 0x4525d7
imul ecx, ebx, 0x68
mov dword [ebp - 0x98], ecx
cmp dword [ecx + 0x4b2760], 0
je 0x4525d7
mov eax, dword [ebp + 0x20]
mov ebx, 0
test al, 7
push edi
setne bl
shr eax, 3
add ebx, eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x8c], ebx
cmp eax, ebx
ja 0x4525c1
mov edi, dword [ecx + 0x4b2768]
add eax, 2
add eax, edi
cmp ebx, eax
jb 0x4525c1
cmp dword [ebp + 0x14], ebx
jne 0x4525c1
push ebx
call fcn.00486c6f
mov esi, eax
push ebx
mov dword [ebp - 0x84], esi
call fcn.00486c6f
push ebx
mov dword [ebp - 0x7c], eax
call fcn.00486c6f
push ebx
mov dword [ebp - 0x88], eax
call fcn.00486c6f
add esp, 0x10
mov dword [ebp - 0x78], eax
test esi, esi
je 0x452578
cmp dword [ebp - 0x7c], 0
je 0x45256f
cmp dword [ebp - 0x88], 0
je 0x45256f
test eax, eax
je 0x45256f
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x80]
cmp byte [edx + ecx - 1], 0xbc
je 0x4522a6
mov esi, 7
jmp 0x452535
mov eax, ebx
sub eax, edi
mov dword [ebp - 0x94], eax
lea ebx, [eax - 1]
push ebx
push edx
push esi
call fcn.0047ef80
mov eax, dword [ebp - 0x80]
mov esi, dword [ebp - 0x8c]
sub eax, edi
dec eax
push edi
add eax, esi
push eax
push dword [ebp - 0x78]
call fcn.0047ef80
lea ecx, [esi*8]
mov eax, 0xff
sub ecx, dword [ebp + 0x20]
add esp, 0x18
inc ecx
sar eax, cl
mov ecx, dword [ebp - 0x80]
mov dword [ebp - 0x9c], eax
not eax
test byte [ecx], al
je 0x452301
mov esi, 7
jmp 0x452532
push ebx
push dword [ebp - 0x7c]
push edi
push dword [ebp - 0x78]
push dword [ebp - 0x90]
call fcn.00451f60
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x452532
xor ecx, ecx
mov dword [ebp - 0x80], ecx
test ebx, ebx
je 0x4523ee
mov edx, dword [ebp - 0x84]
mov esi, dword [ebp - 0x7c]
cmp ebx, 0x40
jb 0x4523cf
lea eax, [esi - 1]
mov dword [ebp - 0x80], ecx
add eax, ebx
cmp edx, eax
ja 0x452355
lea eax, [edx - 1]
add eax, ebx
cmp eax, esi
jae 0x4523cf
mov eax, ebx
mov ecx, esi
and eax, 0xffffffc0
sub ecx, edx
mov dword [ebp - 0x90], ecx
mov ecx, dword [ebp - 0x80]
mov dword [ebp - 0x8c], eax
mov eax, edx
mov edx, dword [ebp - 0x90]
movups xmm0, xmmword [eax]
lea eax, [eax + 0x40]
movups xmm1, xmmword [edx + eax - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x40], xmm1
movups xmm0, xmmword [eax - 0x30]
movups xmm1, xmmword [esi + ecx + 0x10]
pxor xmm1, xmm0
movups xmmword [eax - 0x30], xmm1
movups xmm0, xmmword [eax - 0x20]
movups xmm1, xmmword [esi + ecx + 0x20]
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
movups xmm0, xmmword [eax - 0x10]
movups xmm1, xmmword [esi + ecx + 0x30]
add ecx, 0x40
pxor xmm1, xmm0
movups xmmword [eax - 0x10], xmm1
cmp ecx, dword [ebp - 0x8c]
jb 0x452375
mov edx, dword [ebp - 0x84]
mov dword [ebp - 0x80], ecx
cmp ecx, ebx
jae 0x4523ee
add ecx, edx
sub esi, edx
sub ebx, dword [ebp - 0x80]
nop word [eax + eax]
mov al, byte [ecx + esi]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub ebx, 1
jne 0x4523e0
mov ecx, dword [ebp - 0x84]
mov eax, dword [ebp - 0x9c]
mov edx, dword [ebp - 0x94]
sub edx, dword [ebp + 0x18]
and byte [ecx], al
xor eax, eax
add edx, 0xfffffffe
je 0x45241f
nop dword [eax]
cmp byte [eax + ecx], 0
jne 0x4522f7
inc eax
cmp eax, edx
jb 0x452410
add eax, ecx
mov dword [ebp - 0x94], eax
cmp byte [eax], 1
jne 0x4522f7
mov ebx, dword [ebp - 0x98]
lea eax, [ebp - 0x74]
push eax
mov eax, dword [ebx + 0x4b27b4]
call eax
mov esi, eax
add esp, 4
test esi, esi
jne 0x452532
mov esi, dword [ebp - 0x7c]
push 8
push esi
call fcn.00456a60
push 8
lea eax, [ebp - 0x74]
push esi
push eax
mov eax, dword [ebx + 0x4b27b8]
call eax
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x452532
push dword [ebp + 0xc]
lea eax, [ebp - 0x74]
push dword [ebp - 0xa0]
push eax
mov eax, dword [ebx + 0x4b27b8]
call eax
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x452532
push dword [ebp + 0x18]
mov eax, dword [ebp - 0x94]
inc eax
push eax
lea eax, [ebp - 0x74]
push eax
mov eax, dword [ebx + 0x4b27b8]
call eax
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x452532
mov ebx, dword [ebp - 0x7c]
lea eax, [ebp - 0x74]
push ebx
push eax
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 0x4b27bc]
call eax
mov esi, eax
add esp, 8
test esi, esi
jne 0x452532
mov edx, dword [ebp - 0x78]
mov ecx, ebx
sub edi, 4
jb 0x4524f2
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x4524f7
add ecx, 4
add edx, 4
sub edi, 4
jae 0x4524e1
cmp edi, 0xfffffffc
je 0x452524
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x452530
cmp edi, 0xfffffffd
je 0x452524
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x452530
cmp edi, 0xfffffffe
je 0x452524
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x452530
cmp edi, 0xffffffff
je 0x452524
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x452530
mov eax, dword [ebp - 0xa4]
mov dword [eax], 1
xor esi, esi
mov eax, dword [ebp - 0x78]
push eax
call fcn.00486c54
push dword [ebp - 0x88]
call fcn.00486c54
push dword [ebp - 0x7c]
call fcn.00486c54
push dword [ebp - 0x84]
call fcn.00486c54
add esp, 0x10
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047d2db
mov esp, ebp
pop ebp
ret
push esi
call fcn.00486c54
add esp, 4
mov eax, dword [ebp - 0x7c]
test eax, eax
je 0x452588
push eax
call fcn.00486c54
add esp, 4
mov eax, dword [ebp - 0x88]
test eax, eax
je 0x45259b
push eax
call fcn.00486c54
add esp, 4
mov eax, dword [ebp - 0x78]
test eax, eax
je 0x4525ab
push eax
call fcn.00486c54
add esp, 4
pop edi
pop esi
mov eax, 0xd
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047d2db
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0x16
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047d2db
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 0xb
pop esi
xor ecx, ebp
pop ebx
call fcn.0047d2db
mov esp, ebp
pop ebp
ret