Function at 0x443210
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
push 0x4428d0
xor esi, esi
push 0x4428d0
mov edi, eax
push 0x4428b0
push edi
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
xor ebx, ebx
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
call fcn.00471e80
add esp, 0x10
test eax, eax
jne 0x443277
call fcn.004427d0
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x44325b
mov dword [ebp - 0x18], ebx
jmp 0x44327a
push 0x4428d0
push 0x4428d0
push 0x4428b0
push eax
push edi
call fcn.00471ed0
mov eax, dword [ebp - 0x18]
add esp, 0x14
mov dword [ebp - 0x18], eax
cmp dword [ebp + 0x10], ebx
jne 0x4432a0
mov eax, dword [ebp + 0x14]
push eax
call fcn.00471600
mov ecx, dword [ebp + 0xc]
add esp, 4
lea esi, [eax + ecx + 0x41]
jmp 0x4434e6
mov esi, dword [ebp - 0xc]
lea ebx, [ebx]
test esi, esi
jne 0x4432ae
call fcn.0046d4b0
mov dword [ebp - 0xc], eax
mov esi, eax
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 4]
push eax
push esi
call fcn.00488640
add esp, 8
cmp dword [esi + 4], 0
je 0x4432a0
call fcn.00486850
mov ebx, eax
push ebx
call fcn.004868e0
add esp, 4
cmp dword [ebp - 0x10], 0
jne 0x4432ec
push edi
call fcn.00471dc0
push eax
call fcn.004796f0
add esp, 8
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 8]
mov eax, dword [ebp - 0x10]
push ebx
push esi
push edx
push 0
push eax
push edi
call fcn.00471dc0
add esp, 4
push eax
call fcn.00479ef0
mov esi, eax
add esp, 0x18
test esi, esi
je 0x4434e6
push edi
call fcn.00492ed0
add esp, 4
push eax
push edi
call fcn.00471dc0
add esp, 4
push eax
call fcn.00479cd0
add esp, 8
test eax, eax
jne 0x443421
cmp dword [ebp - 0x14], eax
jne 0x443352
push edi
call fcn.00471dc0
push eax
call fcn.004796f0
add esp, 8
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0xc]
push ebx
push ecx
push edi
call fcn.00492ed0
mov edx, dword [ebp - 0x14]
add esp, 4
push eax
push 0
push edx
push edi
call fcn.00471dc0
add esp, 4
push eax
call fcn.00479ef0
mov esi, eax
add esp, 0x18
test esi, esi
je 0x4434e6
cmp dword [ebp - 4], 0
jne 0x4433a0
push 0x29f
push str.SM_sm2.c
push 0x41
call fcn.00471ff0
add esp, 0xc
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
push ebx
push 0x41
push eax
push 4
push ecx
push edi
call fcn.00471dc0
add esp, 4
push eax
call fcn.004887e0
mov esi, eax
add esp, 0x18
test esi, esi
je 0x4434e6
cmp dword [ebp - 8], 0
mov esi, dword [ebp + 0xc]
jne 0x4433e8
push 0x2a6
push str.SM_sm2.c
push esi
call fcn.00471ff0
add esp, 0xc
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x14]
push edx
inc eax
push eax
mov edx, esi
call fcn.004426c0
mov ecx, dword [ebp - 8]
add esp, 8
mov eax, esi
test esi, esi
je 0x443297
jmp 0x443410
mov dl, byte [ecx]
dec eax
inc ecx
test dl, dl
jne 0x443428
test eax, eax
jne 0x443410
jmp 0x443297
xor esi, esi
jmp 0x4434e6
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x443440
mov eax, dword [ebp - 8]
mov esi, dword [ebp + 8]
sub esi, eax
mov dl, byte [esi + eax]
xor byte [eax], dl
inc eax
dec ecx
jne 0x443437
call fcn.0046f750
mov esi, eax
test esi, esi
je 0x443499
mov eax, dword [ebp + 0x14]
push eax
push esi
call fcn.0046fa70
mov ecx, dword [ebp - 4]
push 0x20
inc ecx
push ecx
push esi
call fcn.0046f930
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push edx
push eax
push esi
call fcn.0046f930
mov ecx, dword [ebp - 4]
push 0x20
add ecx, 0x21
push ecx
push esi
call fcn.0046f930
mov eax, dword [ebp + 0x10]
lea edx, [ebp - 0x18]
push edx
add eax, 0x41
push eax
push esi
call fcn.0046faa0
push esi
call fcn.0046fce0
add esp, 0x3c
mov esi, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x10]
push ebx
push 0x41
push esi
push 4
push ecx
push edi
call fcn.00471dc0
add esp, 4
push eax
call fcn.004887e0
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 8]
mov edi, dword [ebp + 0x14]
add esp, 0x18
push edx
push eax
push edi
call fcn.00471600
lea ecx, [eax + esi + 0x41]
add esp, 4
push ecx
call fcn.00459d50
push edi
call fcn.00471600
mov edx, dword [ebp + 0xc]
add esp, 0x10
lea esi, [eax + edx + 0x41]
mov eax, dword [ebp - 0xc]
push eax
call fcn.0046d450
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.004797a0
mov edx, dword [ebp - 0x14]
push edx
call fcn.004797a0
add esp, 0xc
test ebx, ebx
je 0x443517
push ebx
call fcn.00486930
push ebx
call fcn.004868b0
add esp, 8
mov eax, dword [ebp - 4]
push eax
call fcn.004721a0
mov ecx, dword [ebp - 8]
push ecx
call fcn.004721a0
add esp, 8
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret