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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
mov eax, 0x354
call fcn.1013e490
mov eax, dword [0x101fb2ec]
xor eax, esp
mov dword [esp + 0x350], eax
cmp dword [ebp + 0x20], 0x100000
mov eax, dword [ebp + 8]
mov dword [esp + 0x54], eax
mov eax, dword [ebp + 0xc]
push ebx
mov dword [esp + 0x74], eax
mov ebx, 0x40
mov eax, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0x10]
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 0x18]
push edi
mov dword [esp + 0x34], eax
mov edi, 8
mov eax, dword [ebp + 0x24]
mov dword [esp + 0x80], esi
mov dword [esp + 0x5c], eax
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x58], 0x28
mov dword [esp + 0x1c], edi
mov byte [esp + 0x13], 1
jb 0x1011060d
push str.data_plus_mac_plus_padding_size___1024__1024
push 0x1c7
push str.._ssl_s3_cbc.c
call fcn.1006bf70
add esp, 0xc
push dword [esp + 0x60]
call fcn.1005f100
push eax
call fcn.10058760
add esp, 8
cmp eax, 0x2a0
jg 0x101106e2
je 0x101106b0
cmp eax, 4
je 0x10110670
cmp eax, 0x40
jne 0x101106f7
lea eax, [esp + 0xb0]
push eax
call fcn.10071090
add esp, 4
test eax, eax
jle 0x10110e9e
mov dword [esp + 0x30], 0x101112a0
mov ecx, 0x14
mov dword [esp + 0x14], 0x100710d0
jmp 0x101107bd
lea eax, [esp + 0xb0]
push eax
call fcn.10066b50
add esp, 4
test eax, eax
jle 0x10110e9e
mov edx, 0x30
mov dword [esp + 0x30], 0x10111220
mov dword [esp + 0x14], 0x10066b90
mov ecx, 0x10
mov dword [esp + 0x58], edx
mov byte [esp + 0x13], 0
jmp 0x101107c2
lea eax, [esp + 0xb0]
push eax
call fcn.10067ce0
add esp, 4
test eax, eax
jle 0x10110e9e
mov dword [esp + 0x30], 0x10111340
mov ecx, 0x20
mov dword [esp + 0x14], 0x10067d40
jmp 0x101107bd
sub eax, 0x2a1
je 0x1011077e
sub eax, 1
je 0x10110762
sub eax, 1
je 0x10110733
push 0x1017a06c
push 0x209
push str.._ssl_s3_cbc.c
call fcn.1006bf70
add esp, 0xc
test esi, esi
je 0x10110e9e
mov dword [esi], 0
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x350]
xor ecx, esp
call fcn.1013e455
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0xb0]
push eax
call fcn.100679a0
add esp, 4
test eax, eax
jle 0x10110e9e
mov dword [esp + 0x30], 0x10111340
mov ecx, 0x1c
mov dword [esp + 0x14], 0x10067d40
jmp 0x101107bd
lea eax, [esp + 0xb0]
push eax
call fcn.10072d00
add esp, 4
test eax, eax
jle 0x10110e9e
mov ecx, ebx
jmp 0x1011079b
lea eax, [esp + 0xb0]
push eax
call fcn.10072770
add esp, 4
test eax, eax
jle 0x10110e9e
mov ecx, 0x30
mov edi, 0x10
mov dword [esp + 0x14], 0x10072db0
mov ebx, 0x80
mov dword [esp + 0x1c], edi
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x30], 0x10111430
mov edx, 0x28
cmp byte [ebp + 0x2c], 0
mov eax, 0xd
mov dword [esp + 0x20], ecx
mov dword [esp + 0x48], eax
je 0x101107e1
mov eax, dword [ebp + 0x28]
add eax, 0xb
add eax, edx
mov dword [esp + 0x48], 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 + 0x24], 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 + 0x2c], eax
mov eax, ecx
mov esi, dword [esp + 0x1c]
div ebx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x40], edx
xor edx, edx
mov dword [esp + 0x68], eax
lea eax, [ecx + esi]
div ebx
mov edx, dword [esp + 0x24]
xor ecx, ecx
cmp byte [ebp + 0x2c], cl
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x2c]
setne cl
add edx, ecx
mov dword [esp + 0x38], edi
mov ecx, eax
sub ecx, dword [esp + 0x24]
cmp edx, eax
jae 0x1011085e
mov edi, ecx
imul edi, ebx
cmp edx, eax
mov dword [esp + 0x38], edi
sbb eax, eax
and eax, ecx
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x28]
shl eax, 3
cmp byte [ebp + 0x2c], 0
mov dword [esp + 0x18], eax
jne 0x1011095b
lea eax, [eax + ebx*8]
push ebx
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1dc]
push 0
push eax
call fcn.10141bc0
mov eax, dword [ebp + 0x28]
add esp, 0xc
cmp eax, 0x80
jbe 0x101108b9
push str.mac_secret_length___sizeof_hmac_pad_
push 0x271
push str.._ssl_s3_cbc.c
call fcn.1006bf70
mov eax, dword [ebp + 0x28]
add esp, 0xc
push eax
push dword [esp + 0x60]
lea eax, [esp + 0x1e0]
push eax
call fcn.10141190
movaps xmm2, xmmword [str.6666666666666666jjjjjjjjjjjjjjjj_]
add esp, 0xc
xor eax, eax
nop word [eax + eax]
movups xmm0, xmmword [esp + eax + 0x1d8]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [esp + eax + 0x1d8], xmm1
movups xmm0, xmmword [esp + eax + 0x1e8]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [esp + eax + 0x1e8], xmm1
movups xmm0, xmmword [esp + eax + 0x1f8]
movaps xmm1, xmm2
pxor xmm0, xmm2
movups xmmword [esp + eax + 0x1f8], xmm0
movups xmm0, xmmword [esp + eax + 0x208]
pxor xmm1, xmm0
movups xmmword [esp + eax + 0x208], xmm1
add eax, 0x40
cmp eax, ebx
jb 0x101108e0
lea eax, [esp + 0x1d8]
push eax
lea eax, [esp + 0xb4]
push eax
call dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
add esp, 8
mov ecx, eax
shr ecx, 0x18
mov dword [esp + 0x3c], ecx
mov ecx, eax
shr ecx, 0x10
shr eax, 8
cmp byte [esp + 0x13], 0
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], eax
je 0x101109bc
lea eax, [esi - 4]
push eax
lea eax, [esp + 0x18c]
push 0
push eax
call fcn.10141bc0
mov eax, dword [esp + 0x48]
mov byte [esp + esi + 0x190], al
mov eax, dword [esp + 0x34]
mov byte [esp + esi + 0x191], al
mov eax, dword [esp + 0x38]
mov byte [esp + esi + 0x192], al
mov eax, dword [esp + 0x24]
mov byte [esp + esi + 0x193], al
jmp 0x101109f8
push esi
lea eax, [esp + 0x18c]
push 0
push eax
call fcn.10141bc0
mov eax, dword [esp + 0x48]
mov byte [esp + esi + 0x18f], al
mov eax, dword [esp + 0x34]
mov byte [esp + esi + 0x18e], al
mov eax, dword [esp + 0x38]
mov byte [esp + esi + 0x18d], al
mov eax, dword [esp + 0x24]
mov byte [esp + esi + 0x18c], al
add esp, 0xc
test edi, edi
je 0x10110b3f
cmp byte [ebp + 0x2c], 0
je 0x10110ab3
mov eax, dword [esp + 0x48]
cmp eax, ebx
jbe 0x10110e9e
push dword [esp + 0x44]
sub eax, ebx
mov dword [esp + 0x1c], eax
lea eax, [esp + 0xb4]
push eax
call dword [esp + 0x1c]
push dword [esp + 0x20]
mov eax, dword [esp + 0x50]
add eax, ebx
push eax
lea eax, [esp + 0x268]
push eax
call fcn.10141190
mov eax, ebx
sub eax, dword [esp + 0x2c]
push eax
push dword [esp + 0x4c]
lea eax, [esp + 0x274]
add eax, dword [esp + 0x34]
push eax
call fcn.10141190
lea eax, [esp + 0x278]
push eax
lea eax, [esp + 0xd4]
push eax
call dword [esp + 0x3c]
xor edx, edx
mov eax, edi
div ebx
add esp, 0x28
dec eax
cmp eax, 1
jbe 0x10110b3f
mov esi, dword [esp + 0x34]
lea edi, [eax - 1]
sub esi, dword [esp + 0x18]
add esi, ebx
lea eax, [esp + 0xb0]
push esi
push eax
call dword [esp + 0x1c]
add esp, 8
add esi, ebx
sub edi, 1
jne 0x10110a97
jmp 0x10110b37
mov ecx, dword [esp + 0x44]
mov eax, dword [ecx + 8]
movq xmm0, qword [ecx]
mov dword [esp + 0x260], eax
mov al, byte [ecx + 0xc]
mov byte [esp + 0x264], al
lea eax, [ebx - 0xd]
push eax
push dword [esp + 0x38]
lea eax, [esp + 0x26d]
movq qword [esp + 0x260], xmm0
push eax
call fcn.10141190
lea eax, [esp + 0x264]
push eax
lea eax, [esp + 0xc0]
push eax
call dword [esp + 0x28]
xor edx, edx
mov eax, edi
div ebx
add esp, 0x14
cmp eax, 1
jbe 0x10110b3f
mov esi, dword [esp + 0x34]
lea edi, [eax - 1]
add esi, 0xfffffff3
add esi, ebx
nop dword [eax + eax]
lea eax, [esp + 0xb0]
push esi
push eax
call dword [esp + 0x1c]
add esp, 8
add esi, ebx
sub edi, 1
jne 0x10110b20
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x38]
push 0x40
lea eax, [esp + 0x19c]
push 0
push eax
call fcn.10141bc0
mov eax, dword [esp + 0x30]
add esp, 0xc
mov ecx, dword [esp + 0x50]
add eax, ecx
mov dword [esp + 0x78], eax
cmp ecx, eax
ja 0x10110dea
mov eax, dword [esp + 0x40]
neg dword [esp + 0x40]
lea edx, [eax + 1]
shr eax, 0x1f
mov dword [esp + 0x18], eax
mov eax, edx
shr eax, 0x1f
mov dword [esp + 0x70], eax
mov eax, ebx
sub eax, esi
mov dword [esp + 0x6c], edx
mov dword [esp + 0x74], eax
sub esi, ebx
lea eax, [esp + 0x188]
add eax, esi
mov dword [esp + 0x38], eax
nop
mov eax, ecx
xor esi, esi
xor eax, dword [esp + 0x68]
lea edx, [eax - 1]
not eax
shr eax, 0x1f
shr edx, 0x1f
and dl, al
mov eax, ecx
xor eax, dword [esp + 0x64]
neg dl
mov dword [esp + 0x2c], edx
lea ecx, [eax - 1]
not eax
shr ecx, 0x1f
shr eax, 0x1f
and cl, al
neg cl
movsx eax, cl
mov dword [esp + 0x3c], ecx
not cl
or cl, dl
mov byte [esp + 0x13], cl
mov ecx, dword [esp + 0x40]
movd xmm0, eax
mov eax, dword [esp + 0x38]
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
pshufd xmm0, xmm0, 0
movaps xmmword [esp + 0xa0], xmm0
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], eax
mov edx, dword [esp + 0x48]
xor bl, bl
cmp edi, edx
jae 0x10110c18
mov eax, dword [esp + 0x44]
jmp 0x10110c27
mov eax, dword [ebp + 0x20]
add eax, edx
cmp edi, eax
jae 0x10110c2a
mov eax, dword [esp + 0x34]
sub eax, edx
mov bl, byte [eax + edi]
mov eax, dword [esp + 0x18]
mov edx, esi
shr ecx, 0x1f
inc edi
xor cl, al
shr edx, 0x1f
xor al, dl
or cl, al
mov eax, dword [esp + 0x2c]
xor cl, dl
movzx eax, al
dec cl
movzx ecx, cl
and ecx, eax
mov dword [esp + 0x54], ecx
not ecx
mov dword [esp + 0x1c], ecx
mov ecx, esi
sub ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x1c]
and al, bl
shr ecx, 0x1f
mov ebx, dword [esp + 0x54]
and bl, 0x80
or bl, al
mov eax, dword [esp + 0x70]
xor cl, al
xor al, dl
or cl, al
xor cl, dl
dec cl
and cl, byte [esp + 0x2c]
not cl
and cl, byte [esp + 0x13]
and bl, cl
cmp esi, dword [esp + 0x74]
jb 0x10110cb2
mov eax, dword [esp + 0x3c]
movzx eax, al
mov dword [esp + 0x54], eax
not eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x54]
and cl, byte [eax]
mov eax, dword [esp + 0x1c]
and bl, al
or bl, cl
mov ecx, dword [esp + 0x28]
inc dword [esp + 0x24]
inc ecx
mov byte [esp + esi + 0x2d8], bl
inc esi
mov ebx, dword [esp + 0x4c]
mov dword [esp + 0x28], ecx
cmp esi, ebx
jb 0x10110c08
lea eax, [esp + 0x2d8]
push eax
lea eax, [esp + 0xb4]
push eax
call dword [esp + 0x1c]
lea eax, [esp + 0x2e0]
push eax
lea eax, [esp + 0xbc]
push eax
call dword [esp + 0x40]
mov esi, dword [esp + 0x30]
add esp, 0x10
xor eax, eax
cmp esi, 0x40
jb 0x10110dab
movaps xmm2, xmmword [esp + 0xa0]
mov ecx, esi
and ecx, 0xffffffc0
nop word [eax + eax]
movups xmm0, xmmword [esp + eax + 0x198]
movups xmm1, xmmword [esp + eax + 0x2d8]
pand xmm1, xmm2
por xmm1, xmm0
movups xmmword [esp + eax + 0x198], xmm1
movups xmm0, xmmword [esp + eax + 0x1a8]
movups xmm1, xmmword [esp + eax + 0x2e8]
pand xmm1, xmm2
por xmm1, xmm0
movups xmmword [esp + eax + 0x1a8], xmm1
movups xmm0, xmmword [esp + eax + 0x1b8]
movups xmm1, xmmword [esp + eax + 0x2f8]
pand xmm1, xmm2
por xmm1, xmm0
movups xmmword [esp + eax + 0x1b8], xmm1
movups xmm1, xmmword [esp + eax + 0x308]
movups xmm0, xmmword [esp + eax + 0x1c8]
pand xmm1, xmm2
por xmm1, xmm0
movups xmmword [esp + eax + 0x1c8], xmm1
add eax, 0x40
cmp eax, ecx
jb 0x10110d20
cmp eax, esi
jae 0x10110dd5
mov edx, dword [esp + 0x3c]
nop dword [eax]
nop word [eax + eax]
mov cl, byte [esp + eax + 0x2d8]
and cl, dl
or byte [esp + eax + 0x198], cl
inc eax
cmp eax, esi
jb 0x10110dc0
mov ecx, dword [esp + 0x50]
inc ecx
mov dword [esp + 0x50], ecx
cmp ecx, dword [esp + 0x78]
jbe 0x10110ba0
jmp 0x10110dee
mov esi, dword [esp + 0x20]
lea eax, [esp + 0x88]
push eax
call fcn.1005bb70
mov eax, dword [esp + 0x64]
push 0
push dword [eax]
lea eax, [esp + 0x94]
push eax
call fcn.1005b620
add esp, 0x10
test eax, eax
jle 0x10110e8e
cmp byte [ebp + 0x2c], 0
je 0x10110eb5
mov edi, dword [esp + 0x58]
lea eax, [esp + 0x1d8]
push edi
push 0x5c
push eax
call fcn.10141bc0
push dword [ebp + 0x28]
lea eax, [esp + 0x98]
push dword [esp + 0x6c]
push eax
call fcn.1005b7c0
add esp, 0x18
test eax, eax
jle 0x10110e8e
push edi
lea eax, [esp + 0x1dc]
push eax
lea eax, [esp + 0x90]
push eax
call fcn.1005b7c0
add esp, 0xc
test eax, eax
jle 0x10110e8e
push esi
lea eax, [esp + 0x19c]
push eax
lea eax, [esp + 0x90]
push eax
call fcn.1005b7c0
add esp, 0xc
test eax, eax
jg 0x10110f65
lea eax, [esp + 0x88]
push eax
call fcn.1005b7d0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x350]
xor ecx, esp
call fcn.1013e455
mov esp, ebp
pop ebp
ret
movaps xmm2, xmmword [0x101971d0]
xor eax, eax
nop
movups xmm0, xmmword [esp + eax + 0x1d8]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [esp + eax + 0x1d8], xmm1
movups xmm0, xmmword [esp + eax + 0x1e8]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [esp + eax + 0x1e8], xmm1
movups xmm0, xmmword [esp + eax + 0x1f8]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [esp + eax + 0x1f8], xmm1
movups xmm0, xmmword [esp + eax + 0x208]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [esp + eax + 0x208], xmm1
add eax, 0x40
cmp eax, ebx
jb 0x10110ec0
push ebx
lea eax, [esp + 0x1dc]
push eax
lea eax, [esp + 0x90]
push eax
call fcn.1005b7c0
add esp, 0xc
test eax, eax
jle 0x10110e8e
push esi
lea eax, [esp + 0x19c]
push eax
lea eax, [esp + 0x90]
push eax
call fcn.1005b7c0
add esp, 0xc
test eax, eax
jle 0x10110e8e
lea eax, [esp + 0x84]
push eax
push dword [esp + 0x80]
lea eax, [esp + 0x90]
push eax
call fcn.1005b550
mov ecx, dword [esp + 0x8c]
add esp, 0xc
test ecx, ecx
je 0x10110f98
mov eax, dword [esp + 0x84]
mov dword [ecx], eax
lea eax, [esp + 0x88]
push eax
call fcn.1005b7d0
mov ecx, dword [esp + 0x360]
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1013e455
mov esp, ebp
pop ebp
ret