Function at 0x493eb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x6c
call fcn.00596bf0
mov eax, dword [ebp + 0xc]
push ebx
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x58], ecx
mov ecx, dword [ebp + 0x14]
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [esp + 0x14], edx
mov dword [esp + 0x58], eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x30], ebx
call fcn.0041b950
mov esi, dword [edi + 0xc]
mov edx, dword [esi + 8]
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0x10]
xor edi, edi
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x44], edx
mov dword [esp + 0x28], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], edi
cmp eax, edi
jne 0x493f49
push 0x143
push str.....cryptoevpevp_lib.c
push 0x9f
push 0xa2
push 6
call fcn.0040e790
add esp, 0x14
mov dword [esp + 0x1c], 0xffffffff
jmp 0x493f50
mov ecx, dword [eax + 8]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x70], edi
mov dword [esp + 0x6c], edi
cmp dword [esp + 0x20], edi
je 0x494343
cmp dword [esp + 0x1c], edi
jle 0x494343
push esi
call fcn.00493b50
add esp, 4
mov dword [esp + 0x24], eax
cmp eax, edi
jne 0x493f87
push 0x93
jmp 0x494348
mov edi, esi
call fcn.00434ce0
mov dword [esp + 0x28], eax
call fcn.00434ce0
mov edi, eax
mov dword [esp + 0x34], edi
call fcn.00421730
cmp dword [esp + 0x28], 0
mov ebx, eax
je 0x494335
test edi, edi
je 0x494335
test ebx, ebx
je 0x494335
mov edi, ebx
call fcn.00421830
mov ecx, ebx
call fcn.004218c0
mov ecx, ebx
mov dword [esp + 0x38], eax
call fcn.004218c0
mov ecx, ebx
mov dword [esp + 0x5c], eax
call fcn.004218c0
mov ecx, ebx
mov dword [esp + 0x54], eax
call fcn.004218c0
mov ecx, ebx
mov dword [esp + 0x48], eax
call fcn.004218c0
mov dword [esp + 0x50], eax
test eax, eax
jne 0x494012
push 0xa7
push str.....crypto_sm2_sm2_crypt.c
push 3
jmp 0x49434f
mov edi, dword [esp + 0x24]
add edi, edi
mov ecx, 0xab
mov edx, str.....crypto_sm2_sm2_crypt.c
call fcn.00419700
mov edi, dword [esp + 0x1c]
mov ecx, 0xac
mov edx, str.....crypto_sm2_sm2_crypt.c
mov dword [esp + 0x10], eax
call fcn.00419700
cmp dword [esp + 0x10], 0
mov dword [esp + 0x18], eax
je 0x494327
test eax, eax
je 0x494327
mov edx, dword [esp + 0x4c]
mov eax, dword [edx]
mov ecx, dword [esp + 0x58]
push eax
push 0
push ecx
call fcn.0057e420
mov ecx, dword [esp + 0x50]
mov edi, dword [esp + 0x44]
add esp, 0xc
call fcn.00441a10
test eax, eax
jne 0x494086
push 0xb6
jmp 0x494348
mov edi, dword [esp + 0x28]
push ebx
lea edx, [esp + 0x48]
push edx
mov edx, dword [esp + 0x40]
xor eax, eax
lea ecx, [esp + 0x7c]
push ecx
push eax
push edx
push edi
mov ecx, esi
mov dword [esp + 0x8c], eax
mov dword [esp + 0x5c], eax
call fcn.00435540
add esp, 0x18
test eax, eax
je 0x494319
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x5c]
push ebx
push eax
push ecx
mov ecx, edi
call fcn.00435070
add esp, 0xc
test eax, eax
je 0x494319
mov edx, dword [esp + 0x40]
mov edi, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
push ebx
push edx
push 0
push edi
push esi
call fcn.00435670
add esp, 0x14
test eax, eax
je 0x494319
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
push ebx
push eax
push ecx
mov ecx, edi
call fcn.00435070
add esp, 0xc
test eax, eax
je 0x494319
mov edi, dword [esp + 0x24]
test edi, edi
js 0x494312
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x54]
push edi
push edx
call fcn.00412fe0
add esp, 8
test eax, eax
js 0x494312
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x50]
add eax, edi
push edi
push eax
mov dword [esp + 0x48], eax
call fcn.00412fe0
add esp, 8
test eax, eax
js 0x494312
mov edi, dword [esp + 0x14]
mov ecx, 0xc8
mov edx, str.....crypto_sm2_sm2_crypt.c
call fcn.00419700
mov esi, eax
mov dword [esp + 0x2c], esi
test esi, esi
jne 0x49418b
push 0xca
push str.....crypto_sm2_sm2_crypt.c
push 0x41
jmp 0x49434f
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x14]
push 0
add eax, eax
push eax
push edi
push esi
xor edx, edx
call fcn.004969d0
add esp, 0x14
test eax, eax
jne 0x4941be
push 0xd1
push str.....crypto_sm2_sm2_crypt.c
push 6
jmp 0x49434f
test edi, edi
je 0x4941d9
mov edi, dword [esp + 0x60]
mov eax, esi
sub edi, esi
mov esi, dword [esp + 0x14]
mov edi, edi
mov dl, byte [edi + eax]
xor byte [eax], dl
inc eax
dec esi
jne 0x4941d0
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x20]
push eax
call fcn.0041b9e0
add esp, 4
test eax, eax
je 0x494304
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
push edi
push ecx
mov ecx, esi
call fcn.0041bc50
add esp, 8
test eax, eax
je 0x494304
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x60]
push edx
push eax
mov ecx, esi
call fcn.0041bc50
add esp, 8
test eax, eax
je 0x494304
mov ecx, dword [esp + 0x40]
push edi
push ecx
mov ecx, esi
call fcn.0041bc50
add esp, 8
test eax, eax
je 0x494304
mov ecx, dword [esp + 0x18]
xor edi, edi
call fcn.0041bc80
test eax, eax
je 0x494304
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x48]
push 4
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], eax
call fcn.00442670
add esp, 4
push 4
mov dword [esp + 0x70], eax
call fcn.00442670
mov edi, dword [esp + 0x70]
add esp, 4
mov dword [esp + 0x70], eax
test edi, edi
je 0x4942f6
test eax, eax
je 0x4942f6
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x20]
call fcn.00442560
add esp, 4
test eax, eax
je 0x4942ef
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x70]
push edx
call fcn.00442560
add esp, 4
test eax, eax
je 0x4942ef
push 0
push 0x5c73dc
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x70]
push ecx
call fcn.00466ce0
add esp, 0x10
test eax, eax
jns 0x4942df
push 0xf3
jmp 0x494348
mov edx, dword [esp + 0x4c]
mov dword [edx], eax
mov dword [esp + 0x30], 1
jmp 0x49435b
push 0xec
jmp 0x494348
push 0xe7
push str.....crypto_sm2_sm2_crypt.c
push 0x41
jmp 0x49434f
push 0xdd
push str.....crypto_sm2_sm2_crypt.c
push 6
jmp 0x49434f
push 0xc4
jmp 0x494348
push 0xbe
push str.....crypto_sm2_sm2_crypt.c
push 0x10
jmp 0x49434f
push 0xaf
push str.....crypto_sm2_sm2_crypt.c
push 0x41
jmp 0x49434f
push 0x9b
push str.....crypto_sm2_sm2_crypt.c
push 0x41
jmp 0x49434f
push 0x8d
push str.....crypto_sm2_sm2_crypt.c
push 0x44
push 0x67
push 0x35
call fcn.0040e790
add esp, 0x14
mov edi, dword [esp + 0x70]
test edi, edi
je 0x494374
mov eax, dword [edi + 0xc]
and eax, 0x80
push eax
call fcn.004426f0
add esp, 4
mov edi, dword [esp + 0x6c]
test edi, edi
je 0x49438e
mov ecx, dword [edi + 0xc]
and ecx, 0x80
push ecx
call fcn.004426f0
add esp, 4
mov esi, dword [fcn.00419900]
test esi, esi
je 0x4943bc
cmp esi, fcn.00419900
je 0x4943bc
mov edx, dword [esp + 0x2c]
push 0xfd
push str.....crypto_sm2_sm2_crypt.c
push edx
call esi
mov esi, dword [fcn.00419900]
add esp, 0xc
jmp 0x4943c9
mov eax, dword [esp + 0x2c]
push eax
call fcn.0057bec0
add esp, 4
test esi, esi
je 0x4943f1
cmp esi, fcn.00419900
je 0x4943f1
mov ecx, dword [esp + 0x10]
push 0xfe
push str.....crypto_sm2_sm2_crypt.c
push ecx
call esi
mov esi, dword [fcn.00419900]
add esp, 0xc
jmp 0x4943fe
mov edx, dword [esp + 0x10]
push edx
call fcn.0057bec0
add esp, 4
test esi, esi
je 0x494420
cmp esi, fcn.00419900
je 0x494420
mov eax, dword [esp + 0x18]
push 0xff
push str.....crypto_sm2_sm2_crypt.c
push eax
call esi
add esp, 0xc
jmp 0x49442d
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0057bec0
add esp, 4
mov esi, dword [esp + 0x20]
push esi
call fcn.0041b8d0
mov eax, dword [fcn.00419900]
add esp, 4
test eax, eax
je 0x494459
cmp eax, fcn.00419900
je 0x494459
push 0x39
push str.....cryptoevpdigest.c
push esi
call eax
add esp, 0xc
jmp 0x494462
push esi
call fcn.0057bec0
add esp, 4
mov esi, ebx
call fcn.004217c0
mov edi, dword [esp + 0x28]
test edi, edi
je 0x4944a2
mov edx, dword [edi]
mov eax, dword [edx + 0x30]
test eax, eax
je 0x494480
push edi
call eax
add esp, 4
mov esi, dword [fcn.00419900]
test esi, esi
je 0x4944ec
cmp esi, fcn.00419900
je 0x4944ec
push 0x2ae
push str.....cryptoecec_lib.c
push edi
call esi
add esp, 0xc
mov esi, dword [fcn.00419900]
mov edi, dword [esp + 0x34]
test edi, edi
je 0x494500
mov eax, dword [edi]
mov eax, dword [eax + 0x30]
test eax, eax
je 0x4944c5
push edi
call eax
mov esi, dword [fcn.00419900]
add esp, 4
test esi, esi
je 0x4944f7
cmp esi, fcn.00419900
je 0x4944f7
push 0x2ae
push str.....cryptoecec_lib.c
push edi
call esi
mov eax, dword [esp + 0x3c]
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
call fcn.0057bec0
add esp, 4
jmp 0x4944a8
push edi
call fcn.0057bec0
add esp, 4
mov eax, dword [esp + 0x30]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret