Function at 0x73ddd540
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, ecx
push edi
push fcn.73dddea0
push 0x50
mov edx, dword [esi + 0x53c]
mov ecx, dword [esi + 0x140]
mov dword [ebp - 0x14], esi
call fcn.73ddd790
mov edx, dword [esi + 0x53c]
xor ecx, ecx
add esp, 8
mov dword [ebp - 8], ecx
test edx, edx
je 0x73ddd5af
lea ebx, [ebx]
mov edx, dword [esi + 0x140]
lea edi, [ecx + ecx*4]
shl edi, 4
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [edi + edx + 0x1c]
cmp eax, dword [edi + edx + 0x6c]
je 0x73ddd70b
mov edx, dword [esi + 0x53c]
inc ecx
add ecx, ebx
mov dword [ebp - 8], ecx
cmp ecx, edx
jb 0x73ddd580
mov ecx, dword [esi + 0x140]
push fcn.73ddde50
push 0x50
call fcn.73ddd790
xor edi, edi
add esp, 8
cmp dword [esi + 0x53c], edi
jbe 0x73ddd607
xor edx, edx
mov eax, dword [esi + 0x140]
mov dword [edx + eax], 0
lea eax, [edi + 1]
mov edi, eax
cmp eax, dword [esi + 0x53c]
jae 0x73ddd5fc
mov ecx, dword [esi + 0x140]
mov eax, dword [ecx + edx + 0x60]
sub eax, dword [ecx + edx + 0x10]
mov dword [ecx + edx + 4], eax
add edx, 0x50
cmp edi, dword [esi + 0x53c]
jb 0x73ddd5d0
push 0x3f4
lea eax, [esi + 0x148]
push 0
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
add esp, 0xc
mov dword [ebp - 0xc], 0
cmp dword [esi + 0x53c], 0
jbe 0x73ddd6fb
xor edx, edx
mov dword [ebp - 0x10], edx
mov ecx, dword [esi + 0x140]
xor edi, edi
add ecx, edx
mov dword [ebp - 4], 0
mov dword [ebp - 8], ecx
mov edx, dword [ecx + 0x1c]
mov ebx, dword [ecx + 0x18]
test dl, 3
je 0x73ddd67f
lea ecx, [edx - 1]
mov esi, edi
add ecx, ebx
lea esp, [esp]
movsx eax, byte [ecx]
lea ecx, [ecx - 1]
and eax, 0xdf
dec edx
or esi, eax
shl esi, 8
test dl, 3
jne 0x73ddd660
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], esi
mov esi, dword [ebp - 0x14]
shr edx, 2
xor eax, eax
test edx, edx
je 0x73ddd6a6
jmp 0x73ddd690
mov ecx, dword [ebx + eax*4]
inc eax
and ecx, 0xdfdfdfdf
xor edi, ecx
rol edi, 4
cmp eax, edx
jl 0x73ddd690
mov ecx, dword [ebp - 8]
xor edi, dword [ebp - 4]
mov eax, 0x81848da9
mul edi
shr edx, 7
imul eax, edx, 0xfd
sub edi, eax
mov edx, dword [esi + edi*4 + 0x148]
test edx, edx
je 0x73ddd702
mov ecx, dword [edx]
test ecx, ecx
je 0x73ddd6da
lea esp, [esp]
mov eax, dword [ecx]
mov edx, ecx
mov ecx, eax
test eax, eax
jne 0x73ddd6d0
mov eax, dword [ebp - 8]
mov dword [edx], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
inc eax
add edx, 0x50
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], edx
cmp eax, dword [esi + 0x53c]
jb 0x73ddd636
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esi + edi*4 + 0x148], ecx
jmp 0x73ddd6df
mov dword [ebp - 0x10], edi
mov ecx, edi
lea eax, [edi + edx]
mov edx, dword [eax + 0x68]
mov dword [ebp - 0x10], eax
mov eax, dword [eax + 0x18]
lea esp, [esp]
mov bl, byte [eax]
cmp bl, byte [edx]
jne 0x73ddd74d
test bl, bl
je 0x73ddd73c
mov bl, byte [eax + 1]
cmp bl, byte [edx + 1]
jne 0x73ddd74d
add eax, 2
add edx, 2
test bl, bl
jne 0x73ddd720
xor eax, eax
mov ebx, dword [ebp - 4]
test eax, eax
je 0x73ddd754
mov ecx, dword [ebp - 8]
jmp 0x73ddd59f
sbb eax, eax
or eax, 1
jmp 0x73ddd73e
mov eax, dword [ebp - 0x10]
add ecx, 0x50
inc ebx
mov dword [ebp - 4], ebx
or dword [eax + 8], 0x80000000
mov eax, dword [esi + 0x140]
or dword [edi + eax + 0x58], 0x80000000
mov edi, ecx
mov edx, dword [esi + 0x140]
mov eax, dword [ecx + edx + 0x1c]
cmp eax, dword [ecx + edx + 0x6c]
jne 0x73ddd745
jmp 0x73ddd710