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

Disassembly:
mov eax, 0x38
call fcn.005c2f10
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x5c]
xor esi, esi
mov eax, edi
mov dword [esp + 0x34], 0
shl eax, 4
add eax, 6
mov dword [esp + 0x14], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x1c], edi
cmp eax, 0x1555555
ja 0x528920
imul esi, edi, 0x600
push 0x257
push str.cryptoececp_nistz256.c
lea eax, [esi + 0x220]
push eax
call fcn.004c6da0
mov ebx, eax
add esp, 0xc
mov dword [esp + 0x10], ebx
test ebx, ebx
je 0x52891e
mov eax, edi
push 0x259
shl eax, 5
add eax, edi
push str.cryptoececp_nistz256.c
push eax
call fcn.004c6da0
mov ebp, eax
add esp, 0xc
mov dword [esp + 0x14], ebp
test ebp, ebp
je 0x52891a
push 0x25a
lea eax, [edi*4]
push str.cryptoececp_nistz256.c
push eax
call fcn.004c6da0
mov edx, eax
add esp, 0xc
mov dword [esp + 0x2c], edx
test edx, edx
je 0x52891a
mov eax, ebx
mov dword [esp + 0x28], 0
and eax, 0x3f
mov ecx, ebx
sub ecx, eax
add ecx, 0x40
add esi, ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x40], esi
test edi, edi
je 0x52857f
mov edi, dword [esp + 0x54]
lea eax, [ebp + 2]
mov ebp, dword [esp + 0x60]
mov ebx, ecx
mov dword [esp + 0x38], eax
mov eax, edx
sub eax, edi
mov dword [esp + 0x20], 0
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x58]
sub eax, edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x44], eax
nop dword [eax]
push dword [edi]
call fcn.004cab90
add esp, 4
cmp eax, 0x100
jg 0x5282b7
push dword [edi]
call fcn.004caa50
add esp, 4
test eax, eax
jne 0x5282b7
mov ebp, dword [edi]
mov dword [esp + 0x30], ebp
jmp 0x5282ec
push ebp
call fcn.004eb460
mov ebp, eax
add esp, 4
mov dword [esp + 0x30], ebp
test ebp, ebp
je 0x5288c3
mov eax, dword [esp + 0x4c]
push dword [esp + 0x60]
push dword [eax + 8]
push dword [edi]
push ebp
call fcn.0051d7d0
add esp, 0x10
test eax, eax
je 0x52890c
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
push dword [esp + 0x30]
mov dword [ecx + eax*4], ebp
xor ebp, ebp
call fcn.004ca370
shl eax, 2
add esp, 4
test eax, eax
jle 0x528375
mov edi, dword [esp + 0x38]
add edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
mov esi, dword [esp + 0x3c]
nop dword [eax]
push dword [esi + ebx]
call fcn.004cbe00
mov ecx, ebp
test ecx, ecx
jns 0x528331
add ecx, 3
sar ecx, 2
mov ecx, dword [eax + ecx*4]
lea edi, [edi + 4]
mov eax, ecx
mov byte [edi - 6], cl
shr eax, 8
add ebp, 4
mov byte [edi - 5], al
mov eax, ecx
shr eax, 0x10
shr ecx, 0x18
mov byte [edi - 4], al
mov byte [edi - 3], cl
push dword [esi + ebx]
call fcn.004ca370
shl eax, 2
add esp, 8
cmp ebp, eax
jl 0x528320
mov esi, dword [esp + 0x40]
mov ebx, dword [esp + 0x5c]
cmp ebp, 0x21
jge 0x528392
mov ecx, dword [esp + 0x20]
mov eax, 0x21
sub eax, ebp
add ecx, ebp
add ecx, dword [esp + 0x14]
push eax
push 0
push ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov edi, dword [esp + 0x44]
add edi, dword [esp + 0x24]
push 8
mov eax, dword [edi]
push dword [eax + 8]
push esi
call fcn.0051f480
add esp, 0xc
test eax, eax
je 0x5288a5
mov eax, dword [edi]
push 8
push dword [eax + 0xc]
lea eax, [esi + 0x20]
push eax
call fcn.0051f480
add esp, 0xc
test eax, eax
je 0x5288a5
mov eax, dword [edi]
push 8
push dword [eax + 0x10]
lea eax, [esi + 0x40]
push eax
call fcn.0051f480
add esp, 0xc
test eax, eax
je 0x5288a5
push 1
push esi
push ebx
call fcn.00435080
lea edi, [esi + 0x60]
push esi
push edi
call fcn.00435560
push 2
push edi
push ebx
call fcn.00435080
push esi
lea ebp, [esi + 0xc0]
push edi
push ebp
call fcn.00435760
push 3
push ebp
push ebx
call fcn.00435080
push edi
push edi
call fcn.00435560
add esp, 0x40
push 4
push edi
push ebx
call fcn.00435080
push ebp
push ebp
call fcn.00435560
push 6
push ebp
push ebx
call fcn.00435080
push esi
lea ebx, [esi + 0x120]
push edi
push ebx
call fcn.00435760
push 5
push ebx
push dword [esp + 0x90]
call fcn.00435080
push esi
lea edi, [esi + 0x180]
push ebp
push edi
call fcn.00435760
add esp, 0x44
push 7
push edi
push dword [esp + 0x64]
call fcn.00435080
lea eax, [esi + 0x60]
push eax
push eax
call fcn.00435560
push 8
lea eax, [esi + 0x60]
push eax
push dword [esp + 0x78]
call fcn.00435080
push ebp
push ebp
call fcn.00435560
push 0xc
push ebp
push dword [esp + 0x8c]
call fcn.00435080
push ebx
push ebx
call fcn.00435560
push 0xa
push ebx
push dword [esp + 0xa0]
call fcn.00435080
add esp, 0x48
push edi
push edi
call fcn.00435560
push 0xe
push edi
push dword [esp + 0x6c]
call fcn.00435080
push esi
push ebp
push ebp
call fcn.00435760
push 0xd
push ebp
push dword [esp + 0x84]
call fcn.00435080
push esi
push ebx
push ebx
call fcn.00435760
push 0xb
push ebx
mov ebx, dword [esp + 0x9c]
push ebx
call fcn.00435080
add esp, 0x44
push esi
push edi
push edi
call fcn.00435760
push 0xf
push edi
push ebx
call fcn.00435080
push esi
lea ebx, [esi + 0x60]
push ebx
push ebp
call fcn.00435760
push 9
push ebp
push dword [esp + 0x88]
call fcn.00435080
push ebx
push ebx
call fcn.00435560
push 0x10
push ebx
mov ebx, dword [esp + 0x9c]
push ebx
call fcn.00435080
mov ebp, dword [esp + 0x6c]
add ebx, 0x600
mov edi, dword [esp + 0x68]
inc ebp
add dword [esp + 0x64], 0x21
add edi, 4
add esp, 0x44
mov dword [esp + 0x28], ebp
cmp ebp, dword [esp + 0x1c]
mov ebp, dword [esp + 0x60]
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x24], edi
jb 0x528290
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov ebp, 0xff
mov dword [esp + 0x28], ebp
movzx ecx, byte [eax + 0x1f]
shr ecx, 6
mov eax, ecx
and ecx, 1
shr eax, 1
add eax, ecx
push eax
push dword [esp + 0x1c]
push esi
call fcn.004350d0
movups xmm0, xmmword [esi]
mov ebx, dword [esp + 0x5c]
add esp, 0xc
movups xmmword [ebx], xmm0
movups xmm0, xmmword [esi + 0x10]
movups xmmword [ebx + 0x10], xmm0
movups xmm0, xmmword [esi + 0x20]
movups xmmword [ebx + 0x20], xmm0
movups xmm0, xmmword [esi + 0x30]
movups xmmword [ebx + 0x30], xmm0
movups xmm0, xmmword [esi + 0x40]
movups xmmword [ebx + 0x40], xmm0
movups xmm0, xmmword [esi + 0x50]
movups xmmword [ebx + 0x50], xmm0
nop dword [eax]
xor eax, eax
cmp ebp, 0xff
sete al
cmp eax, edi
jae 0x528748
lea edx, [ebp - 1]
mov ebp, eax
mov ecx, edx
shl ebp, 5
and ecx, 7
shr edx, 3
mov dword [esp + 0x44], ecx
add ebp, eax
imul ecx, eax, 0x600
mov dword [esp + 0x40], edx
add ecx, dword [esp + 0x18]
sub edi, eax
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x30], edi
mov ecx, dword [esp + 0x14]
lea eax, [edx + ebp]
movzx edi, byte [eax + ecx + 1]
movzx eax, byte [eax + ecx]
mov ecx, dword [esp + 0x44]
shl edi, 8
or edi, eax
shr edi, cl
mov ecx, 0x3f
and edi, 0x3f
mov eax, edi
sub ecx, edi
shr eax, 5
dec eax
mov edx, eax
and eax, edi
not edx
and ecx, edx
and edx, 1
or ecx, eax
mov eax, ecx
and ecx, 1
shr eax, 1
add eax, ecx
lea edi, [edx + eax*2]
mov eax, edi
shr eax, 1
push eax
push dword [esp + 0x60]
push esi
call fcn.004350d0
lea eax, [esi + 0x20]
push eax
lea eax, [esi + 0x80]
push eax
call fcn.004343a0
mov eax, dword [esi + 0x20]
and edi, 1
neg edi
mov edx, edi
mov ecx, edi
and ecx, dword [esi + 0x80]
not edx
and eax, edx
xor ecx, eax
mov dword [esi + 0x20], ecx
mov ecx, edx
and ecx, dword [esi + 0x24]
mov eax, dword [esi + 0x84]
and eax, edi
xor ecx, eax
mov eax, edx
mov dword [esi + 0x24], ecx
mov ecx, edi
and ecx, dword [esi + 0x88]
and eax, dword [esi + 0x28]
xor ecx, eax
mov eax, edi
mov dword [esi + 0x28], ecx
mov ecx, edx
and ecx, dword [esi + 0x2c]
and eax, dword [esi + 0x8c]
xor ecx, eax
mov dword [esi + 0x2c], ecx
mov ecx, dword [esi + 0x90]
mov eax, dword [esi + 0x30]
and ecx, edi
and eax, edx
xor ecx, eax
mov dword [esi + 0x30], ecx
mov ecx, dword [esi + 0x34]
mov eax, dword [esi + 0x94]
and ecx, edx
and eax, edi
xor ecx, eax
mov dword [esi + 0x34], ecx
mov ecx, dword [esi + 0x38]
mov eax, dword [esi + 0x98]
and ecx, edx
and eax, edi
xor ecx, eax
mov dword [esi + 0x38], ecx
mov eax, dword [esi + 0x3c]
and edi, dword [esi + 0x9c]
and eax, edx
push esi
xor eax, edi
push ebx
push ebx
mov dword [esi + 0x3c], eax
call fcn.00435760
add dword [esp + 0x7c], 0x600
lea ebp, [ebp + 0x21]
mov edx, dword [esp + 0x60]
add esp, 0x20
sub dword [esp + 0x30], 1
jne 0x528621
mov ebp, dword [esp + 0x28]
mov edi, dword [esp + 0x1c]
push ebx
sub ebp, 5
push ebx
mov dword [esp + 0x30], ebp
call fcn.00435560
push ebx
push ebx
call fcn.00435560
push ebx
push ebx
call fcn.00435560
push ebx
push ebx
call fcn.00435560
push ebx
push ebx
call fcn.00435560
add esp, 0x28
cmp ebp, 5
jae 0x5285e0
test edi, edi
je 0x52889b
mov eax, dword [esp + 0x14]
lea ebp, [esi + 0x20]
mov dword [esp + 0x5c], eax
movzx edx, byte [eax]
mov ecx, 0x3f
and edx, 0x1f
add edx, edx
mov eax, edx
sub ecx, edx
shr eax, 5
dec eax
mov edi, eax
and eax, edx
not edi
and ecx, edi
and edi, 1
or ecx, eax
mov eax, ecx
and ecx, 1
shr eax, 1
add eax, ecx
lea edi, [edi + eax*2]
mov eax, edi
shr eax, 1
push eax
push dword [esp + 0x1c]
push esi
call fcn.004350d0
lea eax, [esi + 0x80]
push ebp
push eax
call fcn.004343a0
mov eax, dword [ebp]
and edi, 1
neg edi
mov edx, edi
mov ecx, edi
and ecx, dword [esi + 0x80]
not edx
and eax, edx
xor ecx, eax
mov dword [ebp], ecx
mov ecx, edx
and ecx, dword [ebp + 4]
mov eax, dword [esi + 0x84]
and eax, edi
xor ecx, eax
mov eax, edi
mov dword [ebp + 4], ecx
mov ecx, edx
and ecx, dword [esi + 0x28]
and eax, dword [esi + 0x88]
xor ecx, eax
mov dword [esi + 0x28], ecx
mov ecx, dword [esi + 0x8c]
mov eax, dword [esi + 0x2c]
and ecx, edi
and eax, edx
xor ecx, eax
mov dword [esi + 0x2c], ecx
mov ecx, edx
and ecx, dword [esi + 0x30]
mov eax, dword [esi + 0x90]
and eax, edi
xor ecx, eax
mov dword [esi + 0x30], ecx
mov ecx, dword [esi + 0x34]
mov eax, dword [esi + 0x94]
and ecx, edx
and eax, edi
xor ecx, eax
mov dword [esi + 0x34], ecx
mov ecx, edx
mov eax, dword [esi + 0x98]
and ecx, dword [esi + 0x38]
and eax, edi
xor ecx, eax
mov dword [esi + 0x38], ecx
mov eax, dword [esi + 0x3c]
and edi, dword [esi + 0x9c]
and eax, edx
xor eax, edi
mov dword [esi + 0x3c], eax
push esi
push ebx
push ebx
call fcn.00435760
mov eax, dword [esp + 0x7c]
add esp, 0x20
add dword [esp + 0x18], 0x600
add eax, 0x21
sub dword [esp + 0x1c], 1
mov dword [esp + 0x5c], eax
jne 0x528791
mov dword [esp + 0x34], 1
jmp 0x5288c3
push 0x289
push str.cryptoececp_nistz256.c
push 0x92
push 0xf2
push 0x10
call fcn.004d7030
add esp, 0x14
mov esi, dword [esp + 0x10]
push 0x2eb
push str.cryptoececp_nistz256.c
push esi
call fcn.004c6dd0
push 0x2ec
push str.cryptoececp_nistz256.c
push dword [esp + 0x28]
call fcn.004c6dd0
push 0x2ed
push str.cryptoececp_nistz256.c
push dword [esp + 0x4c]
call fcn.004c6dd0
mov eax, dword [esp + 0x58]
add esp, 0x24
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret
push 0x26c
push str.cryptoececp_nistz256.c
push 3
jmp 0x5288b4
mov esi, ebx
jmp 0x528920
mov esi, eax
push 0x25b
push str.cryptoececp_nistz256.c
push 0x41
push 0xf2
push 0x10
call fcn.004d7030
add esp, 0x14
jmp 0x5288c7