Function at 0x5f2ac0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x30
call fcn.004d61c0
mov dword [ebp - 8], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], 0
cmp dword [ebp + 0x14], 0
je 0x5f2b26
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0056e850
add esp, 8
test eax, eax
je 0x5f2b26
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0056e130
add esp, 8
jmp 0x5f342f
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
push edx
call fcn.0050a270
add esp, 4
test eax, eax
je 0x5f2b6a
call fcn.005316f0
push str.ossl_ec_scalar_mul_ladder
push 0xa2
push str.cryptoecec_mult.c
call fcn.00531940
add esp, 0xc
push 0
push 0x72
push 0x10
call fcn.00531a70
add esp, 0xc
xor eax, eax
jmp 0x5f342f
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
push ecx
call fcn.0050a270
add esp, 4
test eax, eax
je 0x5f2bb1
call fcn.005316f0
push str.ossl_ec_scalar_mul_ladder
push 0xa6
push str.cryptoecec_mult.c
call fcn.00531940
add esp, 0xc
push 0
push 0xa4
push 0x10
call fcn.00531a70
add esp, 0xc
xor eax, eax
jmp 0x5f342f
mov edx, dword [ebp + 0x18]
push edx
call fcn.005c6540
add esp, 4
mov eax, dword [ebp + 8]
push eax
call fcn.0056de40
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x5f2be7
mov ecx, dword [ebp + 8]
push ecx
call fcn.0056de40
add esp, 4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x5f2c19
call fcn.005316f0
push str.ossl_ec_scalar_mul_ladder
push 0xae
push str.cryptoecec_mult.c
call fcn.00531940
add esp, 0xc
push 0
push 0xc0100
push 0x10
call fcn.00531a70
add esp, 0xc
jmp 0x5f3408
cmp dword [ebp + 0x14], 0
jne 0x5f2c6a
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.0056e000
add esp, 8
test eax, eax
jne 0x5f2c68
call fcn.005316f0
push str.ossl_ec_scalar_mul_ladder
push 0xb4
push str.cryptoecec_mult.c
call fcn.00531940
add esp, 0xc
push 0
push 0x80010
push 0x10
call fcn.00531a70
add esp, 0xc
jmp 0x5f3408
jmp 0x5f2cb0
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.0056e000
add esp, 8
test eax, eax
jne 0x5f2cb0
call fcn.005316f0
push str.ossl_ec_scalar_mul_ladder
push 0xb9
push str.cryptoecec_mult.c
call fcn.00531940
add esp, 0xc
push 0
push 0x80010
push 0x10
call fcn.00531a70
add esp, 0xc
jmp 0x5f3408
push 4
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 8]
push edx
call fcn.0050a4b0
add esp, 8
push 4
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0xc]
push ecx
call fcn.0050a4b0
add esp, 8
push 4
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x10]
push eax
call fcn.0050a4b0
add esp, 8
xor ecx, ecx
jne 0x5f2cb0
push 4
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 8]
push eax
call fcn.0050a4b0
add esp, 8
push 4
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0xc]
push edx
call fcn.0050a4b0
add esp, 8
push 4
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x10]
push ecx
call fcn.0050a4b0
add esp, 8
xor edx, edx
jne 0x5f2ce7
push 4
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 8]
push ecx
call fcn.0050a4b0
add esp, 8
push 4
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0xc]
push eax
call fcn.0050a4b0
add esp, 8
push 4
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x10]
push edx
call fcn.0050a4b0
add esp, 8
xor eax, eax
jne 0x5f2d1e
mov ecx, dword [ebp + 0x18]
push ecx
call fcn.005c6840
add esp, 4
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0x18]
push edx
call fcn.005c6840
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x18]
push eax
call fcn.005c6840
add esp, 4
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x5f2dba
call fcn.005316f0
push str.ossl_ec_scalar_mul_ladder
push 0xc6
push str.cryptoecec_mult.c
call fcn.00531940
add esp, 0xc
push 0
push 0xc0100
push 0x10
call fcn.00531a70
add esp, 0xc
jmp 0x5f3408
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.005c8af0
add esp, 0x10
test eax, eax
jne 0x5f2e0e
call fcn.005316f0
push str.ossl_ec_scalar_mul_ladder
push 0xcb
push str.cryptoecec_mult.c
call fcn.00531940
add esp, 0xc
push 0
push 0x80003
push 0x10
call fcn.00531a70
add esp, 0xc
jmp 0x5f3408
mov ecx, dword [ebp - 4]
push ecx
call fcn.00508c50
add esp, 4
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 4]
push edx
call fcn.005fde10
add esp, 4
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
add eax, 2
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.0050a570
add esp, 8
test eax, eax
je 0x5f2e5a
mov edx, dword [ebp - 0x30]
add edx, 2
push edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.0050a570
add esp, 8
test eax, eax
jne 0x5f2e8c
call fcn.005316f0
push str.ossl_ec_scalar_mul_ladder
push 0xd9
push str.cryptoecec_mult.c
call fcn.00531940
add esp, 0xc
push 0
push 0x80003
push 0x10
call fcn.00531a70
add esp, 0xc
jmp 0x5f3408
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x24]
push edx
call fcn.00509260
add esp, 8
test eax, eax
jne 0x5f2ed2
call fcn.005316f0
push str.ossl_ec_scalar_mul_ladder
push 0xde
push str.cryptoecec_mult.c
call fcn.00531940
add esp, 0xc
push 0
push 0x80003
push 0x10
call fcn.00531a70
add esp, 0xc
jmp 0x5f3408
push 4
mov eax, dword [ebp - 0x24]
push eax
call fcn.0050a4b0
add esp, 8
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.00508c50
add esp, 4
cmp eax, dword [ebp - 0x2c]
jg 0x5f2f01
mov edx, dword [ebp - 0x24]
push edx
call fcn.0050a360
add esp, 4
test eax, eax
je 0x5f2f4f
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x24]
push eax
call fcn.005ee850
add esp, 0x10
test eax, eax
jne 0x5f2f4f
call fcn.005316f0
push str.ossl_ec_scalar_mul_ladder
push 0xea
push str.cryptoecec_mult.c
call fcn.00531940
add esp, 0xc
push 0
push 0x80003
push 0x10
call fcn.00531a70
add esp, 0xc
jmp 0x5f3408
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.005c90c0
add esp, 0xc
test eax, eax
jne 0x5f2f99
call fcn.005316f0
push str.ossl_ec_scalar_mul_ladder
push 0xf0
push str.cryptoecec_mult.c
call fcn.00531940
add esp, 0xc
push 0
push 0x80003
push 0x10
call fcn.00531a70
add esp, 0xc
jmp 0x5f3408
push 4
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.0050a4b0
add esp, 8
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.005c90c0
add esp, 0xc
test eax, eax
jne 0x5f2ff1
call fcn.005316f0
push str.ossl_ec_scalar_mul_ladder
push 0xf5
push str.cryptoecec_mult.c
call fcn.00531940
add esp, 0xc
push 0
push 0x80003
push 0x10
call fcn.00531a70
add esp, 0xc
jmp 0x5f3408
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.00509d80
add esp, 8
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x30]
add ecx, 2
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0050a000
add esp, 0x10
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x28]
push eax
call fcn.005fde10
add esp, 4
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 8]
push eax
call fcn.0050a570
add esp, 8
test eax, eax
je 0x5f310c
mov ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0xc]
push eax
call fcn.0050a570
add esp, 8
test eax, eax
je 0x5f310c
mov ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x10]
push eax
call fcn.0050a570
add esp, 8
test eax, eax
je 0x5f310c
mov ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 8]
push eax
call fcn.0050a570
add esp, 8
test eax, eax
je 0x5f310c
mov ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0xc]
push eax
call fcn.0050a570
add esp, 8
test eax, eax
je 0x5f310c
mov ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x10]
push eax
call fcn.0050a570
add esp, 8
test eax, eax
je 0x5f310c
mov ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 8]
push eax
call fcn.0050a570
add esp, 8
test eax, eax
je 0x5f310c
mov ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0xc]
push eax
call fcn.0050a570
add esp, 8
test eax, eax
je 0x5f310c
mov ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x10]
push eax
call fcn.0050a570
add esp, 8
test eax, eax
jne 0x5f313e
call fcn.005316f0
push str.ossl_ec_scalar_mul_ladder
push 0x109
push str.cryptoecec_mult.c
call fcn.00531940
add esp, 0xc
push 0
push 0x80003
push 0x10
call fcn.00531a70
add esp, 0xc
jmp 0x5f3408
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x14], 0
jne 0x5f31a1
mov edx, dword [ebp + 8]
mov eax, dword [edx]
cmp dword [eax + 0x6c], 0
je 0x5f316f
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x6c]
call eax
add esp, 0xc
test eax, eax
jne 0x5f31a1
call fcn.005316f0
push str.ossl_ec_scalar_mul_ladder
push 0x110
push str.cryptoecec_mult.c
call fcn.00531940
add esp, 0xc
push 0
push 0x80010
push 0x10
call fcn.00531a70
add esp, 0xc
jmp 0x5f3408
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.005f3440
add esp, 0x14
test eax, eax
jne 0x5f31f3
call fcn.005316f0
push str.ossl_ec_scalar_mul_ladder
push 0x116
push str.cryptoecec_mult.c
call fcn.00531940
add esp, 0xc
push 0
push 0x99
push 0x10
call fcn.00531a70
add esp, 0xc
jmp 0x5f3408
mov dword [ebp - 0x28], 1
mov eax, dword [ebp - 0x2c]
sub eax, 1
mov dword [ebp - 0x14], eax
jmp 0x5f320e
mov ecx, dword [ebp - 0x14]
sub ecx, 1
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 0
jl 0x5f3320
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x24]
push eax
call fcn.00509d80
add esp, 8
xor eax, dword [ebp - 0x28]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp - 0x10]
push eax
call fcn.0050a000
add esp, 0x10
mov ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [ebp - 0x10]
push eax
call fcn.0050a000
add esp, 0x10
mov ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x10]
push edx
mov eax, dword [ebp - 0x10]
push eax
call fcn.0050a000
add esp, 0x10
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x18]
mov eax, dword [ecx + 0x14]
xor eax, dword [edx + 0x14]
and eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x14]
xor edx, dword [ebp - 0x1c]
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x14], edx
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x14]
xor edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x14], edx
xor ecx, ecx
jne 0x5f322e
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.005f34c0
add esp, 0x14
test eax, eax
jne 0x5f3312
call fcn.005316f0
push str.ossl_ec_scalar_mul_ladder
push 0x166
push str.cryptoecec_mult.c
call fcn.00531940
add esp, 0xc
push 0
push 0xa2
push 0x10
call fcn.00531a70
add esp, 0xc
jmp 0x5f3408
mov ecx, dword [ebp - 0x28]
xor ecx, dword [ebp - 0x10]
mov dword [ebp - 0x28], ecx
jmp 0x5f3205
mov edx, dword [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 8]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.0050a000
add esp, 0x10
mov edx, dword [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.0050a000
add esp, 0x10
mov edx, dword [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x10]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.0050a000
add esp, 0x10
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x18]
mov ecx, dword [edx + 0x14]
xor ecx, dword [eax + 0x14]
and ecx, dword [ebp - 0x28]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x14]
xor eax, dword [ebp - 0x1c]
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x14], eax
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x14]
xor eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x14], eax
xor edx, edx
jne 0x5f3320
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.005f3540
add esp, 0x14
test eax, eax
jne 0x5f3401
call fcn.005316f0
push str.ossl_ec_scalar_mul_ladder
push 0x175
push str.cryptoecec_mult.c
call fcn.00531940
add esp, 0xc
push 0
push 0x88
push 0x10
call fcn.00531a70
add esp, 0xc
jmp 0x5f3408
mov dword [ebp - 0x20], 1
mov edx, dword [ebp - 8]
push edx
call fcn.0056df60
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
call fcn.0056dfa0
add esp, 4
mov ecx, dword [ebp + 0x18]
push ecx
call fcn.005c6770
add esp, 4
mov eax, dword [ebp - 0x20]
mov esp, ebp
pop ebp
ret