Function at 0x419660
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
push 0
push 0
push ebx
call fcn.0041a060
add esp, 0xc
test eax, eax
je 0x419694
push 0x7fc
push str._srccryptompint.c
push str._mp_eq_integer_d__0_
call fcn.0043cc3e
add esp, 0xc
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x50], 0
push eax
lea eax, [ebp - 0x58]
xorps xmm0, xmm0
push eax
lea eax, [ebp - 0x50]
movlpd qword [ebp - 0x58], xmm0
push eax
push 0x20
push ebx
movlpd qword [ebp - 0x4c], xmm0
call fcn.0041a0d0
mov eax, dword [ebp - 0x48]
mov edx, 5
mov ecx, dword [ebp - 0x54]
add esp, 0x14
mov edi, dword [ebp - 0x58]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x4c]
lea esi, [edx + 0x1b]
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 8], eax
dec edx
ror esi, 1
mov ebx, 0x40
mov dword [ebp - 0x38], edx
sub ebx, esi
mov dword [ebp - 0x44], esi
mov edx, ecx
mov eax, edi
mov ecx, ebx
call fcn.004379a0
mov ecx, eax
and eax, 1
shrd ecx, edx, 1
or ecx, eax
shr edx, 1
neg ecx
mov eax, edi
adc edx, 0
xor ecx, ecx
neg edx
shr edx, 0x1f
xor edx, 1
mov dword [ebp - 0x40], edx
neg edx
mov dword [ebp - 0x48], edx
mov edx, dword [ebp - 4]
adc ecx, ecx
neg ecx
mov dword [ebp - 0x18], ecx
mov ecx, esi
call fcn.00437980
mov esi, eax
mov edi, edx
mov eax, dword [ebp - 8]
mov ecx, ebx
mov edx, dword [ebp - 0xc]
call fcn.004379a0
or esi, eax
or edi, edx
mov eax, dword [ebp - 0x10]
xor esi, eax
xor edi, dword [ebp - 4]
and esi, dword [ebp - 0x48]
and edi, dword [ebp - 0x18]
xor eax, esi
xor dword [ebp - 4], edi
mov edi, eax
mov esi, dword [ebp - 0x44]
mov ecx, esi
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x58], edi
call fcn.00437980
mov ecx, dword [ebp - 0xc]
xor edx, ecx
and edx, dword [ebp - 0x18]
xor eax, dword [ebp - 8]
xor ecx, edx
mov edx, dword [ebp - 0x14]
and eax, dword [ebp - 0x48]
xor dword [ebp - 8], eax
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 0x40]
lea eax, [esi + edx]
xor eax, edx
neg ecx
and eax, ecx
mov ecx, dword [ebp - 4]
xor edx, eax
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0x38]
test edx, edx
jne 0x4196e6
mov ebx, ecx
mov ecx, 0x92db03d6
mov eax, ebx
mul ecx
mov ecx, 0xf63e71ea
mov eax, 0
shr edx, 2
sub ecx, edx
push 0
push ebx
sbb eax, eax
push eax
push ecx
call fcn.00437850
shr edx, 2
mov ecx, 0xb63721e8
sub ecx, edx
mov eax, 0
push 0
push ebx
sbb eax, eax
push eax
push ecx
call fcn.00437850
shr edx, 1
mov ecx, 0x9c2da00e
sub ecx, edx
mov eax, 0
push 0
push ebx
sbb eax, eax
push eax
push ecx
call fcn.00437850
mov ecx, 0xaada0bb8
mov eax, 0
sub ecx, edx
push 0
push ebx
sbb eax, eax
push eax
push ecx
call fcn.00437850
shrd eax, edx, 0x1f
mov ecx, 0xf75cd403
shr edx, 0x1f
sub ecx, eax
push 0
mov eax, 0
push ebx
sbb eax, edx
push eax
push ecx
call fcn.00437850
shrd eax, edx, 0x1f
mov ecx, 0xecf97a41
shr edx, 0x1f
sub ecx, eax
push 0
mov eax, 0
push ebx
sbb eax, edx
push eax
push ecx
call fcn.00437850
shrd eax, edx, 0x1f
mov ecx, 0x90d876cd
shr edx, 0x1f
sub ecx, eax
push 0
mov eax, 0
push ebx
sbb eax, edx
push eax
push ecx
call fcn.00437850
shrd eax, edx, 0x1a
mov edx, 0x682799a0
sub edx, eax
xor esi, esi
lea ecx, [esi + 5]
xorps xmm0, xmm0
mov dword [ebp - 0x38], esi
movlpd qword [ebp - 0x58], xmm0
lea edi, [esi + 0x20]
mov eax, dword [ebp - 0x54]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x58]
movlpd qword [ebp - 0x34], xmm0
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x34]
movlpd qword [ebp - 0x2c], xmm0
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x40], edx
mov dword [ebp - 4], esi
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x28], eax
nop dword [eax + eax]
mov eax, dword [ebp - 0x14]
dec ecx
shr eax, cl
xor ebx, ebx
and eax, 1
ror edi, 1
neg eax
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x18], eax
mov ecx, 0x40
adc ebx, ebx
mov dword [ebp - 0x10], edi
sub ecx, edi
mov eax, esi
neg ebx
call fcn.004379a0
mov ecx, dword [ebp - 0x10]
mov esi, eax
mov eax, dword [ebp - 0xc]
mov edi, edx
mov edx, dword [ebp - 8]
call fcn.00437980
mov ecx, dword [ebp - 0x10]
or esi, eax
xor esi, dword [ebp - 0x20]
or edi, edx
xor edi, dword [ebp - 0x24]
and esi, dword [ebp - 0x18]
and edi, ebx
xor esi, dword [ebp - 0x28]
xor edi, dword [ebp - 0x30]
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], edi
call fcn.00437980
xor edx, dword [ebp - 0x1c]
mov esi, eax
xor esi, dword [ebp - 4]
and edx, ebx
and esi, dword [ebp - 0x18]
xor esi, dword [ebp - 0x44]
xor edx, dword [ebp - 0x48]
mov ecx, esi
mov eax, dword [ebp - 0xc]
mov ebx, edx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x44], ecx
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x30], edi
mov edi, dword [ebp - 0x10]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x48], ebx
test ecx, ecx
jne 0x4198e0
mov edi, dword [ebp + 0xc]
mov ecx, 0xbf
mov dword [ebp - 0x44], esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x54], edx
mov esi, dword [esi]
add esi, dword [edi]
shl esi, 5
add esi, 3
cmp esi, ecx
mov eax, esi
cmova eax, ecx
sub esi, eax
add esi, 0x1f
and esi, 0xffffffe0
add esi, ecx
mov dword [ebp - 0x10], esi
lea edi, [esi + 0x21]
shr edi, 5
mov dword [ebp - 4], edi
lea eax, [edi*4]
push eax
push 8
push 1
mov dword [ebp - 0x48], eax
call fcn.004344b0
add esp, 0xc
mov ebx, eax
mov dword [ebp - 0x40], ebx
test edi, edi
jne 0x4199f7
push 0x48
push str._srccryptompint.c
push 0x461ea8
call fcn.0043cc3e
add esp, 0xc
mov dword [ebx], edi
lea eax, [ebx + 8]
mov edi, dword [ebp - 0x48]
push edi
push eax
mov dword [ebx + 4], eax
call fcn.00434d70
mov eax, dword [ebp - 0x50]
mov ecx, esi
shl eax, 5
add esp, 8
sub ecx, eax
sub ecx, 0x5f
mov dword [ebp - 0x14], ecx
test cl, 0x1f
je 0x419a3b
push 0x8a9
push str._srccryptompint.c
push str.output_bit_index___BIGNUM_INT_BITS__0
call fcn.0043cc3e
mov ecx, dword [ebp - 0x14]
add esp, 0xc
shr ecx, 5
push ecx
push dword [ebp - 0x54]
mov dword [ebp - 0x14], ecx
push dword [ebp - 0x44]
push ebx
push ebx
call fcn.004188e0
mov eax, dword [ebp - 0x14]
add eax, 2
push eax
push dword [ebp - 8]
push dword [ebp - 0xc]
push ebx
push ebx
call fcn.004188e0
push edi
push 8
push 1
call fcn.004344b0
mov edi, eax
add esp, 0x34
mov eax, dword [ebp - 4]
mov dword [ebp - 0x44], edi
test eax, eax
jne 0x419a93
push 0x48
push str._srccryptompint.c
push 0x461ea8
call fcn.0043cc3e
mov eax, dword [ebp - 4]
add esp, 0xc
push dword [ebp - 0x48]
mov dword [edi], eax
lea eax, [edi + 8]
push eax
mov dword [edi + 4], eax
call fcn.00434d70
lea eax, [esi + 1]
shr eax, 5
push eax
push 0
push 1
push edi
push edi
call fcn.004188e0
mov esi, dword [ebp + 0xc]
mov eax, dword [esi]
add eax, dword [ebp - 4]
mov dword [ebp - 0x50], eax
shl eax, 2
push eax
push 8
push 1
mov dword [ebp - 0x54], eax
call fcn.004344b0
mov edi, eax
add esp, 0x28
mov eax, dword [ebp - 0x50]
mov dword [ebp - 8], edi
test eax, eax
jne 0x419af7
push 0x48
push str._srccryptompint.c
push 0x461ea8
call fcn.0043cc3e
mov eax, dword [ebp - 0x50]
add esp, 0xc
push dword [ebp - 0x54]
mov dword [edi], eax
lea eax, [edi + 8]
push eax
mov dword [edi + 4], eax
call fcn.00434d70
mov ecx, dword [edi]
cmp dword [ebp - 4], ecx
cmova ecx, dword [ebp - 4]
mov dword [ebp - 0x50], ecx
lea eax, [ecx*4]
push eax
push 8
push 1
mov dword [ebp - 0x54], eax
call fcn.004344b0
mov edi, eax
add esp, 0x14
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0xc], edi
test eax, eax
jne 0x419b4e
push 0x48
push str._srccryptompint.c
push 0x461ea8
call fcn.0043cc3e
mov eax, dword [ebp - 0x50]
add esp, 0xc
push dword [ebp - 0x54]
mov dword [edi], eax
lea eax, [edi + 8]
push eax
mov dword [edi + 4], eax
call fcn.00434d70
mov eax, dword [edi]
add eax, dword [ebp - 4]
mov dword [ebp - 0x50], eax
shl eax, 2
push eax
push 8
push 1
mov dword [ebp - 0x54], eax
call fcn.004344b0
mov ecx, eax
add esp, 0x14
mov eax, dword [ebp - 0x50]
mov dword [ebp - 4], ecx
test eax, eax
jne 0x419ba0
push 0x48
push str._srccryptompint.c
push 0x461ea8
call fcn.0043cc3e
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, dword [ebp - 0x50]
push dword [ebp - 0x54]
mov dword [ecx], eax
lea eax, [ecx + 8]
push eax
mov dword [ecx + 4], eax
call fcn.00434d70
mov ecx, dword [ebx]
mov edi, dword [edi]
cmp ecx, edi
mov esi, dword [esi]
mov edx, dword [ebp - 4]
cmova edi, ecx
mov eax, dword [ebp - 8]
cmp ecx, esi
cmova esi, ecx
cmp dword [edx], edi
cmovb edi, dword [edx]
cmp dword [eax], esi
cmovb esi, dword [eax]
lea eax, [edi + edi*2]
add eax, eax
lea ecx, [esi + esi*2]
add ecx, ecx
cmp ecx, eax
cmova edi, esi
lea esi, [edi + edi*2]
add esi, esi
lea eax, [esi*4]
push eax
push 8
push 1
call fcn.004344b0
add esp, 0x14
mov edi, eax
mov dword [ebp - 0x48], edi
test esi, esi
jne 0x419c16
push 0x48
push str._srccryptompint.c
push 0x461ea8
call fcn.0043cc3e
add esp, 0xc
lea ecx, [esi*4]
mov dword [edi], esi
lea eax, [edi + 8]
push ecx
push eax
mov dword [edi + 4], eax
call fcn.00434d70
mov eax, dword [ebp - 4]
add esp, 8
mov esi, dword [ebp - 0x10]
shr esi, 5
mov dword [ebp - 0x10], esi
mov eax, dword [eax]
mov ecx, eax
cmp esi, eax
mov dword [ebp - 0x50], 0x14
mov edx, eax
cmovbe ecx, esi
sub edx, ecx
cmp eax, edx
cmovbe edx, eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x3c], edx
mov eax, dword [eax + 4]
lea eax, [eax + ecx*4]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
shl eax, 5
add eax, 4
mov dword [ebp - 0x54], eax
cmp eax, 0x14
jbe 0x419ce3
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp - 0x48]
nop dword [eax]
push dword [esi + 4]
push dword [esi]
push edi
push ebx
push dword [ebp - 8]
call fcn.0041ba60
mov eax, dword [ebp - 0xc]
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp - 8]
push dword [ebp - 0x44]
push dword [eax]
push dword [eax + 4]
call fcn.00418ab0
push dword [esi + 4]
push dword [esi]
push dword [ebp - 0xc]
push ebx
push dword [ebp - 4]
call fcn.0041ba60
add esp, 0x44
lea eax, [ebp - 0x3c]
push 0x1f
push eax
push ebx
call fcn.0041c560
mov eax, dword [ebp - 0x50]
add esp, 0xc
lea eax, [eax*2 - 1]
mov dword [ebp - 0x50], eax
cmp eax, dword [ebp - 0x54]
jb 0x419c80
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0x48]
mov ecx, dword [ebp - 8]
mov eax, dword [ecx]
shl eax, 2
push eax
push dword [ecx + 4]
call fcn.00434d70
push 8
push dword [ebp - 8]
call fcn.00434d70
push dword [ebp - 8]
call fcn.00434320
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx]
shl eax, 2
push eax
push dword [ecx + 4]
call fcn.00434d70
push 8
push dword [ebp - 0xc]
call fcn.00434d70
push dword [ebp - 0xc]
call fcn.00434320
mov ecx, dword [ebp - 4]
mov eax, dword [ecx]
shl eax, 2
push eax
push dword [ecx + 4]
call fcn.00434d70
push 8
push dword [ebp - 4]
call fcn.00434d70
push dword [ebp - 4]
call fcn.00434320
mov eax, dword [edi]
shl eax, 2
push eax
push dword [edi + 4]
call fcn.00434d70
add esp, 0x44
push 8
push edi
call fcn.00434d70
push edi
call fcn.00434320
mov eax, dword [ebp + 8]
mov eax, dword [eax]
add eax, dword [ebx]
mov dword [ebp - 0x50], eax
shl eax, 2
push eax
push 8
push 1
mov dword [ebp - 0x54], eax
call fcn.004344b0
mov edi, eax
add esp, 0x18
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x48], edi
test eax, eax
jne 0x419dab
push 0x48
push str._srccryptompint.c
push 0x461ea8
call fcn.0043cc3e
mov eax, dword [ebp - 0x50]
add esp, 0xc
push dword [ebp - 0x54]
mov dword [edi], eax
lea eax, [edi + 8]
push eax
mov dword [edi + 4], eax
call fcn.00434d70
push dword [ebp + 8]
push ebx
push edi
call fcn.0041bde0
mov eax, dword [edi]
cmp esi, eax
mov ecx, eax
mov edx, eax
cmovbe ecx, esi
sub edx, ecx
cmp eax, edx
cmovbe edx, eax
mov eax, dword [edi + 4]
mov dword [ebp - 0x58], edx
lea eax, [eax + ecx*4]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 8]
mov esi, dword [eax]
lea ebx, [esi*4]
push ebx
push 8
push 1
call fcn.004344b0
add esp, 0x20
mov edi, eax
mov dword [ebp - 0x14], edi
test esi, esi
jne 0x419e1a
push 0x48
push str._srccryptompint.c
push 0x461ea8
call fcn.0043cc3e
add esp, 0xc
lea eax, [edi + 8]
mov dword [edi], esi
push ebx
push eax
mov dword [edi + 4], eax
call fcn.00434d70
push 0x1f
lea eax, [ebp - 0x58]
push eax
push edi
call fcn.0041c560
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
mov dword [ebp + 0xc], eax
shl eax, 2
push eax
push 8
push 1
mov dword [ebp - 0x54], eax
call fcn.004344b0
mov esi, eax
add esp, 0x20
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x419e70
push 0x48
push str._srccryptompint.c
push 0x461ea8
call fcn.0043cc3e
mov eax, dword [ebp + 0xc]
add esp, 0xc
push dword [ebp - 0x54]
mov dword [esi], eax
lea eax, [esi + 8]
push eax
mov dword [esi + 4], eax
call fcn.00434d70
push ebx
push edi
push esi
call fcn.0041bde0
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push esi
push dword [ebp + 8]
push dword [esi]
push dword [esi + 4]
call fcn.00418ab0
add esp, 0x30
mov dword [ebp + 8], 0
mov dword [ebp + 0xc], 2
nop
mov ecx, dword [ebx]
cmp dword [esi], ecx
push 1
cmova ecx, dword [esi]
push 0xffffffffffffffff
push 0xffffffffffffffff
push ebx
push esi
push ecx
push 0
call fcn.00418ab0
mov edi, eax
mov edx, edi
and edx, 1
neg edx
mov ecx, edx
and ecx, 1
push ecx
push edx
push edx
push ebx
push esi
push dword [esi]
push dword [esi + 4]
call fcn.00418ab0
mov eax, dword [ebp + 8]
add esp, 0x38
add eax, edi
sub dword [ebp + 0xc], 1
mov dword [ebp + 8], eax
jne 0x419eb0
mov edi, dword [ebp - 0x14]
push 0
push 0
push 0xffffffffffffffff
push 0
push eax
push edi
push dword [edi]
push dword [edi + 4]
call fcn.004189d0
mov ecx, dword [ebx]
cmp dword [esi], ecx
push 1
cmova ecx, dword [esi]
push 0xffffffffffffffff
push 0xffffffffffffffff
push ebx
push esi
push ecx
push 0
call fcn.00418ab0
add esp, 0x3c
test eax, eax
je 0x419f41
push 0x90d
push str._srccryptompint.c
push str._mp_cmp_hs_remainder__d_
call fcn.0043cc3e
add esp, 0xc
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x419f7e
mov ebx, dword [edi]
cmp dword [ecx], ebx
mov eax, dword [ebp - 0x14]
cmovb ebx, dword [ecx]
lea edi, [ebx*4]
push edi
push dword [eax + 4]
push dword [ecx + 4]
call fcn.00438600
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx]
sub eax, ebx
shl eax, 2
push eax
mov eax, dword [ecx + 4]
add eax, edi
push eax
call fcn.00434d70
add esp, 0x14
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x419fb8
mov ebx, dword [esi]
cmp dword [ecx], ebx
cmovb ebx, dword [ecx]
lea edi, [ebx*4]
push edi
push dword [esi + 4]
push dword [ecx + 4]
call fcn.00438600
mov ecx, dword [ebp + 0x14]
mov eax, dword [ecx]
sub eax, ebx
shl eax, 2
push eax
mov eax, dword [ecx + 4]
add eax, edi
push eax
call fcn.00434d70
add esp, 0x14
mov edi, dword [ebp - 0x40]
mov eax, dword [edi]
shl eax, 2
push eax
push dword [edi + 4]
call fcn.00434d70
push 8
push edi
call fcn.00434d70
push edi
call fcn.00434320
mov ebx, dword [ebp - 0x44]
mov eax, dword [ebx]
shl eax, 2
push eax
push dword [ebx + 4]
call fcn.00434d70
push 8
push ebx
call fcn.00434d70
push ebx
call fcn.00434320
mov edi, dword [ebp - 0x48]
mov eax, dword [edi]
shl eax, 2
push eax
push dword [edi + 4]
call fcn.00434d70
push 8
push edi
call fcn.00434d70
push edi
call fcn.00434320
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebx]
shl eax, 2
push eax
push dword [ebx + 4]
call fcn.00434d70
add esp, 0x44
push 8
push ebx
call fcn.00434d70
push ebx
call fcn.00434320
mov eax, dword [esi]
shl eax, 2
push eax
push dword [esi + 4]
call fcn.00434d70
push 8
push esi
call fcn.00434d70
push esi
call fcn.00434320
add esp, 0x20
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret