Function at 0x10034b50
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x30
call fcn.100b1990
push ebx
mov ebx, dword [esp + 0x40]
push esi
mov esi, dword [esp + 0x40]
cmp esi, ebx
mov dword [esp + 0x14], 0
jne 0x10034b8e
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x3c]
push eax
push ecx
push esi
push edx
call sym.LIBEAY32_smt.dll_BN_GF2m_mod_sqr_arr
add esp, 0x10
pop esi
pop ebx
add esp, 0x30
ret
push ebp
mov ebp, dword [esp + 0x50]
push edi
push ebp
call sym.LIBEAY32_smt.dll_BN_CTX_start
push ebp
call sym.LIBEAY32_smt.dll_BN_CTX_get
mov edi, eax
add esp, 8
test edi, edi
mov dword [esp + 0x14], edi
je 0x10034d71
mov eax, dword [ebx + 4]
mov ecx, dword [esi + 4]
lea esi, [eax + ecx + 4]
mov eax, dword [edi + 8]
cmp esi, eax
jg 0x10034bc6
mov eax, edi
jmp 0x10034bd0
push esi
push edi
call sym.LIBEAY32_smt.dll_bn_expand2
add esp, 8
test eax, eax
je 0x10034d71
xor eax, eax
mov dword [edi + 4], esi
test esi, esi
jle 0x10034bf0
mov edx, dword [edi]
inc eax
cmp eax, esi
mov dword [edx + eax*4 - 4], 0
jl 0x10034be1
mov eax, dword [ebx + 4]
xor ecx, ecx
test eax, eax
mov dword [esp + 0x18], ecx
jle 0x10034d2f
jmp 0x10034c07
mov ebx, dword [esp + 0x4c]
mov edx, dword [ebx]
lea ebp, [ecx*4]
lea ebx, [ecx + 1]
mov esi, dword [edx + ebp]
cmp ebx, eax
mov dword [esp + 0x20], esi
jne 0x10034c28
mov dword [esp + 0x10], 0
jmp 0x10034c30
mov eax, dword [edx + ebp + 4]
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x48]
xor ebx, ebx
mov eax, dword [edx + 4]
test eax, eax
jle 0x10034d15
mov ecx, dword [esp + 0x10]
xor ecx, esi
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x48]
lea edx, [ebx + 1]
cmp edx, eax
mov ecx, dword [ecx]
mov edi, dword [ecx + ebx*4]
jne 0x10034c5f
xor esi, esi
jmp 0x10034c63
mov esi, dword [ecx + ebx*4 + 4]
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x38]
push eax
push esi
lea edx, [esp + 0x44]
push ecx
push edx
call fcn.10034d90
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x40]
push eax
push edi
lea edx, [esp + 0x4c]
push ecx
push edx
call fcn.10034d90
mov eax, dword [esp + 0x44]
xor esi, edi
push eax
lea ecx, [esp + 0x50]
push esi
lea edx, [esp + 0x50]
push ecx
push edx
call fcn.10034d90
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x64]
mov edi, dword [esp + 0x68]
mov esi, dword [esp + 0x60]
mov eax, ecx
xor esi, ecx
xor eax, edx
mov edx, dword [esp + 0x6c]
xor eax, edi
mov edi, dword [esp + 0x5c]
xor eax, edx
xor esi, edi
xor esi, eax
add esp, 0x30
xor esi, edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], esi
mov ecx, ebp
lea eax, [esp + 0x30]
mov esi, 4
mov edx, dword [esp + 0x14]
mov edi, dword [eax]
add eax, 4
mov edx, dword [edx]
xor dword [edx + ecx], edi
add edx, ecx
add ecx, 4
dec esi
jne 0x10034ce2
mov eax, dword [esp + 0x48]
add ebx, 2
add ebp, 8
mov eax, dword [eax + 4]
cmp ebx, eax
jl 0x10034c4b
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x4c]
add ecx, 2
mov dword [esp + 0x18], ecx
mov eax, dword [edx + 4]
cmp ecx, eax
jl 0x10034c03
mov ebp, dword [esp + 0x54]
mov eax, dword [edi + 4]
test eax, eax
jle 0x10034d52
mov ecx, dword [edi]
lea eax, [ecx + eax*4 - 4]
mov edx, dword [eax]
sub eax, 4
test edx, edx
jne 0x10034d52
mov edx, dword [edi + 4]
dec edx
mov ecx, edx
mov dword [edi + 4], edx
test ecx, ecx
jg 0x10034d3c
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x44]
push eax
push edi
push ecx
call sym.LIBEAY32_smt.dll_BN_GF2m_mod_arr
add esp, 0xc
test eax, eax
je 0x10034d71
mov dword [esp + 0x1c], 1
push ebp
call sym.LIBEAY32_smt.dll_BN_CTX_end
mov eax, dword [esp + 0x20]
add esp, 4
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x30
ret