Function at 0x568a50
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
mov eax, 0x344
call fcn.00581890
mov eax, dword [0x634f14]
xor eax, esp
mov dword [esp + 0x340], eax
cmp dword [ebp + 0x20], 0x100000
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x7c], eax
mov eax, dword [ebp + 0x10]
push ebx
mov dword [esp + 0x58], eax
mov ebx, 0x40
mov eax, dword [ebp + 0x14]
push esi
mov dword [esp + 0x38], eax
mov esi, 8
mov eax, dword [ebp + 0x18]
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0x24]
mov dword [esp + 0x84], edi
mov dword [esp + 0x68], eax
mov dword [esp + 0x50], ebx
mov dword [esp + 0x64], 0x28
mov dword [esp + 0x24], esi
mov byte [esp + 0x17], 1
mov dword [esp + 0x5c], 0
jae 0x569386
push 0x5bfe08
push edi
call fcn.0046a670
add esp, 8
test eax, eax
je 0x568b22
lea eax, [esp + 0xa0]
push eax
call fcn.0054df80
add esp, 4
test eax, eax
jle 0x569386
mov eax, 0x30
mov dword [esp + 0x2c], 0x5693a0
mov dword [esp + 0x18], 0x506450
lea edi, [ebx - 0x30]
mov dword [esp + 0x64], eax
mov byte [esp + 0x17], 0
jmp 0x568c76
push str.SHA1
push edi
call fcn.0046a670
add esp, 8
test eax, eax
je 0x568b66
lea eax, [esp + 0xa0]
push eax
call fcn.00556b60
add esp, 4
test eax, eax
jle 0x569386
mov dword [esp + 0x2c], 0x569420
mov edi, 0x14
mov dword [esp + 0x18], 0x4eefa0
jmp 0x568c71
push str.SHA2_224
push edi
call fcn.0046a670
add esp, 8
test eax, eax
je 0x568baa
lea eax, [esp + 0xa0]
push eax
call fcn.004ef1f0
add esp, 4
test eax, eax
jle 0x569386
mov dword [esp + 0x2c], 0x5694c0
mov edi, 0x1c
mov dword [esp + 0x18], 0x4ef660
jmp 0x568c71
push str.SHA2_256
push edi
call fcn.0046a670
add esp, 8
test eax, eax
je 0x568bee
lea eax, [esp + 0xa0]
push eax
call fcn.004ef600
add esp, 4
test eax, eax
jle 0x569386
mov dword [esp + 0x2c], 0x5694c0
mov edi, 0x20
mov dword [esp + 0x18], 0x4ef660
jmp 0x568c71
push str.SHA2_384
push edi
call fcn.0046a670
add esp, 8
test eax, eax
je 0x568c1f
lea eax, [esp + 0xa0]
push eax
call fcn.004ef7d0
add esp, 4
test eax, eax
jle 0x569386
mov edi, 0x30
jmp 0x568c4f
push str.SHA2_512
push edi
call fcn.0046a670
add esp, 8
test eax, eax
je 0x569378
lea eax, [esp + 0xa0]
push eax
call fcn.004f00c0
add esp, 4
test eax, eax
jle 0x569386
mov edi, ebx
mov esi, 0x10
mov dword [esp + 0x18], 0x4f0170
mov ebx, 0x80
mov dword [esp + 0x24], esi
mov dword [esp + 0x50], ebx
mov dword [esp + 0x2c], 0x5695b0
mov eax, 0x28
cmp byte [ebp + 0x2c], 0
mov ecx, 0xd
mov dword [esp + 0x20], edi
mov dword [esp + 0x4c], ecx
je 0x568c9f
mov ecx, dword [ebp + 0x28]
add ecx, 0xb
mov dword [esp + 0x28], 2
add ecx, eax
mov dword [esp + 0x4c], ecx
jmp 0x568cb0
lea eax, [ebx + 0xff]
xor edx, edx
add eax, edi
div ebx
inc eax
mov dword [esp + 0x28], eax
mov edx, dword [ebp + 0x20]
mov eax, ecx
sub eax, edi
add ecx, dword [ebp + 0x1c]
add eax, esi
mov dword [esp + 0x44], ecx
add eax, ebx
dec edx
add eax, edx
xor edi, edi
xor edx, edx
mov dword [esp + 0x30], edi
div ebx
xor edx, edx
mov dword [esp + 0x48], eax
mov eax, ecx
mov dword [esp + 0x40], edx
div ebx
mov dword [esp + 0x70], eax
lea eax, [ecx + esi]
mov dword [esp + 0x38], edx
xor edx, edx
div ebx
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x48]
mov dword [esp + 0x74], eax
xor eax, eax
cmp byte [ebp + 0x2c], al
setne al
add eax, ecx
cmp edx, eax
jbe 0x568d15
sub edx, ecx
mov edi, edx
mov dword [esp + 0x40], edx
imul edi, ebx
mov dword [esp + 0x30], edi
mov eax, dword [esp + 0x44]
shl eax, 3
cmp byte [ebp + 0x2c], 0
mov dword [esp + 0x1c], eax
jne 0x568db9
lea eax, [eax + ebx*8]
push ebx
mov dword [esp + 0x20], eax
lea eax, [esp + 0x1cc]
push 0
push eax
call fcn.005840f0
mov eax, dword [ebp + 0x28]
add esp, 0xc
cmp eax, 0x80
ja 0x569386
push eax
push dword [esp + 0x6c]
lea eax, [esp + 0x1d0]
push eax
call fcn.00583b70
movaps xmm2, xmmword [str.6666666666666666crypto_bn_bn_blind.c]
add esp, 0xc
xor eax, eax
movups xmm0, xmmword [esp + eax + 0x1c8]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [esp + eax + 0x1c8], xmm1
movups xmm0, xmmword [esp + eax + 0x1d8]
pxor xmm0, xmm2
movups xmmword [esp + eax + 0x1d8], xmm0
add eax, 0x20
cmp eax, ebx
jb 0x568d70
lea eax, [esp + 0x1c8]
push eax
lea eax, [esp + 0xa4]
push eax
call dword [esp + 0x20]
add esp, 8
cmp byte [esp + 0x17], 0
je 0x568e07
lea eax, [esi - 4]
push eax
lea eax, [esp + 0x17c]
push 0
push eax
call fcn.005840f0
mov ecx, dword [esp + 0x28]
add esp, 0xc
mov eax, ecx
mov byte [esp + esi + 0x177], cl
shr eax, 0x18
mov byte [esp + esi + 0x174], al
mov eax, ecx
shr eax, 0x10
mov byte [esp + esi + 0x175], al
mov eax, ecx
shr eax, 8
mov byte [esp + esi + 0x176], al
jmp 0x568e49
push esi
lea eax, [esp + 0x17c]
push 0
push eax
call fcn.005840f0
mov ecx, dword [esp + 0x28]
add esp, 0xc
mov eax, ecx
mov byte [esp + esi + 0x170], cl
shr eax, 0x18
mov byte [esp + esi + 0x173], al
mov eax, ecx
shr eax, 0x10
mov byte [esp + esi + 0x172], al
mov eax, ecx
shr eax, 8
mov byte [esp + esi + 0x171], al
test edi, edi
je 0x568f8f
cmp byte [ebp + 0x2c], 0
je 0x568f01
mov eax, dword [esp + 0x4c]
cmp eax, ebx
jbe 0x569386
push dword [esp + 0x3c]
sub eax, ebx
mov dword [esp + 0x20], eax
lea eax, [esp + 0xa4]
push eax
call dword [esp + 0x20]
push dword [esp + 0x24]
mov eax, dword [esp + 0x48]
add eax, ebx
push eax
lea eax, [esp + 0x258]
push eax
call fcn.00583b70
mov eax, ebx
sub eax, dword [esp + 0x30]
push eax
push dword [esp + 0x4c]
lea eax, [esp + 0x264]
add eax, dword [esp + 0x38]
push eax
call fcn.00583b70
lea eax, [esp + 0x268]
push eax
lea eax, [esp + 0xc4]
push eax
call dword [esp + 0x40]
xor edx, edx
mov eax, edi
div ebx
add esp, 0x28
dec eax
cmp eax, 1
jbe 0x568f8f
mov esi, dword [esp + 0x34]
lea edi, [eax - 1]
sub esi, dword [esp + 0x1c]
add esi, ebx
lea eax, [esp + 0xa0]
push esi
push eax
call dword [esp + 0x20]
add esp, 8
add esi, ebx
sub edi, 1
jne 0x568ee5
jmp 0x568f87
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx + 8]
movq xmm0, qword [ecx]
mov dword [esp + 0x250], eax
mov al, byte [ecx + 0xc]
mov byte [esp + 0x254], al
lea eax, [ebx - 0xd]
push eax
push dword [esp + 0x38]
lea eax, [esp + 0x25d]
movq qword [esp + 0x250], xmm0
push eax
call fcn.00583b70
lea eax, [esp + 0x254]
push eax
lea eax, [esp + 0xb0]
push eax
call dword [esp + 0x2c]
xor edx, edx
mov eax, edi
div ebx
add esp, 0x14
cmp eax, 1
jbe 0x568f8f
mov esi, dword [esp + 0x34]
lea edi, [eax - 1]
add esi, 0xfffffff3
add esi, ebx
nop dword [eax]
lea eax, [esp + 0xa0]
push esi
push eax
call dword [esp + 0x20]
add esp, 8
add esi, ebx
sub edi, 1
jne 0x568f70
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x30]
push 0x40
lea eax, [esp + 0x18c]
push 0
push eax
call fcn.005840f0
mov eax, dword [esp + 0x34]
add esp, 0xc
mov ecx, dword [esp + 0x40]
add eax, ecx
mov dword [esp + 0x80], eax
cmp ecx, eax
ja 0x5691fd
mov eax, dword [esp + 0x38]
neg dword [esp + 0x38]
lea edx, [eax + 1]
shr eax, 0x1f
mov dword [esp + 0x30], eax
mov eax, edx
shr eax, 0x1f
mov dword [esp + 0x1c], eax
mov eax, ebx
sub eax, esi
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], eax
sub esi, ebx
lea eax, [esp + 0x178]
add eax, esi
mov dword [esp + 0x6c], eax
mov eax, ecx
xor esi, esi
xor eax, dword [esp + 0x70]
lea edx, [eax - 1]
not eax
shr eax, 0x1f
shr edx, 0x1f
and dl, al
mov eax, ecx
xor eax, dword [esp + 0x74]
neg dl
mov dword [esp + 0x24], edx
lea ecx, [eax - 1]
not eax
shr ecx, 0x1f
shr eax, 0x1f
and cl, al
neg cl
movsx eax, cl
mov dword [esp + 0x48], ecx
not cl
or cl, dl
mov byte [esp + 0x17], cl
mov ecx, dword [esp + 0x38]
movd xmm0, eax
mov eax, dword [esp + 0x6c]
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
pshufd xmm0, xmm0, 0
movaps xmmword [esp + 0x90], xmm0
mov dword [esp + 0x44], ecx
mov dword [esp + 0x28], eax
nop word [eax + eax]
mov edx, dword [esp + 0x4c]
xor bl, bl
cmp edi, edx
jae 0x569070
mov eax, dword [esp + 0x3c]
jmp 0x56907f
mov eax, dword [ebp + 0x20]
add eax, edx
cmp edi, eax
jae 0x569082
mov eax, dword [esp + 0x34]
sub eax, edx
mov bl, byte [eax + edi]
shr ecx, 0x1f
mov edx, esi
xor cl, byte [esp + 0x30]
inc edi
shr edx, 0x1f
mov al, dl
xor al, byte [esp + 0x30]
or cl, al
mov eax, dword [esp + 0x24]
xor cl, dl
movzx eax, al
dec cl
movzx ecx, cl
and ecx, eax
mov dword [esp + 0x58], ecx
not ecx
mov dword [esp + 0x54], ecx
mov ecx, esi
sub ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x54]
and al, bl
shr ecx, 0x1f
mov ebx, dword [esp + 0x58]
xor cl, byte [esp + 0x1c]
and bl, 0x80
or bl, al
mov al, dl
xor al, byte [esp + 0x1c]
or cl, al
xor cl, dl
dec cl
and cl, byte [esp + 0x24]
not cl
and cl, byte [esp + 0x17]
and bl, cl
cmp esi, dword [esp + 0x7c]
jb 0x56910e
mov eax, dword [esp + 0x48]
movzx eax, al
mov dword [esp + 0x58], eax
not eax
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x58]
and cl, byte [eax]
mov eax, dword [esp + 0x54]
and bl, al
or bl, cl
mov ecx, dword [esp + 0x44]
inc dword [esp + 0x28]
inc ecx
mov byte [esp + esi + 0x2c8], bl
inc esi
mov ebx, dword [esp + 0x50]
mov dword [esp + 0x44], ecx
cmp esi, ebx
jb 0x569060
lea eax, [esp + 0x2c8]
push eax
lea eax, [esp + 0xa4]
push eax
call dword [esp + 0x20]
lea eax, [esp + 0x2d0]
push eax
lea eax, [esp + 0xac]
push eax
call dword [esp + 0x3c]
mov edx, dword [esp + 0x30]
add esp, 0x10
xor eax, eax
cmp edx, 0x20
jb 0x5691c7
movaps xmm2, xmmword [esp + 0x90]
mov ecx, edx
and ecx, 0xffffffe0
nop dword [eax]
nop word [eax + eax]
movups xmm0, xmmword [esp + eax + 0x188]
movups xmm1, xmmword [esp + eax + 0x2c8]
pand xmm1, xmm2
por xmm1, xmm0
movups xmmword [esp + eax + 0x188], xmm1
movups xmm1, xmmword [esp + eax + 0x2d8]
movups xmm0, xmmword [esp + eax + 0x198]
pand xmm1, xmm2
por xmm1, xmm0
movups xmmword [esp + eax + 0x198], xmm1
add eax, 0x20
cmp eax, ecx
jb 0x569180
cmp eax, edx
jae 0x5691e7
nop dword [eax + eax]
mov cl, byte [esp + eax + 0x2c8]
and cl, byte [esp + 0x48]
or byte [esp + eax + 0x188], cl
inc eax
cmp eax, edx
jb 0x5691d0
mov ecx, dword [esp + 0x40]
inc ecx
mov dword [esp + 0x40], ecx
cmp ecx, dword [esp + 0x80]
jbe 0x568ff2
call fcn.004867a0
mov esi, eax
test esi, esi
je 0x569356
push 0
push dword [esp + 0x88]
push esi
call fcn.00486290
add esp, 0xc
test eax, eax
jle 0x569356
cmp byte [ebp + 0x2c], 0
je 0x5692b5
mov edi, dword [esp + 0x64]
lea eax, [esp + 0x1c8]
push edi
push 0x5c
push eax
call fcn.005840f0
push dword [ebp + 0x28]
push dword [esp + 0x78]
push esi
call fcn.004862d0
add esp, 0x18
test eax, eax
jle 0x569356
push edi
lea eax, [esp + 0x1cc]
push eax
push esi
call fcn.004862d0
add esp, 0xc
test eax, eax
jle 0x569356
push dword [esp + 0x20]
lea eax, [esp + 0x18c]
push eax
push esi
call fcn.004862d0
add esp, 0xc
test eax, eax
jg 0x569321
push esi
call fcn.00486710
mov eax, dword [esp + 0x60]
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x340]
xor ecx, esp
call fcn.00581041
mov esp, ebp
pop ebp
ret
movaps xmm2, xmmword [str.jjjjjjjjjjjjjjjj_]
xor eax, eax
nop
movups xmm0, xmmword [esp + eax + 0x1c8]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [esp + eax + 0x1c8], xmm1
movups xmm0, xmmword [esp + eax + 0x1d8]
pxor xmm0, xmm2
movups xmmword [esp + eax + 0x1d8], xmm0
add eax, 0x20
cmp eax, ebx
jb 0x5692c0
push ebx
lea eax, [esp + 0x1cc]
push eax
push esi
call fcn.004862d0
add esp, 0xc
test eax, eax
jle 0x569356
push dword [esp + 0x20]
lea eax, [esp + 0x18c]
push eax
push esi
call fcn.004862d0
add esp, 0xc
test eax, eax
jle 0x569356
lea eax, [esp + 0x8c]
push eax
push dword [esp + 0x8c]
push esi
call fcn.00485eb0
add esp, 0xc
test eax, eax
je 0x56934e
mov ecx, dword [esp + 0x60]
test ecx, ecx
je 0x56934e
mov eax, dword [esp + 0x8c]
mov dword [ecx], eax
mov dword [esp + 0x5c], 1
push esi
call fcn.00486710
mov eax, dword [esp + 0x60]
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x340]
xor ecx, esp
call fcn.00581041
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x60]
test eax, eax
je 0x569386
mov dword [eax], 0
mov ecx, dword [esp + 0x34c]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00581041
mov esp, ebp
pop ebp
ret