Function at 0x7464b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x20
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x34]
cmp dword [eax], 0
je 0x746534
mov edi, dword [esp + 0x40]
push edi
call fcn.00584bf0
add esp, 4
push edi
call fcn.00584da0
add esp, 4
mov ebp, eax
push edi
call fcn.00584da0
add esp, 4
mov dword [esp], eax
push edi
call fcn.00584da0
add esp, 4
test eax, eax
je 0x74687a
mov ebx, eax
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push ebp
call fcn.007446b0
add esp, 0xc
test eax, eax
je 0x74687a
push ebp
call fcn.00588310
add esp, 4
test eax, eax
je 0x746547
push esi
call fcn.005895e0
add esp, 4
mov ebx, 1
jmp 0x74687c
push esi
call fcn.005895e0
add esp, 4
mov ebx, 1
jmp 0x746885
mov eax, dword [esp + 0x3c]
test byte [eax], 1
mov ecx, dword [esp]
mov dword [esp + 0xc], ebp
mov dword [esp + 4], ebx
jne 0x7467fe
push edi
call fcn.00584da0
add esp, 4
mov ebx, eax
push edi
call fcn.00584da0
add esp, 4
mov dword [esp + 8], eax
push edi
call fcn.00584da0
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
je 0x74687a
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], 0
push edi
push 0
push 0
push 0
mov ebp, dword [esp + 0x4c]
push dword [ebp]
mov ebx, dword [esp + 0x28]
push ebx
call fcn.0058c190
add esp, 0x18
test eax, eax
je 0x74687a
push ebp
push ebx
push ebx
call fcn.007446b0
add esp, 0xc
test eax, eax
je 0x74687a
push dword [esp]
call fcn.005895e0
add esp, 4
push ebx
push dword [esp + 8]
call fcn.00588680
add esp, 8
test eax, eax
je 0x74687a
mov ebx, dword [esp + 0x3c]
cmp dword [ebx], 2
mov eax, dword [esp]
jl 0x7467a3
mov ecx, 1
jmp 0x74662d
mov dword [ebx + 4], edi
push ebx
call fcn.005891d0
add esp, 4
mov ecx, dword [esp + 0x1c]
inc ecx
mov ebx, dword [esp + 0x3c]
cmp ecx, dword [ebx]
mov edi, dword [esp + 0x40]
mov esi, dword [esp + 0x34]
mov eax, dword [esp]
jge 0x7467a3
mov dword [esp + 0x1c], ecx
push edi
push ebx
push eax
mov ebp, eax
push eax
call fcn.00744c80
add esp, 0x10
test eax, eax
je 0x74687a
push edi
push ebx
push dword [esp + 0xc]
mov esi, dword [esp + 0x14]
push esi
call fcn.00744c80
add esp, 0x10
test eax, eax
je 0x74687a
push edi
push ebx
push dword [esp + 0x14]
push esi
mov ebx, dword [esp + 0x28]
push ebx
call fcn.00744af0
add esp, 0x14
test eax, eax
je 0x74687a
mov eax, dword [ebp + 4]
cmp eax, dword [ebx + 4]
mov esi, ebp
cmovl esi, ebx
mov edi, ebx
cmovl edi, ebp
push dword [esi + 4]
push ebp
call fcn.005886e0
add esp, 8
test eax, eax
mov ebx, 0
je 0x746983
cmp dword [edi + 4], 0
jle 0x7466db
mov ecx, dword [esi]
mov edx, dword [edi]
mov ebx, dword [ebp]
xor eax, eax
nop word cs:[eax + eax]
mov ebp, dword [edx + eax*4]
xor ebp, dword [ecx + eax*4]
mov dword [ebx + eax*4], ebp
inc eax
cmp eax, dword [edi + 4]
jl 0x7466c0
mov edi, dword [esi + 4]
cmp eax, edi
mov ebx, dword [esp]
jl 0x7466e7
jmp 0x7466fe
xor eax, eax
mov edi, dword [esi + 4]
cmp eax, edi
mov ebx, dword [esp]
jge 0x7466fe
mov ecx, dword [esi]
mov edx, dword [ebx]
nop dword [eax + eax]
mov edi, dword [ecx + eax*4]
mov dword [edx + eax*4], edi
inc eax
mov edi, dword [esi + 4]
cmp eax, edi
jl 0x7466f0
mov dword [ebx + 4], edi
push ebx
call fcn.005891d0
add esp, 4
mov ecx, dword [esp + 8]
mov eax, dword [ecx + 4]
mov edi, dword [esp + 0x14]
cmp eax, dword [edi + 4]
mov esi, ecx
cmovl esi, edi
cmovl edi, ecx
push dword [esi + 4]
mov ebx, dword [esp + 8]
push ebx
call fcn.005886e0
add esp, 8
test eax, eax
je 0x74698c
cmp dword [edi + 4], 0
jle 0x746770
mov ecx, dword [esi]
mov edx, dword [edi]
mov ebx, dword [ebx]
xor eax, eax
nop word cs:[eax + eax]
mov ebp, dword [edx + eax*4]
xor ebp, dword [ecx + eax*4]
mov dword [ebx + eax*4], ebp
inc eax
cmp eax, dword [edi + 4]
jl 0x746750
mov edi, dword [esi + 4]
cmp eax, edi
mov ebx, dword [esp + 4]
jge 0x746605
jmp 0x746781
xor eax, eax
mov edi, dword [esi + 4]
cmp eax, edi
mov ebx, dword [esp + 4]
jge 0x746605
mov ecx, dword [esi]
mov edx, dword [ebx]
nop word cs:[eax + eax]
mov edi, dword [ecx + eax*4]
mov dword [edx + eax*4], edi
inc eax
mov edi, dword [esi + 4]
cmp eax, edi
jl 0x746790
jmp 0x746605
mov ebx, dword [esp + 4]
push ebx
call fcn.00588310
add esp, 4
test eax, eax
je 0x7467c8
mov ecx, dword [esp + 0x10]
lea eax, [ecx + 1]
cmp ecx, 0x31
mov dword [esp + 0x10], eax
jb 0x746598
push ebx
call fcn.00588310
add esp, 4
test eax, eax
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp]
je 0x746818
call fcn.005b5b10
push str.BN_GF2m_mod_solve_quad_arr
push 0x432
push str.crypto_bn_bn_gf2m.c
call fcn.005b5c10
add esp, 0xc
push 0
push 0x71
jmp 0x746870
push ebp
push ecx
call fcn.00588680
add esp, 8
test eax, eax
je 0x74687a
mov ebx, dword [esp + 0x3c]
cmp dword [ebx], 3
mov ebp, dword [esp]
jge 0x74688f
push edi
push ebx
push ebp
mov ebx, dword [esp + 0x10]
push ebx
call fcn.00744c80
add esp, 0x10
test eax, eax
je 0x74687a
push ebx
push ebp
push ebx
call fcn.00744600
add esp, 0xc
test eax, eax
je 0x74687a
push dword [esp + 0xc]
push ebx
call fcn.00588f80
add esp, 8
test eax, eax
je 0x746997
call fcn.005b5b10
push str.BN_GF2m_mod_solve_quad_arr
push 0x43c
push str.crypto_bn_bn_gf2m.c
call fcn.005b5c10
add esp, 0xc
push 0
push 0x74
push 3
call fcn.005b5d00
add esp, 0xc
xor ebx, ebx
push edi
call fcn.00584cd0
add esp, 4
mov eax, ebx
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, 1
jmp 0x7468ca
mov dword [ebp + 4], esi
push ebp
call fcn.005891d0
add esp, 4
mov esi, dword [esp + 8]
lea eax, [esi + 1]
mov ebx, dword [esp + 0x3c]
mov ecx, dword [ebx]
lea edx, [ecx - 1]
shr edx, 0x1f
add ecx, edx
dec ecx
sar ecx, 1
cmp esi, ecx
mov edi, dword [esp + 0x40]
mov esi, dword [esp + 0x34]
jge 0x746818
mov dword [esp + 8], eax
push edi
push ebx
push ebp
push ebp
call fcn.00744c80
add esp, 0x10
test eax, eax
je 0x74687a
push edi
push ebx
push ebp
push ebp
call fcn.00744c80
add esp, 0x10
test eax, eax
je 0x74687a
mov eax, dword [ebp + 4]
mov esi, dword [esp + 0xc]
cmp eax, dword [esi + 4]
mov ebx, ebp
cmovl ebx, esi
cmovl esi, ebp
push dword [ebx + 4]
push ebp
call fcn.005886e0
add esp, 8
test eax, eax
je 0x74687a
cmp dword [esi + 4], 0
jle 0x74694f
mov ecx, dword [ebx]
mov edx, dword [esi]
mov edi, dword [ebp]
xor eax, eax
nop word cs:[eax + eax]
mov ebp, dword [edx + eax*4]
xor ebp, dword [ecx + eax*4]
mov dword [edi + eax*4], ebp
inc eax
cmp eax, dword [esi + 4]
jl 0x746930
mov esi, dword [ebx + 4]
cmp eax, esi
mov ebp, dword [esp]
jge 0x746896
jmp 0x74695f
xor eax, eax
mov esi, dword [ebx + 4]
cmp eax, esi
mov ebp, dword [esp]
jge 0x746896
mov ecx, dword [ebx]
mov edx, dword [ebp]
nop word cs:[eax + eax]
mov esi, dword [ecx + eax*4]
mov dword [edx + eax*4], esi
inc eax
mov esi, dword [ebx + 4]
cmp eax, esi
jl 0x746970
jmp 0x746896
mov edi, dword [esp + 0x40]
jmp 0x74687c
xor ebx, ebx
mov edi, dword [esp + 0x40]
jmp 0x74687c
push dword [esp]
push esi
call fcn.00588680
add esp, 8
xor ebx, ebx
test eax, eax
setne bl
jmp 0x74687c