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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
mov eax, 0x364
call fcn.006839e0
mov eax, dword [0x7b088c]
xor eax, esp
mov dword [esp + 0x360], 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 + 0x84], eax
mov ebx, 0x40
mov eax, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0x10]
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 0x18]
push edi
mov dword [esp + 0x34], eax
mov edi, 8
mov eax, dword [ebp + 0x24]
mov dword [esp + 0x90], esi
mov dword [esp + 0x60], eax
mov dword [esp + 0x50], ebx
mov dword [esp + 0x5c], 0x28
mov dword [esp + 0x24], edi
mov byte [esp + 0x1b], 1
jb 0x5d7600
push str.data_plus_mac_plus_padding_size___10241024
push 0x1b3
push str.._ssl_s3_cbc.c
call fcn.0056e560
add esp, 0xc
push dword [esp + 0x58]
call fcn.0059c430
push eax
call fcn.0059c4c0
add esp, 8
cmp eax, 0x2a0
jg 0x5d76b0
je 0x5d7689
cmp eax, 4
je 0x5d7654
cmp eax, 0x40
jne 0x5d76c1
lea eax, [esp + 0xc0]
push eax
call fcn.0059d8b0
mov dword [esp + 0x34], 0x5d8130
mov ecx, 0x14
mov dword [esp + 0x24], 0x59d8f0
jmp 0x5d7764
lea eax, [esp + 0xc0]
push eax
call fcn.0054bbd0
mov edx, 0x30
mov dword [esp + 0x34], 0x5d80b0
mov dword [esp + 0x24], 0x54bc10
mov ecx, 0x10
mov dword [esp + 0x60], edx
mov byte [esp + 0x1f], 0
jmp 0x5d7769
lea eax, [esp + 0xc0]
push eax
call fcn.0059def0
mov dword [esp + 0x34], 0x5d81d0
mov ecx, 0x20
mov dword [esp + 0x24], 0x59df50
jmp 0x5d7764
sub eax, 0x2a1
je 0x5d7730
sub eax, 1
je 0x5d771f
sub eax, 1
je 0x5d76fb
push 0x6f9028
push 0x1e9
push str.._ssl_s3_cbc.c
call fcn.0056e560
add esp, 0xc
test esi, esi
je 0x5d7e44
mov dword [esi], 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x360]
xor ecx, esp
call fcn.00682c16
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0xc0]
push eax
call fcn.0059dad0
mov dword [esp + 0x34], 0x5d81d0
mov ecx, 0x1c
mov dword [esp + 0x24], 0x59df50
jmp 0x5d7764
lea eax, [esp + 0xc0]
push eax
call fcn.0059e7c0
mov ecx, ebx
jmp 0x5d7742
lea eax, [esp + 0xc0]
push eax
call fcn.0059e0f0
mov ecx, 0x30
mov edi, 0x10
mov dword [esp + 0x24], 0x59e870
mov ebx, 0x80
mov dword [esp + 0x28], edi
mov dword [esp + 0x54], ebx
mov dword [esp + 0x34], 0x5d82c0
mov edx, 0x28
add esp, 4
mov dword [esp + 0x2c], ecx
cmp byte [ebp + 0x2c], 0
mov eax, 0xd
mov dword [esp + 0x4c], eax
je 0x5d778b
mov eax, dword [ebp + 0x28]
add eax, 0xb
add eax, edx
mov dword [esp + 0x4c], 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 + 0x3c], 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 + 0x1c], eax
xor eax, eax
mov esi, dword [esp + 0x24]
mov dword [esp + 0x48], eax
mov eax, ecx
div ebx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x44], edx
xor edx, edx
mov dword [esp + 0x64], eax
lea eax, [ecx + esi]
div ebx
mov edx, dword [esp + 0x3c]
xor ecx, ecx
cmp byte [ebp + 0x2c], cl
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x1c]
setne cl
add ecx, edx
mov dword [esp + 0x38], edi
cmp eax, ecx
jbe 0x5d780c
sub eax, edx
mov edi, eax
mov dword [esp + 0x48], eax
imul edi, ebx
mov dword [esp + 0x38], edi
mov eax, dword [esp + 0x54]
shl eax, 3
cmp byte [ebp + 0x2c], 0
mov dword [esp + 0x1c], eax
jne 0x5d78c9
lea eax, [eax + ebx*8]
push ebx
mov dword [esp + 0x20], eax
lea eax, [esp + 0x1ec]
push 0
push eax
call fcn.00689b00
mov eax, dword [ebp + 0x28]
add esp, 0xc
cmp eax, 0x80
jbe 0x5d785f
push str.mac_secret_length___sizeof_hmac_pad_
push 0x242
push str.._ssl_s3_cbc.c
call fcn.0056e560
mov eax, dword [ebp + 0x28]
add esp, 0xc
push eax
push dword [esp + 0x64]
lea eax, [esp + 0x1f0]
push eax
call fcn.00689000
movaps xmm2, xmmword [str.6666666666666666jjjjjjjjjjjjjjjj.cryptopqueuepqueue.c]
add esp, 0xc
xor eax, eax
nop dword [eax]
movups xmm0, xmmword [esp + eax + 0x1e8]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [esp + eax + 0x1e8], xmm1
movups xmm0, xmmword [esp + eax + 0x1f8]
pxor xmm0, xmm2
movups xmmword [esp + eax + 0x1f8], xmm0
add eax, 0x20
cmp eax, ebx
jb 0x5d7880
lea eax, [esp + 0x1e8]
push eax
lea eax, [esp + 0xc4]
push eax
call dword [esp + 0x28]
add esp, 8
cmp byte [esp + 0x1b], 0
je 0x5d7917
lea eax, [esi - 4]
push eax
lea eax, [esp + 0x19c]
push 0
push eax
call fcn.00689b00
mov ecx, dword [esp + 0x28]
add esp, 0xc
mov eax, ecx
mov byte [esp + esi + 0x197], cl
shr eax, 0x18
mov byte [esp + esi + 0x194], al
mov eax, ecx
shr eax, 0x10
mov byte [esp + esi + 0x195], al
mov eax, ecx
shr eax, 8
mov byte [esp + esi + 0x196], al
jmp 0x5d7959
push esi
lea eax, [esp + 0x19c]
push 0
push eax
call fcn.00689b00
mov ecx, dword [esp + 0x28]
add esp, 0xc
mov eax, ecx
mov byte [esp + esi + 0x190], cl
shr eax, 0x18
mov byte [esp + esi + 0x193], al
mov eax, ecx
shr eax, 0x10
mov byte [esp + esi + 0x192], al
mov eax, ecx
shr eax, 8
mov byte [esp + esi + 0x191], al
test edi, edi
je 0x5d7a93
cmp byte [ebp + 0x2c], 0
je 0x5d7a0c
mov eax, dword [esp + 0x4c]
push dword [esp + 0x40]
sub eax, ebx
mov dword [esp + 0x20], eax
lea eax, [esp + 0xc4]
push eax
call dword [esp + 0x28]
push dword [esp + 0x24]
mov eax, dword [esp + 0x4c]
add eax, ebx
push eax
lea eax, [esp + 0x278]
push eax
call fcn.00689000
mov eax, ebx
sub eax, dword [esp + 0x30]
push eax
push dword [esp + 0x4c]
lea eax, [esp + 0x284]
add eax, dword [esp + 0x38]
push eax
call fcn.00689000
lea eax, [esp + 0x288]
push eax
lea eax, [esp + 0xe4]
push eax
call dword [esp + 0x48]
xor edx, edx
mov eax, edi
div ebx
add esp, 0x28
dec eax
cmp eax, 1
jbe 0x5d7a93
mov esi, dword [esp + 0x34]
lea edi, [eax - 1]
sub esi, dword [esp + 0x1c]
add esi, ebx
nop dword [eax]
lea eax, [esp + 0xc0]
push esi
push eax
call dword [esp + 0x28]
add esp, 8
add esi, ebx
sub edi, 1
jne 0x5d79f0
jmp 0x5d7a8b
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx + 8]
movq xmm0, qword [ecx]
mov dword [esp + 0x270], eax
mov al, byte [ecx + 0xc]
mov byte [esp + 0x274], al
lea eax, [ebx - 0xd]
push eax
push dword [esp + 0x38]
lea eax, [esp + 0x27d]
movq qword [esp + 0x270], xmm0
push eax
call fcn.00689000
lea eax, [esp + 0x274]
push eax
lea eax, [esp + 0xd0]
push eax
call dword [esp + 0x34]
xor edx, edx
mov eax, edi
div ebx
add esp, 0x14
cmp eax, 1
jbe 0x5d7a93
mov esi, dword [esp + 0x34]
lea edi, [eax - 1]
add esi, 0xfffffff3
add esi, ebx
lea eax, [esp + 0xc0]
push esi
push eax
call dword [esp + 0x28]
add esp, 8
add esi, ebx
sub edi, 1
jne 0x5d7a74
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x38]
push 0x40
lea eax, [esp + 0x1ac]
push 0
push eax
call fcn.00689b00
mov eax, dword [esp + 0x48]
add esp, 0xc
mov ecx, dword [esp + 0x48]
add eax, ecx
mov dword [esp + 0x88], eax
cmp ecx, eax
ja 0x5d7d0d
mov edx, dword [esp + 0x44]
lea eax, [edx + 1]
not edx
not eax
sar edx, 0x1f
sar eax, 0x1f
mov dword [esp + 0x78], eax
mov eax, ebx
sub eax, esi
mov dword [esp + 0x70], edx
mov dword [esp + 0x80], eax
sub esi, ebx
mov eax, dword [esp + 0x44]
neg eax
mov dword [esp + 0x54], eax
lea eax, [esp + 0x198]
add eax, esi
mov dword [esp + 0x6c], eax
nop dword [eax]
mov eax, ecx
xor esi, esi
xor eax, dword [esp + 0x64]
lea edx, [eax - 1]
not eax
sar eax, 0x1f
sar edx, 0x1f
and dl, al
mov eax, ecx
xor eax, dword [esp + 0x68]
mov dword [esp + 0x7c], edx
lea ecx, [eax - 1]
not eax
sar ecx, 0x1f
sar eax, 0x1f
and cl, al
movsx eax, cl
mov dword [esp + 0x24], ecx
not cl
or cl, dl
mov byte [esp + 0x2b], cl
mov ecx, dword [esp + 0x54]
movd xmm0, eax
punpcklbw xmm0, xmm0
movzx eax, dl
punpcklwd xmm0, xmm0
pshufd xmm0, xmm0, 0
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x6c]
movaps xmmword [esp + 0xb0], xmm0
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x1c], eax
nop dword [eax + eax]
mov edx, dword [esp + 0x4c]
mov byte [esp + 0x1b], 0
cmp edi, edx
jae 0x5d7b83
mov eax, dword [esp + 0x40]
jmp 0x5d7b92
mov eax, dword [ebp + 0x20]
add eax, edx
cmp edi, eax
jae 0x5d7b99
mov eax, dword [esp + 0x34]
sub eax, edx
mov al, byte [eax + edi]
mov byte [esp + 0x1b], al
mov eax, esi
mov edx, esi
xor eax, dword [esp + 0x44]
inc edi
or eax, ecx
sar edx, 0x1f
not eax
movzx ecx, dl
and dl, byte [esp + 0x78]
sar eax, 0x1f
movzx ebx, al
mov eax, dword [esp + 0x70]
movzx eax, al
and ecx, eax
mov dword [esp + 0x38], edi
mov eax, dword [esp + 0x44]
or ebx, ecx
and ebx, dword [esp + 0x74]
inc eax
mov ecx, esi
sub ecx, eax
xor eax, esi
or ecx, eax
mov al, bl
not ecx
not al
and al, byte [esp + 0x1b]
and bl, 0x80
sar ecx, 0x1f
or al, bl
or cl, dl
and cl, byte [esp + 0x7c]
not cl
and cl, al
and cl, byte [esp + 0x2b]
mov dword [esp + 0x84], ecx
cmp esi, dword [esp + 0x80]
jb 0x5d7c22
mov eax, dword [esp + 0x24]
movzx ecx, al
mov eax, dword [esp + 0x1c]
mov dl, cl
not dl
and dl, byte [esp + 0x84]
mov al, byte [eax]
and cl, al
or cl, dl
inc dword [esp + 0x1c]
mov ebx, dword [esp + 0x50]
mov byte [esp + esi + 0x2e8], cl
inc esi
mov ecx, dword [esp + 0x3c]
inc ecx
mov dword [esp + 0x3c], ecx
cmp esi, ebx
jb 0x5d7b70
lea eax, [esp + 0x2e8]
push eax
lea eax, [esp + 0xc4]
push eax
call dword [esp + 0x28]
lea eax, [esp + 0x2f0]
push eax
lea eax, [esp + 0xcc]
push eax
call dword [esp + 0x40]
mov esi, dword [esp + 0x3c]
add esp, 0x10
xor eax, eax
cmp esi, 0x20
jb 0x5d7cd7
movaps xmm2, xmmword [esp + 0xb0]
mov ecx, esi
and ecx, 0xffffffe0
nop word [eax + eax]
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 xmm1, xmmword [esp + eax + 0x2f8]
movups xmm0, xmmword [esp + eax + 0x1b8]
pand xmm1, xmm2
por xmm1, xmm0
movups xmmword [esp + eax + 0x1b8], xmm1
add eax, 0x20
cmp eax, ecx
jb 0x5d7c90
cmp eax, esi
jae 0x5d7cf5
mov edx, dword [esp + 0x24]
nop
mov cl, byte [esp + eax + 0x2e8]
and cl, dl
or byte [esp + eax + 0x1a8], cl
inc eax
cmp eax, esi
jb 0x5d7ce0
mov ecx, dword [esp + 0x48]
inc ecx
mov dword [esp + 0x48], ecx
cmp ecx, dword [esp + 0x88]
jbe 0x5d7b00
jmp 0x5d7d11
mov esi, dword [esp + 0x2c]
lea eax, [esp + 0x98]
push eax
call fcn.0058fde0
mov eax, dword [esp + 0x5c]
push 0
push dword [eax]
lea eax, [esp + 0xa4]
push eax
call fcn.0058f9d0
add esp, 0x10
cmp byte [ebp + 0x2c], 0
je 0x5d7d95
mov edi, dword [esp + 0x5c]
lea eax, [esp + 0x1e8]
push edi
push 0x5c
push eax
call fcn.00689b00
push dword [ebp + 0x28]
lea eax, [esp + 0xa8]
push dword [esp + 0x70]
push eax
call fcn.0058fb70
push edi
lea eax, [esp + 0x204]
push eax
lea eax, [esp + 0xb8]
push eax
call fcn.0058fb70
push esi
lea eax, [esp + 0x1d0]
push eax
lea eax, [esp + 0xc4]
push eax
call fcn.0058fb70
add esp, 0x30
jmp 0x5d7e01
movaps xmm2, xmmword [0x739010]
xor eax, eax
nop
movups xmm0, xmmword [esp + eax + 0x1e8]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [esp + eax + 0x1e8], xmm1
movups xmm0, xmmword [esp + eax + 0x1f8]
pxor xmm0, xmm2
movups xmmword [esp + eax + 0x1f8], xmm0
add eax, 0x20
cmp eax, ebx
jb 0x5d7da0
push ebx
lea eax, [esp + 0x1ec]
push eax
lea eax, [esp + 0xa0]
push eax
call fcn.0058fb70
push esi
lea eax, [esp + 0x1b8]
push eax
lea eax, [esp + 0xac]
push eax
call fcn.0058fb70
add esp, 0x18
lea eax, [esp + 0x94]
push eax
push dword [esp + 0x90]
lea eax, [esp + 0xa0]
push eax
call fcn.0058f900
mov ecx, dword [esp + 0x9c]
add esp, 0xc
test ecx, ecx
je 0x5d7e34
mov eax, dword [esp + 0x94]
mov dword [ecx], eax
lea eax, [esp + 0x98]
push eax
call fcn.0058fb80
add esp, 4
mov ecx, dword [esp + 0x36c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00682c16
mov esp, ebp
pop ebp
ret