Function at 0x443540
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x55d68c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x50], esi
call fcn.00486850
push eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x54], esi
call fcn.004868e0
mov eax, dword [ebp - 0x58]
push eax
call fcn.00471600
add eax, 0x41
add esp, 8
cmp edi, eax
jb 0x4435a7
cmp dword [ebp - 0x60], esi
jne 0x4435ee
mov ecx, dword [ebp - 0x58]
push ecx
call fcn.00471600
add esp, 4
sub edi, eax
lea esi, [edi - 0x41]
mov ebx, dword [ebp - 0x48]
push ebx
call fcn.004721a0
mov edx, dword [ebp - 0x50]
push edx
call fcn.004721a0
mov eax, dword [ebp - 0x54]
push eax
call fcn.004797a0
mov edi, dword [ebp - 0x4c]
add esp, 0xc
test edi, edi
je 0x4435db
push edi
call fcn.00486930
push edi
call fcn.004868b0
add esp, 8
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.00455328
mov esp, ebp
pop ebp
ret
push ebx
call fcn.00471dc0
push eax
call fcn.004796f0
mov edx, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x5c]
add esp, 8
push edx
push 0x41
push ecx
push eax
push ebx
mov dword [ebp - 0x54], eax
call fcn.00471dc0
add esp, 4
push eax
call fcn.00488890
mov esi, eax
add esp, 0x14
test esi, esi
je 0x4435a7
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x54]
push edx
push eax
push ebx
call fcn.00471dc0
add esp, 4
push eax
call fcn.00479d30
mov esi, eax
add esp, 0xc
test esi, esi
je 0x4435a7
mov esi, dword [ebp - 0x54]
push esi
push ebx
call fcn.00471dc0
add esp, 4
push eax
call fcn.00479cd0
add esp, 8
cmp eax, 1
jne 0x44366b
xor esi, esi
mov ebx, esi
jmp 0x4435aa
mov ecx, dword [ebp - 0x4c]
push ecx
push ebx
call fcn.004715b0
add esp, 4
push eax
push esi
push 0
push esi
push ebx
call fcn.00471dc0
add esp, 4
push eax
call fcn.00479ef0
mov esi, eax
add esp, 0x18
test esi, esi
je 0x4435a7
push 0x305
push str.SM_sm2.c
push 0x41
call fcn.00471ff0
mov edx, dword [ebp - 0x4c]
add esp, 0xc
push edx
push 0x41
push eax
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x54]
push 4
push eax
push ebx
call fcn.00471dc0
add esp, 4
push eax
call fcn.004887e0
mov esi, eax
add esp, 0x18
test esi, esi
je 0x4435a7
push 0x30c
sub edi, 0x61
push str.SM_sm2.c
push edi
call fcn.00471ff0
mov esi, dword [ebp - 0x58]
mov ebx, eax
mov eax, dword [ebp - 0x50]
inc eax
push ebx
push eax
mov ecx, esi
mov edx, edi
call fcn.004426c0
add esp, 0x14
mov eax, edi
mov ecx, ebx
call fcn.004426a0
cmp eax, 1
jne 0x443718
xor esi, esi
jmp 0x4435aa
push esi
call fcn.00471600
mov ecx, dword [ebp - 0x5c]
add esp, 4
lea ecx, [eax + ecx + 0x41]
test edi, edi
je 0x44373b
mov eax, ebx
sub ecx, ebx
mov esi, edi
mov dl, byte [ecx + eax]
xor byte [eax], dl
inc eax
dec esi
jne 0x443732
mov dword [ebp - 0x48], 0
call fcn.0046f750
mov esi, eax
test esi, esi
je 0x443792
mov eax, dword [ebp - 0x58]
push eax
push esi
call fcn.0046fa70
mov eax, dword [ebp - 0x50]
push 0x20
inc eax
push eax
push esi
call fcn.0046f930
push edi
push ebx
push esi
call fcn.0046f930
mov ecx, dword [ebp - 0x50]
push 0x20
add ecx, 0x21
push ecx
push esi
call fcn.0046f930
lea edx, [ebp - 0x48]
push edx
lea eax, [ebp - 0x44]
push eax
push esi
call fcn.0046faa0
push esi
call fcn.0046fce0
add esp, 0x3c
mov ecx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x48]
add ecx, 0x41
lea esi, [ebp - 0x44]
cmp eax, 4
jb 0x4437b7
mov edx, dword [esi]
cmp edx, dword [ecx]
jne 0x4437db
sub eax, 4
add ecx, 4
add esi, 4
cmp eax, 4
jae 0x4437a3
test eax, eax
je 0x4437e2
mov dl, byte [ecx]
cmp dl, byte [esi]
jne 0x4437db
cmp eax, 1
jbe 0x4437e2
mov dl, byte [ecx + 1]
cmp dl, byte [esi + 1]
jne 0x4437db
cmp eax, 2
jbe 0x4437e2
mov al, byte [ecx + 2]
cmp al, byte [esi + 2]
je 0x4437e2
xor esi, esi
jmp 0x4435aa
mov ecx, dword [ebp - 0x60]
push edi
push ebx
push ecx
call fcn.00459d50
add esp, 0xc
mov esi, edi
jmp 0x4435aa