Function at 0x11069a20
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x48
call fcn.110d22e0
mov eax, dword [0x11143f70]
xor eax, esp
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x4c]
push ebx
push ebp
mov ebp, dword [esp + 0x58]
xor ebx, ebx
mov dword [esp + 8], eax
cmp ebp, ebx
je 0x11069dad
push esi
push edi
cmp dword [0x11145c3c], ebx
je 0x11069b48
lea ecx, [esp + 0x18]
push ecx
call sym.LIBEAY32.dll_CRYPTO_THREADID_current
push 0xdf
push 0x110fac60
push 0x13
push 5
call sym.LIBEAY32.dll_CRYPTO_lock
lea edx, [esp + 0x2c]
push edx
push 0x111457f0
call sym.LIBEAY32.dll_CRYPTO_THREADID_cmp
mov edi, eax
push 0xe1
neg edi
push 0x110fac60
sbb edi, edi
push 0x13
inc edi
push 6
mov dword [esp + 0x40], edi
call sym.LIBEAY32.dll_CRYPTO_lock
add esp, 0x2c
cmp edi, ebx
jne 0x11069ac2
push 0xe6
push 0x110fac60
push 0x12
push 9
call sym.LIBEAY32.dll_CRYPTO_lock
add esp, 0x10
mov eax, dword [0x11145c28]
mov edx, dword [0x11145c2c]
mov ecx, dword [0x11145c24]
mov dword [esp + 0x20], eax
mov eax, dword [0x11145c0c]
mov dword [esp + 0x24], edx
mov edx, dword [0x11145c10]
mov dword [esp + 0x40], eax
mov eax, dword [0x11145c14]
mov esi, ecx
add ecx, ebp
mov dword [esp + 0x44], edx
mov edx, dword [0x11145c18]
mov dword [esp + 0x48], eax
mov eax, dword [0x11145c1c]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], eax
mov dword [0x11145c24], ecx
cmp ecx, 0x3ff
jb 0x11069b53
mov eax, 0x401005
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 9
imul eax, eax, 0xfffffc01
add ecx, eax
mov dword [0x11145c24], ecx
mov dword [0x11145c20], 0x3ff
jmp 0x11069b69
mov dword [esp + 0x14], ebx
mov edi, ebx
jmp 0x11069aac
mov eax, dword [0x11145c20]
cmp eax, 0x3ff
jae 0x11069b69
cmp ecx, eax
jbe 0x11069b69
mov dword [0x11145c20], ecx
mov eax, 0x66666667
imul ebp
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*4]
add ecx, ecx
add ecx, ecx
mov edx, ebp
sub edx, ecx
xor ecx, ecx
test edx, edx
setg cl
add ecx, eax
add dword [0x11145c2c], ecx
cmp edi, ebx
jne 0x11069bae
push 0x106
push 0x110fac60
push 0x12
push 0xa
call sym.LIBEAY32.dll_CRYPTO_lock
add esp, 0x10
lea edx, [esp + 0x28]
push edx
call sym.LIBEAY32.dll_EVP_MD_CTX_init
add esp, 4
cmp ebp, ebx
mov dword [esp + 0x18], ebx
jle 0x11069cf6
cmp ebp, 0x14
mov edi, ebp
jle 0x11069bd3
mov edi, 0x14
push 0
call sym.LIBEAY32.dll_EVP_sha1
push eax
lea eax, [esp + 0x30]
push eax
call sym.LIBEAY32.dll_EVP_DigestInit_ex
add esp, 0xc
test eax, eax
je 0x11069d9e
push 0x14
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x30]
push edx
call sym.LIBEAY32.dll_EVP_DigestUpdate
add esp, 0xc
test eax, eax
je 0x11069d9e
lea ebx, [edi + esi - 0x3ff]
lea ecx, [esi + 0x111457f8]
lea edx, [esp + 0x28]
test ebx, ebx
jle 0x11069c45
mov eax, edi
sub eax, ebx
push eax
push ecx
push edx
call sym.LIBEAY32.dll_EVP_DigestUpdate
add esp, 0xc
test eax, eax
je 0x11069d9e
push ebx
push 0x111457f8
lea eax, [esp + 0x30]
push eax
jmp 0x11069c48
push edi
push ecx
push edx
call sym.LIBEAY32.dll_EVP_DigestUpdate
add esp, 0xc
test eax, eax
je 0x11069d9e
mov eax, dword [esp + 0x10]
push edi
push eax
lea ecx, [esp + 0x30]
push ecx
call sym.LIBEAY32.dll_EVP_DigestUpdate
add esp, 0xc
test eax, eax
je 0x11069d9e
push 8
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x30]
push eax
call sym.LIBEAY32.dll_EVP_DigestUpdate
add esp, 0xc
test eax, eax
je 0x11069d9e
push 0
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x30]
push edx
call sym.LIBEAY32.dll_EVP_DigestFinal_ex
add esp, 0xc
test eax, eax
je 0x11069d9e
inc dword [esp + 0x24]
add dword [esp + 0x10], edi
xor eax, eax
test edi, edi
jle 0x11069cda
lea esp, [esp]
mov cl, byte [esp + eax + 0x40]
xor byte [esi + 0x111457f8], cl
inc esi
cmp esi, 0x3ff
jl 0x11069cd5
xor esi, esi
inc eax
cmp eax, edi
jl 0x11069cc0
mov eax, dword [esp + 0x18]
add eax, 0x14
sub ebp, 0x14
cmp eax, dword [esp + 0x60]
mov dword [esp + 0x18], eax
jl 0x11069bc7
mov edi, dword [esp + 0x14]
test edi, edi
jne 0x11069d10
push 0x13b
push 0x110fac60
push 0x12
push 9
call sym.LIBEAY32.dll_CRYPTO_lock
add esp, 0x10
xor eax, eax
jmp 0x11069d20
movzx edx, byte [esp + eax + 0x40]
xor byte [eax + 0x11145c0c], dl
movzx ecx, byte [esp + eax + 0x41]
movzx edx, byte [esp + eax + 0x42]
xor byte [eax + 0x11145c0d], cl
xor byte [eax + 0x11145c0e], dl
movzx ecx, byte [esp + eax + 0x43]
movzx edx, byte [esp + eax + 0x44]
xor byte [eax + 0x11145c0f], cl
xor byte [eax + 0x11145c10], dl
add eax, 5
cmp eax, 0x14
jl 0x11069d20
fld qword [0x110fac58]
fld qword [0x11145c30]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 5
jp 0x11069d82
fadd qword [esp + 0x64]
fstp qword [0x11145c30]
jmp 0x11069d84
fstp st(0)
test edi, edi
jne 0x11069d9e
push 0x148
push 0x110fac60
push 0x12
push 0xa
call sym.LIBEAY32.dll_CRYPTO_lock
add esp, 0x10
lea eax, [esp + 0x28]
push eax
call sym.LIBEAY32.dll_EVP_MD_CTX_cleanup
add esp, 4
pop edi
pop esi
mov ecx, dword [esp + 0x4c]
pop ebp
pop ebx
xor ecx, esp
call fcn.110d2962
add esp, 0x48
ret