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

Disassembly:
mov eax, 0x6c
call fcn.1005b330
mov eax, dword [0x102db074]
xor eax, esp
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x78]
push ebx
mov ebx, dword [esp + 0x90]
push ebp
push esi
mov esi, dword [esp + 0x94]
xor ebp, ebp
push edi
mov edi, dword [esp + 0x80]
push esi
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], 1
call fcn.100d1950
mov ecx, eax
add esp, 4
mov dword [esp + 0x14], ecx
test ecx, ecx
jle 0x1017eff1
mov eax, dword [esp + 0xa0]
xor edx, edx
div ecx
cmp eax, 0xffffffff
jb 0x1017f006
call fcn.100c3120
push str.pbkdf2_derive
push 0x127
push str.providersimplementationskdfspbkdf2.c
call fcn.100c3220
push ebp
push 0x69
push 0x39
call fcn.100c32d0
add esp, 0x18
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.1005a1f2
add esp, 0x6c
ret
cmp dword [esp + 0xa4], ebp
je 0x1017f0aa
mov eax, dword [esp + 0xa0]
shl eax, 3
cmp eax, 0x70
jae 0x1017f044
call fcn.100c3120
push str.pbkdf2_derive
push 0x12d
push str.providersimplementationskdfspbkdf2.c
call fcn.100c3220
push 0
push 0xab
jmp 0x1017efe7
cmp dword [esp + 0x8c], 0x10
jge 0x1017f070
call fcn.100c3120
push str.pbkdf2_derive
push 0x131
push str.providersimplementationskdfspbkdf2.c
call fcn.100c3220
push 0
push 0x70
jmp 0x1017efe7
cmp dword [esp + 0x94], ebp
ja 0x1017f0aa
jb 0x1017f088
cmp dword [esp + 0x90], 0x3e8
jae 0x1017f0aa
call fcn.100c3120
push str.pbkdf2_derive
push 0x135
push str.providersimplementationskdfspbkdf2.c
call fcn.100c3220
push 0
push 0x7b
jmp 0x1017efe7
call fcn.10147140
mov dword [esp + 0x1c], eax
test eax, eax
je 0x1017eff1
push 0
push esi
push dword [esp + 0x8c]
push edi
push eax
call fcn.10147330
add esp, 0x14
test eax, eax
je 0x1017f339
call fcn.10147140
mov ebp, eax
mov dword [esp + 0x18], ebp
test ebp, ebp
je 0x1017f339
mov eax, dword [esp + 0xa0]
test eax, eax
je 0x1017f331
mov esi, dword [esp + 0x14]
mov ecx, 1
push dword [esp + 0x1c]
cmp eax, esi
mov byte [esp + 0x17], cl
mov edi, eax
mov eax, ecx
cmovg edi, esi
shr eax, 0x18
mov byte [esp + 0x14], al
mov eax, ecx
shr eax, 0x10
mov byte [esp + 0x15], al
mov eax, ecx
shr eax, 8
push ebp
mov dword [esp + 0x3c], edi
mov byte [esp + 0x1a], al
call fcn.10147030
add esp, 8
test eax, eax
je 0x1017f339
push dword [esp + 0x8c]
push dword [esp + 0x34]
push ebp
call fcn.10147650
add esp, 0xc
test eax, eax
je 0x1017f339
push 4
lea eax, [esp + 0x14]
push eax
push ebp
call fcn.10147650
add esp, 0xc
test eax, eax
je 0x1017f339
push 0
lea eax, [esp + 0x3c]
push eax
push ebp
call fcn.10147280
add esp, 0xc
test eax, eax
je 0x1017f339
push edi
lea eax, [esp + 0x3c]
push eax
push ebx
call fcn.10213e00
xor ecx, ecx
add esp, 0xc
mov eax, 1
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], eax
cmp ecx, dword [esp + 0x94]
ja 0x1017f30e
jb 0x1017f1d0
cmp eax, dword [esp + 0x90]
jae 0x1017f30e
nop word [eax + eax]
push dword [esp + 0x1c]
push ebp
call fcn.10147030
add esp, 8
test eax, eax
je 0x1017f339
push esi
lea eax, [esp + 0x3c]
push eax
push ebp
call fcn.10147650
add esp, 0xc
test eax, eax
je 0x1017f339
push 0
lea eax, [esp + 0x3c]
push eax
push ebp
call fcn.10147280
add esp, 0xc
test eax, eax
je 0x1017f339
xor ecx, ecx
test edi, edi
jle 0x1017f2d8
cmp edi, 0x40
jb 0x1017f2b9
lea edx, [ebx - 1]
lea eax, [esp + edi + 0x37]
add edx, edi
cmp ebx, eax
ja 0x1017f240
lea eax, [esp + 0x38]
cmp edx, eax
jae 0x1017f2b9
mov eax, edi
and eax, 0x8000003f
jns 0x1017f24e
dec eax
or eax, 0xffffffc0
inc eax
mov esi, edi
lea ebp, [esp + 0x38]
sub esi, eax
lea edi, [esp + 0x48]
sub ebp, ebx
lea eax, [ebx + 0x20]
sub edi, ebx
movups xmm0, xmmword [eax - 0x20]
lea eax, [eax + 0x40]
movups xmm1, xmmword [esp + ecx + 0x38]
pxor xmm1, xmm0
movups xmmword [eax - 0x60], xmm1
movups xmm0, xmmword [eax - 0x50]
movups xmm1, xmmword [esp + ecx + 0x48]
add ecx, 0x40
mov edx, ecx
pxor xmm1, xmm0
movups xmmword [eax - 0x50], xmm1
movups xmm0, xmmword [eax - 0x40]
movups xmm1, xmmword [eax + ebp - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x40], xmm1
movups xmm0, xmmword [eax - 0x30]
movups xmm1, xmmword [edi + eax - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x30], xmm1
cmp ecx, esi
jl 0x1017f261
mov edi, dword [esp + 0x34]
cmp edx, edi
jge 0x1017f2d4
lea esi, [esp + 0x38]
mov edx, edi
sub esi, ebx
lea eax, [ecx + ebx]
sub edx, ecx
mov cl, byte [esi + eax]
lea eax, [eax + 1]
xor byte [eax - 1], cl
sub edx, 1
jne 0x1017f2c6
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
add eax, 1
mov ebp, dword [esp + 0x18]
adc ecx, 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
cmp ecx, dword [esp + 0x94]
jb 0x1017f1d0
ja 0x1017f30e
cmp eax, dword [esp + 0x90]
jb 0x1017f1d0
mov eax, dword [esp + 0xa0]
add ebx, edi
mov ecx, dword [esp + 0x28]
sub eax, edi
inc ecx
mov dword [esp + 0xa0], eax
mov dword [esp + 0x28], ecx
test eax, eax
jne 0x1017f102
mov dword [esp + 0x2c], 1
push ebp
call fcn.101470e0
push dword [esp + 0x20]
call fcn.101470e0
mov ecx, dword [esp + 0x80]
add esp, 8
mov eax, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1005a1f2
add esp, 0x6c
ret