Function at 0x410ccf
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x38
push ebx
push ebp
push esi
mov esi, dword [esp + 0x4c]
xor ebx, ebx
push edi
push ebx
push ebx
push esi
call fcn.00411219
add esp, 0xc
test eax, eax
je 0x410d02
push 0x7a9
push str...mpint.c
push str._mp_eq_integer_d__0_
call fcn.0046a02e
add esp, 0xc
lea eax, [esp + 0x38]
mov dword [esp + 0x2c], ebx
push eax
lea eax, [esp + 0x44]
xorps xmm0, xmm0
push eax
lea eax, [esp + 0x34]
movlpd qword [esp + 0x48], xmm0
push eax
push 0x20
push esi
movlpd qword [esp + 0x4c], xmm0
call fcn.00411274
mov edx, dword [esp + 0x58]
add esp, 0x14
mov ebp, dword [esp + 0x40]
mov edi, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
push 5
mov dword [esp + 0x24], ebx
pop ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x28], edi
mov dword [esp + 0x18], eax
jmp 0x410d5a
xor ebx, ebx
xor eax, eax
dec ecx
inc eax
mov dword [esp + 0x38], ecx
shl eax, cl
push pe_nt_image_headers32
pop esi
sub esi, eax
mov dword [esp + 0x24], eax
mov eax, ebp
mov ecx, esi
call fcn.00465a80
mov ecx, eax
and eax, 1
shrd ecx, edx, 1
shr edx, 1
or ecx, eax
mov eax, dword [esp + 0x18]
or edx, ebx
neg ecx
mov ecx, esi
adc edx, ebx
xor ebp, ebp
neg edx
shr edx, 0x1f
xor edx, 1
mov ebx, edx
mov dword [esp + 0x30], edx
neg ebx
mov edx, edi
adc ebp, ebp
neg ebp
call fcn.00465a80
mov ecx, dword [esp + 0x24]
mov esi, eax
mov eax, dword [esp + 0x1c]
mov edi, edx
mov edx, dword [esp + 0x10]
call fcn.00465a60
mov ecx, dword [esp + 0x1c]
or esi, eax
mov eax, dword [esp + 0x10]
or edi, edx
xor esi, ecx
xor edi, eax
and esi, ebx
and edi, ebp
xor ecx, esi
xor eax, edi
mov edi, dword [esp + 0x28]
mov edx, edi
mov esi, dword [esp + 0x24]
mov dword [esp + 0x1c], ecx
mov ecx, esi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
call fcn.00465a60
mov ecx, dword [esp + 0x18]
xor edx, edi
xor eax, ecx
and edx, ebp
mov ebp, dword [esp + 0x1c]
and eax, ebx
mov ebx, dword [esp + 0x20]
xor ecx, eax
mov dword [esp + 0x18], ecx
xor edi, edx
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x10]
neg ecx
lea eax, [esi + ebx]
mov dword [esp + 0x28], edi
xor eax, ebx
and eax, ecx
mov ecx, dword [esp + 0x38]
xor ebx, eax
mov dword [esp + 0x20], ebx
test ecx, ecx
jne 0x410d58
push edx
call fcn.004125a5
mov edi, eax
xorps xmm0, xmm0
pop ecx
movlpd qword [esp + 0x40], xmm0
xor esi, esi
mov eax, dword [esp + 0x44]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x40]
push 5
mov dword [esp + 0x28], esi
mov dword [esp + 0x14], edi
mov dword [esp + 0x1c], eax
pop ecx
dec ecx
mov eax, ebx
shr eax, cl
xor ebp, ebp
inc ebp
mov dword [esp + 0x38], ecx
shl ebp, cl
and eax, 1
xor ebx, ebx
mov edx, edi
neg eax
push pe_nt_image_headers32
adc ebx, ebx
mov dword [esp + 0x2c], eax
pop ecx
sub ecx, ebp
mov eax, esi
neg ebx
call fcn.00465a80
mov esi, eax
mov edi, edx
mov eax, dword [esp + 0x18]
mov ecx, ebp
mov edx, dword [esp + 0x1c]
call fcn.00465a60
mov ecx, dword [esp + 0x18]
or esi, eax
mov eax, dword [esp + 0x1c]
or edi, edx
xor esi, ecx
xor edi, eax
and esi, dword [esp + 0x28]
and edi, ebx
xor ecx, esi
xor eax, edi
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x10]
mov edx, edi
mov dword [esp + 0x18], ecx
mov ecx, ebp
mov dword [esp + 0x1c], eax
mov eax, esi
call fcn.00465a60
mov ecx, dword [esp + 0x38]
xor eax, esi
and eax, dword [esp + 0x28]
xor edx, edi
and edx, ebx
xor esi, eax
mov ebx, dword [esp + 0x20]
xor edi, edx
mov dword [esp + 0x24], esi
mov dword [esp + 0x10], edi
test ecx, ecx
jne 0x410e68
mov edi, dword [esp + 0x4c]
mov ecx, 0xbf
mov ebx, dword [esp + 0x50]
mov edi, dword [edi]
add edi, dword [ebx]
shl edi, 5
add edi, 3
cmp edi, ecx
mov eax, edi
cmova eax, ecx
sub edi, eax
add edi, 0x1f
and edi, 0xffffffe0
add edi, ecx
mov dword [esp + 0x24], edi
lea eax, [edi + 0x21]
shr eax, 5
push eax
mov dword [esp + 0x3c], eax
call fcn.00411af4
pop ecx
mov ecx, dword [esp + 0x2c]
mov ebp, eax
shl ecx, 5
mov eax, edi
sub eax, ecx
mov dword [esp + 0x40], ebp
sub eax, 0x5f
mov dword [esp + 0x50], eax
test al, 0x1f
je 0x410f75
push 0x856
push str...mpint.c
push str.output_bit_index___BIGNUM_INT_BITS__0
call fcn.0046a02e
mov eax, dword [esp + 0x5c]
add esp, 0xc
shr eax, 5
push eax
push dword [esp + 0x14]
mov dword [esp + 0x58], eax
push esi
push ebp
push ebp
call fcn.00410675
mov eax, dword [esp + 0x64]
add eax, 2
push eax
push dword [esp + 0x34]
push dword [esp + 0x34]
push ebp
push ebp
call fcn.00410675
mov esi, dword [esp + 0x60]
push esi
call fcn.00411af4
lea ecx, [edi + 1]
mov dword [esp + 0x54], eax
shr ecx, 5
push ecx
push 0
push 1
push eax
push eax
call fcn.00410675
mov eax, dword [ebx]
add esp, 0x40
add eax, esi
push eax
call fcn.00411af4
mov dword [esp + 0x54], eax
mov ecx, dword [eax]
cmp esi, ecx
cmova ecx, esi
push ecx
call fcn.00411af4
mov dword [esp + 0x24], eax
mov ecx, dword [eax]
add ecx, esi
push ecx
call fcn.00411af4
mov esi, dword [esp + 0x28]
mov edx, dword [ebx]
mov dword [esp + 0x24], eax
mov esi, dword [esi]
cmp dword [ebp], esi
cmova esi, dword [ebp]
cmp dword [ebp], edx
cmova edx, dword [ebp]
cmp dword [eax], esi
cmovb esi, dword [eax]
mov eax, dword [esp + 0x5c]
cmp dword [eax], edx
cmovb edx, dword [eax]
imul eax, esi, 6
imul ecx, edx, 6
cmp ecx, eax
cmova esi, edx
imul eax, esi, 6
push eax
call fcn.00411af4
mov edx, dword [esp + 0x28]
mov esi, eax
mov eax, edi
add esp, 0x10
shr eax, 5
mov ecx, eax
mov dword [esp + 0x20], eax
mov edx, dword [edx]
cmp eax, edx
mov eax, edx
cmova ecx, edx
sub eax, ecx
cmp edx, eax
cmova edx, eax
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 4]
lea eax, [eax + ecx*4]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x4c]
push 0x14
pop ecx
mov dword [esp + 0x10], edx
mov eax, dword [eax]
shl eax, 5
add eax, 4
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], eax
cmp eax, ecx
jbe 0x4110dc
mov eax, edi
and eax, 0x1f
mov edi, eax
push dword [esi + 4]
push dword [esi]
push ebx
push ebp
push dword [esp + 0x60]
call fcn.00411e4f
push dword [esp + 0x64]
push dword [esp + 0x40]
push dword [esp + 0x38]
call fcn.0041256f
push dword [esi + 4]
push dword [esi]
push dword [esp + 0x44]
push ebp
push dword [esp + 0x48]
call fcn.00411e4f
push edi
lea eax, [esp + 0x48]
push eax
push ebp
call fcn.004122e8
mov eax, dword [esp + 0x6c]
add esp, 0x40
lea eax, [eax*2 - 1]
mov dword [esp + 0x2c], eax
cmp eax, dword [esp + 0x30]
jb 0x411080
mov edi, dword [esp + 0x24]
push dword [esp + 0x50]
call fcn.00411368
push dword [esp + 0x20]
call fcn.00411368
push dword [esp + 0x20]
call fcn.00411368
push esi
call fcn.00411368
mov esi, dword [esp + 0x5c]
push esi
push ebp
call fcn.00411cde
mov ebp, dword [esp + 0x38]
push dword [esi]
mov dword [esp + 0x54], eax
mov edx, dword [eax]
cmp ebp, edx
mov eax, dword [eax + 4]
mov ecx, edx
cmova ebp, edx
sub ecx, ebp
cmp edx, ecx
cmova edx, ecx
lea eax, [eax + ebp*4]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], eax
call fcn.00411af4
mov ebp, eax
and edi, 0x1f
push edi
lea eax, [esp + 0x50]
mov dword [esp + 0x70], ebp
push eax
push ebp
call fcn.004122e8
push dword [ebx]
call fcn.00411af4
push ebx
mov edi, eax
push ebp
push edi
call fcn.00412144
push edi
push esi
push edi
call fcn.0041256f
add esp, 0x44
mov dword [esp + 0x4c], 2
xor ebp, ebp
push ebx
push edi
call fcn.00410b74
mov esi, eax
push esi
push ebx
push edi
push edi
call fcn.00410bdf
add esp, 0x18
add ebp, esi
sub dword [esp + 0x4c], 1
jne 0x411170
push 0
push ebp
mov ebp, dword [esp + 0x58]
push ebp
push ebp
call fcn.00410651
push ebx
push edi
call fcn.00410b74
add esp, 0x18
test eax, eax
je 0x4111c1
push 0x8ba
push str...mpint.c
push str._mp_cmp_hs_remainder__d_
call fcn.0046a02e
add esp, 0xc
cmp dword [esp + 0x54], 0
je 0x4111d4
push ebp
push dword [esp + 0x58]
call fcn.00410c92
pop ecx
pop ecx
cmp dword [esp + 0x58], 0
je 0x4111e7
push edi
push dword [esp + 0x5c]
call fcn.00410c92
pop ecx
pop ecx
push dword [esp + 0x40]
call fcn.00411368
push dword [esp + 0x2c]
call fcn.00411368
push dword [esp + 0x40]
call fcn.00411368
push ebp
call fcn.00411368
push edi
call fcn.00411368
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret