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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
mov eax, 0x334
call fcn.1006f400
mov eax, dword [0x101fd178]
xor eax, esp
mov dword [esp + 0x330], eax
cmp dword [ebp + 0x20], 0x100000
mov eax, dword [ebp + 8]
mov dword [esp + 0x4c], eax
mov eax, dword [ebp + 0xc]
push ebx
mov dword [esp + 0x6c], eax
mov ebx, 0x40
mov eax, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0x10]
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0x18]
push edi
mov dword [esp + 0x2c], eax
mov edi, 8
mov eax, dword [ebp + 0x24]
mov dword [esp + 0x78], esi
mov dword [esp + 0x54], eax
mov dword [esp + 0x48], ebx
mov dword [esp + 0x50], 0x28
mov dword [esp + 0x1c], edi
mov byte [esp + 0xf], 1
jb 0x1017d72a
push 0xa9
push str.....openssl_1.1.0f_ssl_s3_cbc.c
push str.assertion_failed:_data_plus_mac_plus_padding_size___1024__1024
call fcn.100ca280
add esp, 0xc
push dword [esp + 0x58]
call fcn.100bdb10
push eax
call fcn.100b76c0
add esp, 8
cmp eax, 0x2a0
jg 0x1017d7ff
je 0x1017d7cd
cmp eax, 4
je 0x1017d78d
cmp eax, 0x40
jne 0x1017d814
lea eax, [esp + 0x90]
push eax
call fcn.100d20c0
add esp, 4
test eax, eax
jle 0x1017df03
mov dword [esp + 0x28], 0x1017e0a0
mov ecx, 0x14
mov dword [esp + 0x10], 0x100d2100
jmp 0x1017d8da
lea eax, [esp + 0x90]
push eax
call fcn.100c4be0
add esp, 4
test eax, eax
jle 0x1017df03
mov edx, 0x30
mov dword [esp + 0x28], 0x1017e020
mov dword [esp + 0x10], 0x100c4c20
mov ecx, 0x10
mov dword [esp + 0x50], edx
mov byte [esp + 0xf], 0
jmp 0x1017d8df
lea eax, [esp + 0x90]
push eax
call fcn.100c5da0
add esp, 4
test eax, eax
jle 0x1017df03
mov dword [esp + 0x28], 0x1017e140
mov ecx, 0x20
mov dword [esp + 0x10], 0x100c5e00
jmp 0x1017d8da
sub eax, 0x2a1
je 0x1017d89b
sub eax, 1
je 0x1017d87f
sub eax, 1
je 0x1017d850
push 0xe7
push str.....openssl_1.1.0f_ssl_s3_cbc.c
push str.assertion_failed:_0
call fcn.100ca280
add esp, 0xc
test esi, esi
je 0x1017df03
mov dword [esi], 0
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x330]
xor ecx, esp
call fcn.1006e62b
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x90]
push eax
call fcn.100c5a60
add esp, 4
test eax, eax
jle 0x1017df03
mov dword [esp + 0x28], 0x1017e140
mov ecx, 0x1c
mov dword [esp + 0x10], 0x100c5e00
jmp 0x1017d8da
lea eax, [esp + 0x90]
push eax
call fcn.100d3d60
add esp, 4
test eax, eax
jle 0x1017df03
mov ecx, ebx
jmp 0x1017d8b8
lea eax, [esp + 0x90]
push eax
call fcn.100d3730
add esp, 4
test eax, eax
jle 0x1017df03
mov ecx, 0x30
mov edi, 0x10
mov dword [esp + 0x10], 0x100d3e10
mov ebx, 0x80
mov dword [esp + 0x1c], edi
mov dword [esp + 0x48], ebx
mov dword [esp + 0x28], 0x1017e230
mov edx, 0x28
cmp byte [ebp + 0x2c], 0
mov eax, 0xd
mov dword [esp + 0x18], ecx
mov dword [esp + 0x44], eax
je 0x1017d8fe
mov eax, dword [ebp + 0x28]
add eax, 0xb
add eax, edx
mov dword [esp + 0x44], eax
xor edx, edx
mov esi, eax
cmp byte [ebp + 0x2c], dl
sete dl
sub esi, ecx
mov ecx, dword [ebp + 0x20]
dec ecx
lea edx, [edx*4 + 2]
mov dword [esp + 0x30], edx
lea eax, [esi + edi]
add eax, ebx
xor edx, edx
add eax, ecx
xor edi, edi
div ebx
mov ecx, dword [ebp + 0x1c]
xor edx, edx
add ecx, esi
mov dword [esp + 0x40], eax
xor eax, eax
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x38], eax
mov eax, ecx
div ebx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x4c], edx
xor edx, edx
mov dword [esp + 0x5c], eax
lea eax, [ecx + esi]
div ebx
mov edx, dword [esp + 0x30]
xor ecx, ecx
cmp byte [ebp + 0x2c], cl
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x40]
setne cl
add ecx, edx
mov dword [esp + 0x24], edi
cmp eax, ecx
jbe 0x1017d97f
sub eax, edx
mov edi, eax
mov dword [esp + 0x38], eax
imul edi, ebx
mov dword [esp + 0x24], edi
mov eax, dword [esp + 0x3c]
shl eax, 3
cmp byte [ebp + 0x2c], 0
mov dword [esp + 0x14], eax
jne 0x1017da39
lea eax, [eax + ebx*8]
push ebx
mov dword [esp + 0x18], eax
lea eax, [esp + 0x1bc]
push 0
push eax
call fcn.10087820
mov eax, dword [ebp + 0x28]
add esp, 0xc
cmp eax, 0x80
jbe 0x1017d9d2
push 0x14f
push str.....openssl_1.1.0f_ssl_s3_cbc.c
push str.assertion_failed:_mac_secret_length___sizeof_hmac_pad_
call fcn.100ca280
mov eax, dword [ebp + 0x28]
add esp, 0xc
push eax
push dword [esp + 0x58]
lea eax, [esp + 0x1c0]
push eax
call fcn.10085d10
movaps xmm2, xmmword [str.6666666666666666....openssl_1.1.0fcryptoevpp_lib.c]
add esp, 0xc
xor eax, eax
movups xmm0, xmmword [esp + eax + 0x1b8]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [esp + eax + 0x1b8], xmm1
movups xmm0, xmmword [esp + eax + 0x1c8]
pxor xmm0, xmm2
movups xmmword [esp + eax + 0x1c8], xmm0
add eax, 0x20
cmp eax, ebx
jb 0x1017d9f0
lea eax, [esp + 0x1b8]
push eax
lea eax, [esp + 0x94]
push eax
call dword [esp + 0x18]
add esp, 8
cmp byte [esp + 0xf], 0
je 0x1017da87
lea eax, [esi - 4]
push eax
lea eax, [esp + 0x16c]
push 0
push eax
call fcn.10087820
mov ecx, dword [esp + 0x20]
add esp, 0xc
mov eax, ecx
mov byte [esp + esi + 0x167], cl
shr eax, 0x18
mov byte [esp + esi + 0x164], al
mov eax, ecx
shr eax, 0x10
mov byte [esp + esi + 0x165], al
mov eax, ecx
shr eax, 8
mov byte [esp + esi + 0x166], al
jmp 0x1017dac9
push esi
lea eax, [esp + 0x16c]
push 0
push eax
call fcn.10087820
mov ecx, dword [esp + 0x20]
add esp, 0xc
mov eax, ecx
mov byte [esp + esi + 0x160], cl
shr eax, 0x18
mov byte [esp + esi + 0x163], al
mov eax, ecx
shr eax, 0x10
mov byte [esp + esi + 0x162], al
mov eax, ecx
shr eax, 8
mov byte [esp + esi + 0x161], al
test edi, edi
je 0x1017dc0f
cmp byte [ebp + 0x2c], 0
je 0x1017db81
mov eax, dword [esp + 0x44]
cmp eax, ebx
jbe 0x1017df03
push dword [esp + 0x34]
sub eax, ebx
mov dword [esp + 0x18], eax
lea eax, [esp + 0x94]
push eax
call dword [esp + 0x18]
push dword [esp + 0x1c]
mov eax, dword [esp + 0x40]
add eax, ebx
push eax
lea eax, [esp + 0x248]
push eax
call fcn.10085d10
mov eax, ebx
sub eax, dword [esp + 0x28]
push eax
push dword [esp + 0x44]
lea eax, [esp + 0x254]
add eax, dword [esp + 0x30]
push eax
call fcn.10085d10
lea eax, [esp + 0x258]
push eax
lea eax, [esp + 0xb4]
push eax
call dword [esp + 0x38]
xor edx, edx
mov eax, edi
div ebx
add esp, 0x28
dec eax
cmp eax, 1
jbe 0x1017dc0f
mov esi, dword [esp + 0x2c]
lea edi, [eax - 1]
sub esi, dword [esp + 0x14]
add esi, ebx
lea eax, [esp + 0x90]
push esi
push eax
call dword [esp + 0x18]
add esp, 8
add esi, ebx
sub edi, 1
jne 0x1017db65
jmp 0x1017dc07
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx + 8]
movq xmm0, qword [ecx]
mov dword [esp + 0x240], eax
mov al, byte [ecx + 0xc]
mov byte [esp + 0x244], al
lea eax, [ebx - 0xd]
push eax
push dword [esp + 0x30]
lea eax, [esp + 0x24d]
movq qword [esp + 0x240], xmm0
push eax
call fcn.10085d10
lea eax, [esp + 0x244]
push eax
lea eax, [esp + 0xa0]
push eax
call dword [esp + 0x24]
xor edx, edx
mov eax, edi
div ebx
add esp, 0x14
cmp eax, 1
jbe 0x1017dc0f
mov esi, dword [esp + 0x2c]
lea edi, [eax - 1]
add esi, 0xfffffff3
add esi, ebx
nop dword [eax]
lea eax, [esp + 0x90]
push esi
push eax
call dword [esp + 0x18]
add esp, 8
add esi, ebx
sub edi, 1
jne 0x1017dbf0
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x24]
push 0x40
lea eax, [esp + 0x17c]
push 0
push eax
call fcn.10087820
mov eax, dword [esp + 0x3c]
add esp, 0xc
mov ecx, dword [esp + 0x38]
add eax, ecx
mov dword [esp + 0x6c], eax
cmp ecx, eax
ja 0x1017de6e
mov eax, dword [esp + 0x4c]
mov edx, eax
shr edx, 0x1f
mov dword [esp + 0x30], edx
lea edx, [eax + 1]
shr edx, 0x1f
mov dword [esp + 0x1c], edx
mov edx, ebx
sub edx, esi
sub esi, ebx
mov dword [esp + 0x64], edx
lea ebx, [esp + 0x168]
mov edx, eax
lea eax, [esp + eax + 0x2b8]
neg edx
mov dword [esp + 0x68], eax
add ebx, esi
mov dword [esp + 0x70], edx
mov dword [esp + 0x4c], ebx
nop word [eax + eax]
mov eax, ecx
xor esi, esi
xor eax, dword [esp + 0x5c]
lea ebx, [eax - 1]
not eax
shr eax, 0x1f
shr ebx, 0x1f
and bl, al
mov eax, ecx
xor eax, dword [esp + 0x60]
neg bl
mov dword [esp + 0x3c], ebx
lea ecx, [eax - 1]
not eax
shr ecx, 0x1f
shr eax, 0x1f
and cl, al
neg cl
movsx eax, cl
mov dword [esp + 0x40], ecx
not cl
or cl, bl
mov byte [esp + 0x23], cl
mov ecx, edx
movd xmm0, eax
mov eax, dword [esp + 0x4c]
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
pshufd xmm0, xmm0, 0
movaps xmmword [esp + 0x80], xmm0
mov dword [esp + 0x24], ecx
mov dword [esp + 0x14], eax
jmp 0x1017dcf4
mov ebx, dword [esp + 0x3c]
mov edx, dword [esp + 0x44]
mov byte [esp + 0xf], 0
cmp edi, edx
jae 0x1017dd07
mov eax, dword [esp + 0x34]
jmp 0x1017dd16
mov eax, dword [ebp + 0x20]
add eax, edx
cmp edi, eax
jae 0x1017dd1d
mov eax, dword [esp + 0x2c]
sub eax, edx
mov al, byte [eax + edi]
mov byte [esp + 0xf], al
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
movzx eax, bl
mov ebx, dword [esp + 0x24]
xor cl, dl
dec ebx
dec cl
shr ebx, 0x1f
xor bl, byte [esp + 0x1c]
movzx ecx, cl
and ecx, eax
mov al, dl
xor al, byte [esp + 0x1c]
or bl, al
mov al, cl
xor bl, dl
not al
and al, byte [esp + 0xf]
dec bl
and bl, byte [esp + 0x3c]
and cl, 0x80
not bl
or al, cl
and bl, al
and bl, byte [esp + 0x23]
cmp esi, dword [esp + 0x64]
jb 0x1017dd8c
mov eax, dword [esp + 0x40]
movzx ecx, al
mov eax, dword [esp + 0x14]
mov dl, cl
not dl
and bl, dl
mov al, byte [eax]
and al, cl
or bl, al
mov ecx, dword [esp + 0x24]
inc esi
mov eax, dword [esp + 0x68]
inc dword [esp + 0x14]
mov byte [eax + ecx], bl
inc ecx
mov ebx, dword [esp + 0x48]
mov dword [esp + 0x24], ecx
cmp esi, ebx
jb 0x1017dcf0
lea eax, [esp + 0x2b8]
push eax
lea eax, [esp + 0x94]
push eax
call dword [esp + 0x18]
lea eax, [esp + 0x2c0]
push eax
lea eax, [esp + 0x9c]
push eax
call dword [esp + 0x38]
mov edx, dword [esp + 0x28]
add esp, 0x10
xor eax, eax
cmp edx, 0x20
jb 0x1017de37
movaps xmm2, xmmword [esp + 0x80]
mov ecx, edx
and ecx, 0xffffffe0
movups xmm0, xmmword [esp + eax + 0x178]
movups xmm1, xmmword [esp + eax + 0x2b8]
pand xmm1, xmm2
por xmm1, xmm0
movups xmmword [esp + eax + 0x178], xmm1
movups xmm1, xmmword [esp + eax + 0x2c8]
movups xmm0, xmmword [esp + eax + 0x188]
pand xmm1, xmm2
por xmm1, xmm0
movups xmmword [esp + eax + 0x188], xmm1
add eax, 0x20
cmp eax, ecx
jb 0x1017ddf0
cmp eax, edx
jae 0x1017de57
nop dword [eax + eax]
mov cl, byte [esp + eax + 0x2b8]
and cl, byte [esp + 0x40]
or byte [esp + eax + 0x178], cl
inc eax
cmp eax, edx
jb 0x1017de40
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x70]
inc ecx
mov dword [esp + 0x38], ecx
cmp ecx, dword [esp + 0x6c]
jbe 0x1017dc80
call fcn.100b99a0
mov esi, eax
test esi, esi
je 0x1017defa
push 0
push dword [esp + 0x5c]
call fcn.100bdb10
add esp, 4
push eax
push esi
call fcn.100b9610
add esp, 0xc
test eax, eax
jle 0x1017defa
cmp byte [ebp + 0x2c], 0
je 0x1017df1a
mov edi, dword [esp + 0x50]
lea eax, [esp + 0x1b8]
push edi
push 0x5c
push eax
call fcn.10087820
push dword [ebp + 0x28]
push dword [esp + 0x64]
push esi
call fcn.100b97c0
add esp, 0x18
test eax, eax
jle 0x1017defa
push edi
lea eax, [esp + 0x1bc]
push eax
push esi
call fcn.100b97c0
add esp, 0xc
test eax, eax
jle 0x1017defa
push dword [esp + 0x18]
lea eax, [esp + 0x17c]
push eax
push esi
call fcn.100b97c0
add esp, 0xc
test eax, eax
jg 0x1017df95
push esi
call fcn.100b9980
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x330]
xor ecx, esp
call fcn.1006e62b
mov esp, ebp
pop ebp
ret
movaps xmm2, xmmword [str.jjjjjjjjjjjjjjjj]
xor eax, eax
nop dword [eax]
nop word [eax + eax]
movups xmm0, xmmword [esp + eax + 0x1b8]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [esp + eax + 0x1b8], xmm1
movups xmm0, xmmword [esp + eax + 0x1c8]
pxor xmm0, xmm2
movups xmmword [esp + eax + 0x1c8], xmm0
add eax, 0x20
cmp eax, ebx
jb 0x1017df30
push ebx
lea eax, [esp + 0x1bc]
push eax
push esi
call fcn.100b97c0
add esp, 0xc
test eax, eax
jle 0x1017defa
push dword [esp + 0x18]
lea eax, [esp + 0x17c]
push eax
push esi
call fcn.100b97c0
add esp, 0xc
test eax, eax
jle 0x1017defa
lea eax, [esp + 0x7c]
push eax
push dword [esp + 0x78]
push esi
call fcn.100b9540
add esp, 0xc
test eax, eax
je 0x1017dfb9
mov ecx, dword [esp + 0x78]
test ecx, ecx
je 0x1017dfb9
mov eax, dword [esp + 0x7c]
mov dword [ecx], eax
push esi
call fcn.100b9980
mov ecx, dword [esp + 0x340]
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1006e62b
mov esp, ebp
pop ebp
ret