Function at 0x62a500
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x40
call fcn.00655180
push ebx
push ebp
mov ebp, dword [esp + 0x4c]
push esi
mov esi, dword [esp + 0x54]
push edi
push ebp
mov dword [esp + 0x40], 0
mov dword [esp + 0x24], 0
call fcn.00454b30
xor edi, edi
mov dword [esp + 0x28], eax
push eax
mov dword [esp + 0x30], 0
xor ebx, ebx
mov dword [esp + 0x24], edi
call fcn.00516330
add esp, 8
test eax, eax
jne 0x62a56d
push esi
call fcn.005139d0
push ebp
call fcn.00460890
push ebp
call fcn.0057bd70
add esp, 0xc
mov dword [esp + 0x18], ebx
xor esi, esi
jmp 0x62a614
push eax
call fcn.0051f4d0
add eax, 7
cdq
and edx, 7
push esi
lea ebx, [edx + eax]
sar ebx, 3
call fcn.005139d0
push ebp
mov dword [esp + 0x38], eax
xor esi, esi
mov dword [esp + 0x24], edi
call fcn.00460890
push ebp
mov dword [esp + 0x48], eax
call fcn.0057bd70
add esp, 0x10
mov dword [esp + 0x40], eax
test ebx, ebx
je 0x62a612
mov ebp, dword [esp + 0x2c]
test ebp, ebp
jle 0x62a612
mov eax, dword [esp + 0x68]
push dword [eax]
push 0xff
push dword [esp + 0x6c]
call fcn.00656e20
push 0x6fe588
push dword [esp + 0x70]
lea eax, [esp + 0x70]
push eax
push esi
call fcn.00544650
mov edi, eax
add esp, 0x1c
mov dword [esp + 0x10], edi
test edi, edi
jne 0x62a690
call fcn.00514490
push str.ossl_sm2_decrypt
push 0x134
push str.crypto_sm2_sm2_crypt.c
call fcn.00514590
push edi
push 0x64
push 0x35
call fcn.005146a0
add esp, 0x18
xor ebx, ebx
mov eax, dword [esp + 0x68]
push dword [eax]
push 0
push dword [esp + 0x6c]
call fcn.00656e20
add esp, 0xc
push 0x195
push str.crypto_sm2_sm2_crypt.c
push dword [esp + 0x20]
call fcn.0050ea40
push 0x196
push str.crypto_sm2_sm2_crypt.c
push dword [esp + 0x30]
call fcn.0050ea40
push 0x197
push str.crypto_sm2_sm2_crypt.c
push ebx
call fcn.0050ea40
push dword [esp + 0x4c]
call fcn.00579f20
push dword [esp + 0x48]
call fcn.00560dd0
push 0x6fe588
push edi
call fcn.005442a0
push esi
call fcn.00529150
mov eax, dword [esp + 0x74]
add esp, 0x38
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
mov ecx, dword [edi + 8]
cmp dword [ecx], ebp
je 0x62a6b9
call fcn.00514490
push str.ossl_sm2_decrypt
push 0x139
push str.crypto_sm2_sm2_crypt.c
call fcn.00514590
push 0
push 0x68
jmp 0x62a608
mov eax, dword [edi + 0xc]
mov ecx, dword [ecx + 8]
mov dword [esp + 0x4c], ecx
mov edi, dword [eax]
mov ebp, dword [eax + 8]
mov eax, dword [esp + 0x68]
mov dword [esp + 0x44], edi
cmp dword [eax], edi
jae 0x62a701
call fcn.00514490
push str.ossl_sm2_decrypt
push 0x141
push str.crypto_sm2_sm2_crypt.c
call fcn.00514590
push 0
push 0x6b
push 0x35
call fcn.005146a0
mov edi, dword [esp + 0x28]
jmp 0x62a60f
push dword [esp + 0x38]
call fcn.00560fb0
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
jne 0x62a745
call fcn.00514490
push str.ossl_sm2_decrypt
push 0x147
push str.crypto_sm2_sm2_crypt.c
call fcn.00514590
push 0
push 0x80003
push 0x35
call fcn.005146a0
mov edi, dword [esp + 0x28]
jmp 0x62a60f
push eax
call fcn.00561050
push dword [esp + 0x24]
call fcn.00560e60
push dword [esp + 0x28]
mov dword [esp + 0x3c], eax
call fcn.00560e60
add esp, 0xc
mov dword [esp + 0x34], eax
test eax, eax
jne 0x62a77d
call fcn.00514490
push str.ossl_sm2_decrypt
push 0x150
jmp 0x62a724
push 0x154
push str.crypto_sm2_sm2_crypt.c
push edi
call fcn.0050ec40
push 0x155
mov dword [esp + 0x28], eax
lea eax, [ebx + ebx]
push str.crypto_sm2_sm2_crypt.c
push eax
call fcn.0050ec40
push 0x156
push str.crypto_sm2_sm2_crypt.c
push dword [esp + 0x4c]
mov dword [esp + 0x40], eax
call fcn.0050ec40
add esp, 0x24
mov dword [esp + 0x14], eax
cmp dword [esp + 0x18], esi
je 0x62ac1c
cmp dword [esp + 0x1c], esi
je 0x62ac1c
test eax, eax
je 0x62ac1c
push dword [esp + 0x24]
call fcn.0057a380
mov ecx, eax
add esp, 4
mov dword [esp + 0x28], ecx
test ecx, ecx
jne 0x62a82b
call fcn.00514490
push str.ossl_sm2_decrypt
push 0x15d
push str.crypto_sm2_sm2_crypt.c
call fcn.00514590
push 0
push 0x80010
push 0x35
call fcn.005146a0
mov edi, dword [esp + 0x28]
add esp, 0x18
mov ebx, dword [esp + 0x14]
jmp 0x62a614
mov eax, dword [esp + 0x10]
push dword [esp + 0x20]
push dword [eax + 4]
push dword [eax]
push ecx
push dword [esp + 0x34]
call fcn.0057a4d0
add esp, 0x14
test eax, eax
je 0x62ac08
push dword [esp + 0x20]
push dword [esp + 0x58]
call fcn.005138f0
add esp, 4
push eax
mov eax, dword [esp + 0x30]
push eax
push 0
push eax
push dword [esp + 0x38]
call fcn.0057a240
add esp, 0x18
test eax, eax
je 0x62ac08
push dword [esp + 0x20]
push dword [esp + 0x38]
push dword [esp + 0x38]
push dword [esp + 0x34]
push dword [esp + 0x34]
call fcn.00579f50
add esp, 0x14
test eax, eax
je 0x62ac08
push ebx
push dword [esp + 0x20]
push dword [esp + 0x38]
call fcn.0051ee40
add esp, 0xc
test eax, eax
js 0x62abe3
mov eax, dword [esp + 0x1c]
add eax, ebx
push ebx
push eax
push dword [esp + 0x3c]
mov dword [esp + 0x54], eax
call fcn.0051ee40
add esp, 0xc
test eax, eax
js 0x62abe3
push dword [esp + 0x40]
lea eax, [ebx + ebx]
push dword [esp + 0x3c]
push dword [esp + 0x60]
push 0
push 0
push eax
push dword [esp + 0x34]
push edi
push dword [esp + 0x38]
call fcn.0057e590
add esp, 0x24
test eax, eax
je 0x62abe3
push edi
push dword [esp + 0x1c]
call fcn.0062a3c0
add esp, 8
test eax, eax
je 0x62a937
call fcn.00514490
push str.ossl_sm2_decrypt
push 0x173
push str.crypto_sm2_sm2_crypt.c
call fcn.00514590
push 0
push 0x68
jmp 0x62a814
xor edx, edx
mov dword [esp + 0x24], ebx
test edi, edi
je 0x62aab6
mov dword [esp + 0x24], ebx
cmp edi, 8
jb 0x62aa91
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x64]
dec ecx
add ecx, edi
lea eax, [esi - 1]
add eax, edi
cmp dword [esp + 0x64], eax
ja 0x62a974
mov dword [esp + 0x24], ebx
cmp ecx, esi
jae 0x62aa91
lea eax, [ebp - 1]
add eax, edi
cmp dword [esp + 0x64], eax
ja 0x62a98b
mov dword [esp + 0x24], ebx
cmp ecx, ebp
jae 0x62aa91
cmp edi, 0x40
jb 0x62aa47
mov eax, edi
and eax, 0x8000003f
jns 0x62a9a2
dec eax
or eax, 0xffffffc0
inc eax
mov ecx, edi
mov dword [esp + 0x24], ebx
sub ecx, eax
mov edi, ebp
sub edi, esi
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x64]
lea eax, [esi + 0x10]
mov ebx, dword [esp + 0x40]
add ecx, 0x20
mov dword [esp + 0x38], edi
mov edi, dword [esp + 0x64]
sub edi, esi
mov esi, ebp
sub esi, dword [esp + 0x64]
mov dword [esp + 0x30], esi
mov esi, dword [esp + 0x38]
mov dword [esp + 0x34], edi
nop dword [eax]
movups xmm0, xmmword [eax - 0x10]
mov edi, dword [esp + 0x34]
lea eax, [eax + 0x40]
movups xmm1, xmmword [edx + ebp]
lea ecx, [ecx + 0x40]
xorps xmm1, xmm0
movups xmmword [ecx - 0x60], xmm1
movups xmm0, xmmword [eax - 0x40]
movups xmm1, xmmword [esi + eax - 0x40]
xorps xmm1, xmm0
movups xmmword [edi + eax - 0x40], xmm1
mov edi, dword [esp + 0x30]
movups xmm0, xmmword [eax - 0x30]
movups xmm1, xmmword [edi + ecx - 0x40]
mov edi, dword [esp + 0x44]
xorps xmm1, xmm0
movups xmmword [ecx - 0x40], xmm1
movups xmm1, xmmword [edx + ebp + 0x30]
add edx, 0x40
movups xmm0, xmmword [eax - 0x20]
xorps xmm1, xmm0
movups xmmword [ecx - 0x30], xmm1
cmp edx, ebx
jne 0x62a9e0
mov esi, dword [esp + 0x18]
mov eax, edi
and al, 0x3f
cmp al, 8
jb 0x62aa8d
jmp 0x62aa4b
mov dword [esp + 0x24], ebx
mov eax, edi
and eax, reloc.WS2_32.dll_getsockopt
jns 0x62aa59
dec eax
or eax, 0xfffffff8
inc eax
mov ebx, dword [esp + 0x64]
mov ecx, edi
sub ecx, eax
lea eax, [edx + esi]
mov esi, ebp
sub esi, dword [esp + 0x18]
sub ebx, dword [esp + 0x18]
nop
movq xmm1, qword [eax + esi]
lea eax, [eax + 8]
movq xmm0, qword [eax - 8]
add edx, 8
xorps xmm1, xmm0
movq qword [ebx + eax - 8], xmm1
cmp edx, ecx
jne 0x62aa70
cmp edx, edi
je 0x62aab6
mov eax, dword [esp + 0x18]
mov esi, edi
mov ebx, dword [esp + 0x64]
sub ebp, eax
sub ebx, eax
sub esi, edx
lea ecx, [edx + eax]
mov al, byte [ecx + ebp]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
mov byte [ebx + ecx - 1], al
sub esi, 1
jne 0x62aaa4
call fcn.005291e0
mov esi, eax
test esi, esi
jne 0x62aae5
call fcn.00514490
push str.ossl_sm2_decrypt
push 0x17c
push str.crypto_sm2_sm2_crypt.c
call fcn.00514590
push esi
push 0x80006
jmp 0x62a814
push dword [esp + 0x58]
push esi
call fcn.00528b50
add esp, 8
test eax, eax
je 0x62abac
mov ebx, dword [esp + 0x24]
push ebx
push dword [esp + 0x20]
push esi
call fcn.00528bb0
add esp, 0xc
test eax, eax
je 0x62abac
push edi
push dword [esp + 0x68]
push esi
call fcn.00528bb0
add esp, 0xc
test eax, eax
je 0x62abac
push ebx
push dword [esp + 0x4c]
push esi
call fcn.00528bb0
mov ebx, dword [esp + 0x20]
add esp, 0xc
test eax, eax
je 0x62abb0
push 0
push ebx
push esi
call fcn.00528790
add esp, 0xc
test eax, eax
je 0x62abb0
push dword [esp + 0x2c]
push dword [esp + 0x50]
push ebx
call fcn.00401390
add esp, 0xc
test eax, eax
je 0x62ab95
call fcn.00514490
push str.ossl_sm2_decrypt
push 0x18a
push str.crypto_sm2_sm2_crypt.c
call fcn.00514590
push 0
push 0x66
push 0x35
call fcn.005146a0
mov edi, dword [esp + 0x28]
add esp, 0x18
jmp 0x62a614
mov eax, dword [esp + 0x68]
mov dword [esp + 0x3c], 1
mov dword [eax], edi
mov edi, dword [esp + 0x10]
jmp 0x62a628
mov ebx, dword [esp + 0x14]
call fcn.00514490
push str.ossl_sm2_decrypt
push 0x185
push str.crypto_sm2_sm2_crypt.c
call fcn.00514590
push 0
push 0x80006
push 0x35
call fcn.005146a0
mov edi, dword [esp + 0x28]
add esp, 0x18
jmp 0x62a614
call fcn.00514490
push str.ossl_sm2_decrypt
push 0x16e
push str.crypto_sm2_sm2_crypt.c
call fcn.00514590
push 0
push 0xc0103
jmp 0x62a814
call fcn.00514490
push str.ossl_sm2_decrypt
push 0x166
jmp 0x62a803
mov edi, dword [esp + 0x10]
mov ebx, eax
jmp 0x62a614