Function at 0x733b60
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x44
push dword [esp + 0x58]
call fcn.005a17e0
add esp, 4
mov dword [esp + 0x1c], eax
push eax
call fcn.005a2ed0
add esp, 4
mov dword [esp + 0x20], 0
mov ecx, 0
test eax, eax
je 0x733baa
push eax
call fcn.00589790
add esp, 4
mov ecx, eax
add eax, 7
add ecx, 0xe
test eax, eax
cmovns ecx, eax
sar ecx, 3
mov dword [esp + 0x18], ecx
mov ebx, dword [esp + 0x6c]
mov esi, dword [esp + 0x68]
push dword [esp + 0x5c]
call fcn.005c4cc0
add esp, 4
mov ebp, eax
mov edi, dword [esp + 0x58]
push edi
call fcn.005a17b0
add esp, 4
mov dword [esp + 0x30], eax
push edi
mov edi, dword [esp + 0x1c]
call fcn.005a17c0
add esp, 4
test edi, edi
sete dl
mov dword [esp + 0x24], ebp
test ebp, ebp
setle cl
or cl, dl
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 0x14], 0
mov dword [esp + 4], 0
mov ebp, 0
jne 0x733d07
mov dword [esp + 0x40], eax
mov ebp, dword [esp + 0x64]
push dword [ebx]
push 0xff
push esi
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
add esp, 0xc
lea eax, [esp + 0x60]
push 0xa6af7c
push ebp
push eax
push 0
call fcn.00575ec0
add esp, 0x10
test eax, eax
je 0x733c94
mov edx, dword [eax + 8]
mov ebx, 0x68
mov esi, 0x139
mov ecx, dword [esp + 0x24]
cmp dword [edx], ecx
mov dword [esp + 0x20], eax
jne 0x733cb0
mov ecx, dword [eax + 0xc]
mov ebx, dword [ecx]
mov esi, dword [esp + 0x6c]
cmp dword [esi], ebx
jae 0x733d94
mov dword [esp + 0x10], 0
mov ebx, 0x6b
mov esi, 0x141
jmp 0x733cb8
mov dword [esp + 0x10], 0
mov ebx, 0x64
mov esi, 0x134
mov dword [esp + 0x20], 0
jmp 0x733cb8
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 0x14], 0
mov dword [esp + 4], 0
xor ebp, ebp
call fcn.005b7120
push str.ossl_sm2_decrypt
push esi
push str.crypto_sm2_sm2_crypt.c
call fcn.005b7220
add esp, 0xc
push 0
push ebx
push 0x35
call fcn.005b7310
add esp, 0xc
mov esi, dword [esp + 0x68]
mov ebx, dword [esp + 0x6c]
push dword [ebx]
push 0
push esi
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
add esp, 0xc
xor esi, esi
push 0x195
push str.crypto_sm2_sm2_crypt.c
push dword [esp + 0xc]
call fcn.005dcbc0
add esp, 0xc
push 0x196
push str.crypto_sm2_sm2_crypt.c
push dword [esp + 0x18]
call fcn.005dcbc0
add esp, 0xc
push 0x197
push str.crypto_sm2_sm2_crypt.c
push dword [esp + 0x14]
call fcn.005dcbc0
add esp, 0xc
push dword [esp + 8]
call fcn.005a2500
add esp, 4
push dword [esp + 0x14]
call fcn.00586030
add esp, 4
push 0xa6af7c
push dword [esp + 0x24]
call fcn.005787c0
add esp, 8
push ebp
call fcn.005b9f60
add esp, 4
mov eax, esi
add esp, 0x44
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ecx + 8]
mov dword [esp + 0x2c], eax
mov ebp, dword [edx + 8]
push dword [esp + 0x30]
call fcn.00585f70
add esp, 4
test eax, eax
je 0x733e6a
mov dword [esp], ebx
push eax
mov ebx, eax
call fcn.00586200
add esp, 4
push ebx
call fcn.005863b0
add esp, 4
mov dword [esp + 0x3c], eax
mov dword [esp + 0x14], ebx
push ebx
call fcn.005863b0
add esp, 4
test eax, eax
je 0x733e91
mov dword [esp + 0x28], eax
mov dword [esp + 0x34], ebp
push 0x154
push str.crypto_sm2_sm2_crypt.c
push dword [esp + 8]
call fcn.005dca40
add esp, 0xc
mov ebp, eax
lea eax, [edi + edi]
push 0x155
push str.crypto_sm2_sm2_crypt.c
mov dword [esp + 0x40], eax
push eax
call fcn.005dca40
add esp, 0xc
mov ebx, eax
push 0x156
push str.crypto_sm2_sm2_crypt.c
push dword [esp + 0x2c]
call fcn.005dca40
add esp, 0xc
mov dword [esp + 4], ebp
test ebp, ebp
sete dl
mov dword [esp + 0x10], ebx
test ebx, ebx
sete cl
or cl, dl
mov dword [esp + 0xc], eax
test eax, eax
sete al
or al, cl
je 0x733ec2
mov dword [esp + 8], 0
xor ebp, ebp
mov ebx, esi
mov esi, dword [esp + 0x68]
jmp 0x733d07
mov dword [esp + 0x10], 0
mov esi, 0x147
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 0x14], 0
jmp 0x733eae
mov dword [esp + 0x10], 0
mov esi, 0x150
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
xor ebp, ebp
mov ebx, 0x80003
jmp 0x733cda
mov esi, dword [esp + 0x1c]
push esi
call fcn.005a2880
add esp, 4
xor ebp, ebp
test eax, eax
je 0x73405b
mov ebx, eax
mov ecx, esi
mov esi, dword [esp + 0x14]
push esi
mov eax, dword [esp + 0x24]
push dword [eax + 4]
push dword [eax]
push ebx
push ecx
call fcn.005a3680
add esp, 0x14
test eax, eax
mov dword [esp + 8], ebx
je 0x73404c
push dword [esp + 0x58]
call fcn.005a1870
add esp, 4
push esi
push eax
push ebx
push 0
push ebx
push dword [esp + 0x30]
call fcn.005a3fc0
add esp, 0x18
test eax, eax
je 0x73404c
push esi
push dword [esp + 0x2c]
mov esi, dword [esp + 0x44]
push esi
push ebx
push dword [esp + 0x2c]
call fcn.005a3950
add esp, 0x14
test eax, eax
je 0x73404c
push edi
mov ebx, dword [esp + 0x14]
push ebx
push esi
call fcn.0058a140
add esp, 0xc
mov esi, 0x16e
test eax, eax
js 0x734077
mov esi, ebx
add esi, edi
push edi
push esi
push dword [esp + 0x30]
call fcn.0058a140
add esp, 0xc
test eax, eax
js 0x734072
mov dword [esp + 0x1c], esi
push dword [esp + 0x40]
push dword [esp + 0x34]
push dword [esp + 0x64]
push 0
push 0
push dword [esp + 0x4c]
push ebx
mov esi, dword [esp + 0x1c]
push esi
mov ebx, dword [esp + 0x24]
push ebx
call fcn.006d40b0
add esp, 0x24
test eax, eax
je 0x734072
test esi, esi
je 0x7340fe
mov edx, esi
xor eax, eax
mov ecx, 0
cmp esi, 8
mov ebp, dword [esp + 0x68]
jb 0x7340dc
xor ecx, ecx
mov eax, 0
cmp edx, 0x20
jb 0x734091
mov eax, edx
and eax, 0xffffffe0
pxor xmm0, xmm0
xor ecx, ecx
pxor xmm1, xmm1
movdqu xmm2, xmmword [ebx + ecx]
por xmm0, xmm2
movdqu xmm2, xmmword [ebx + ecx + 0x10]
por xmm1, xmm2
add ecx, 0x20
cmp eax, ecx
jne 0x733fec
por xmm1, xmm0
pshufd xmm0, xmm1, 0xee
por xmm0, xmm1
pshufd xmm1, xmm0, 0x55
por xmm1, xmm0
movdqa xmm0, xmm1
psrld xmm0, 0x10
por xmm0, xmm1
movdqa xmm1, xmm0
psrlw xmm1, 8
por xmm1, xmm0
movd ecx, xmm1
cmp dword [esp], eax
jne 0x734081
mov ebp, dword [esp + 0x68]
mov edi, dword [esp + 0x18]
jmp 0x7340e4
mov esi, 0x166
mov ebx, 0x80010
jmp 0x733cda
mov esi, 0x15d
mov dword [esp + 8], 0
mov ebx, 0x80010
jmp 0x733cda
mov esi, 0x16e
mov ebx, 0xc0103
jmp 0x733cda
mov edx, dword [esp]
test dl, 0x18
mov ebp, dword [esp + 0x68]
mov edi, dword [esp + 0x18]
je 0x7340dc
mov edx, eax
mov eax, dword [esp]
and eax, 0xfffffff8
movzx ecx, cl
movd xmm0, ecx
movq xmm1, qword [ebx + edx]
por xmm0, xmm1
add edx, 8
cmp eax, edx
jne 0x7340a0
pshufd xmm1, xmm0, 0x55
por xmm1, xmm0
movdqa xmm0, xmm1
psrld xmm0, 0x10
por xmm0, xmm1
movdqa xmm1, xmm0
psrlw xmm1, 8
por xmm1, xmm0
movd ecx, xmm1
mov edx, dword [esp]
jmp 0x7340e0
or cl, byte [ebx + eax]
inc eax
cmp edx, eax
jne 0x7340dc
test cl, cl
je 0x7340fc
xor eax, eax
cmp dword [esp], 8
jae 0x73410d
mov edx, dword [esp]
mov esi, dword [esp + 0x2c]
jmp 0x7341b0
xor ebp, ebp
mov ebx, 0x68
mov esi, 0x173
jmp 0x733cda
mov ecx, ebp
mov esi, dword [esp + 0x2c]
sub ecx, esi
cmp ecx, 0x20
setb cl
mov edx, ebp
sub edx, ebx
cmp edx, 0x20
setb dl
or dl, cl
mov edx, dword [esp]
jne 0x7341b0
xor eax, eax
cmp edx, 0x20
jb 0x734183
mov eax, edx
and eax, 0xffffffe0
xor ecx, ecx
movdqu xmm0, xmmword [esi + ecx]
movdqu xmm1, xmmword [esi + ecx + 0x10]
movdqu xmm2, xmmword [ebx + ecx]
pxor xmm2, xmm0
movdqu xmm0, xmmword [ebx + ecx + 0x10]
pxor xmm0, xmm1
movdqu xmmword [ebp + ecx], xmm2
movdqu xmmword [ebp + ecx + 0x10], xmm0
add ecx, 0x20
cmp eax, ecx
jne 0x73413e
mov edx, dword [esp]
cmp edx, eax
mov edi, dword [esp + 0x18]
je 0x734213
test dl, 0x18
je 0x7341b0
mov ecx, eax
mov eax, edx
and eax, 0xfffffff8
movq xmm0, qword [esi + ecx]
movq xmm1, qword [ebx + ecx]
pxor xmm1, xmm0
movq qword [ebp + ecx], xmm1
add ecx, 8
cmp eax, ecx
jne 0x73418a
mov edx, dword [esp]
cmp edx, eax
mov edi, dword [esp + 0x18]
je 0x734213
mov ecx, eax
and edx, 3
je 0x7341d0
mov ecx, eax
mov ebx, dword [esp + 4]
movzx ebx, byte [ebx + ecx]
xor bl, byte [esi + ecx]
mov byte [ebp + ecx], bl
mov ebx, dword [esp + 4]
inc ecx
dec edx
jne 0x7341b9
mov edx, dword [esp]
sub eax, edx
cmp eax, 0xfffffffc
ja 0x734213
movzx eax, byte [ebx + ecx]
xor al, byte [esi + ecx]
mov byte [ebp + ecx], al
movzx eax, byte [ebx + ecx + 1]
xor al, byte [esi + ecx + 1]
mov byte [ebp + ecx + 1], al
movzx eax, byte [ebx + ecx + 2]
xor al, byte [esi + ecx + 2]
mov byte [ebp + ecx + 2], al
movzx eax, byte [ebx + ecx + 3]
xor al, byte [esi + ecx + 3]
mov byte [ebp + ecx + 3], al
add ecx, 4
cmp edx, ecx
jne 0x7341da
call fcn.005b9f40
mov ebx, 0x80006
test eax, eax
je 0x7342b1
mov ebp, eax
push dword [esp + 0x5c]
push eax
call fcn.005ba590
add esp, 8
test eax, eax
je 0x7342cc
push edi
push dword [esp + 0x14]
push ebp
call fcn.005ba610
add esp, 0xc
test eax, eax
je 0x7342bd
push dword [esp]
push dword [esp + 0x6c]
push ebp
call fcn.005ba610
add esp, 0xc
test eax, eax
je 0x7342bd
push dword [esp + 0x18]
push dword [esp + 0x20]
push ebp
call fcn.005ba610
add esp, 0xc
test eax, eax
je 0x7342bd
push 0
push dword [esp + 0x10]
push ebp
call fcn.005ba730
add esp, 0xc
test eax, eax
je 0x7342bd
push dword [esp + 0x24]
push dword [esp + 0x38]
push dword [esp + 0x14]
call fcn.005e9ae0
add esp, 0xc
test eax, eax
je 0x7342d6
mov ebx, 0x66
mov esi, 0x18a
jmp 0x733cda
xor ebp, ebp
mov esi, 0x17c
jmp 0x733cda
mov esi, 0x185
mov ebx, 0x80006
jmp 0x733cda
mov esi, 0x185
jmp 0x733cda
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp]
mov dword [eax], ecx
mov esi, 1
jmp 0x733d16