Function at 0x730ca0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x24
mov edx, dword [esp + 0x40]
mov edi, dword [esp + 0x38]
xor ebp, ebp
mov esi, dword [edi + 0x30]
test esi, esi
sete al
test edx, edx
sete cl
or cl, al
je 0x730cc9
xor eax, eax
jmp 0x731020
xor eax, eax
cmp dword [edi + 0x2c], edx
jne 0x731020
mov edx, dword [edi]
shl edx, 0x18
mov eax, dword [edi + 0x24]
mov ecx, dword [edi + 0x20]
mov dword [esp + 0x18], ecx
mov ecx, dword [edi + 0x28]
dec ecx
cmp ecx, 6
mov dword [esp + 8], esi
mov dword [esp], eax
ja case.default.0x730cf7
jmp dword [ecx*4 + 0xaf1300]
movzx ecx, byte [edi + 0x3e]
shl ecx, 0x10
or edx, ecx
xor ebp, ebp
movzx ecx, byte [edi + 0x3d]
shl ecx, 8
or edx, ecx
movzx ecx, byte [edi + 0x3c]
or edx, ecx
movzx ecx, byte [edi + 0x3b]
shl ecx, 0x18
or ebp, ecx
movzx ecx, byte [edi + 0x3a]
shl ecx, 0x10
or ebp, ecx
movzx ecx, byte [edi + 0x39]
shl ecx, 8
or ebp, ecx
mov dword [esp + 0x14], edx
movzx ecx, byte [edi + 0x38]
or ebp, ecx
mov ecx, ebp
mov eax, dword [edi + 8]
mov dword [esp + 4], eax
mov esi, dword [edi + 0xc]
mov edx, dword [edi + 0x14]
mov ebx, dword [edi + 0x10]
mov eax, dword [edi + 0x1c]
mov dword [esp + 0xc], eax
mov ebp, dword [edi + 0x18]
mov edi, ebx
mov dword [esp + 0x20], ecx
mov ebx, dword [esp + 0x18]
xor ebx, ecx
mov ecx, dword [esp]
xor ecx, dword [esp + 0x14]
mov eax, dword [esp + 8]
mov dword [esp + 8], eax
mov eax, dword [esp + 4]
add eax, edi
mov dword [esp + 4], eax
adc esi, edx
mov eax, edi
shld eax, edx, 0xd
shld edx, edi, 0xd
xor edx, esi
xor eax, dword [esp + 4]
mov dword [esp], eax
add ebp, ebx
mov eax, dword [esp + 0xc]
adc eax, ecx
mov dword [esp + 0x10], eax
mov edi, ebx
shld edi, ecx, 0x10
shld ecx, ebx, 0x10
xor ecx, eax
xor edi, ebp
mov eax, esi
add eax, edi
mov esi, dword [esp + 4]
adc esi, ecx
mov ebx, edi
shld ebx, ecx, 0x15
shld ecx, edi, 0x15
xor ecx, esi
mov dword [esp + 4], eax
xor ebx, eax
add ebp, dword [esp]
mov dword [esp + 0xc], ebp
mov ebp, dword [esp + 0x10]
adc ebp, edx
mov edi, dword [esp]
shld edi, edx, 0x11
mov eax, dword [esp]
shld edx, eax, 0x11
xor edx, ebp
xor edi, dword [esp + 0xc]
mov eax, dword [esp + 8]
dec eax
jne 0x730d70
mov dword [esp], ecx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 4]
xor eax, dword [esp + 0x20]
mov dword [esp + 4], eax
xor esi, dword [esp + 0x14]
mov ebx, esi
cmp dword [esp + 0x40], 0x10
mov ecx, 0xee
mov esi, 0xff
cmove esi, ecx
xor ebp, esi
mov edi, dword [esp + 0x38]
mov eax, dword [edi + 0x34]
test eax, eax
je 0x730ee2
mov edi, ebx
mov ebx, ebp
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
mov eax, dword [esp]
nop word cs:[eax + eax]
mov ecx, dword [esp + 4]
add ecx, ebp
mov dword [esp + 4], ecx
adc edi, edx
mov esi, ebp
shld esi, edx, 0xd
shld edx, ebp, 0xd
xor edx, edi
xor esi, ecx
mov ebp, dword [esp + 0x18]
add ebx, ebp
adc dword [esp + 0xc], eax
mov ecx, ebp
shld ecx, eax, 0x10
shld eax, ebp, 0x10
xor eax, dword [esp + 0xc]
xor ecx, ebx
add edi, ecx
mov dword [esp + 8], edi
mov edi, dword [esp + 4]
adc edi, eax
mov dword [esp], edi
mov ebp, ecx
shld ebp, eax, 0x15
shrd ecx, eax, 0xb
xor ecx, edi
xor ebp, dword [esp + 8]
mov dword [esp + 0x18], ebp
mov edi, ebx
add edi, esi
mov ebx, dword [esp + 0xc]
adc ebx, edx
mov ebp, esi
shld ebp, edx, 0x11
shrd esi, edx, 0xf
xor esi, ebx
xor ebp, edi
mov eax, ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], edi
mov edx, esi
mov edi, dword [esp + 8]
mov dword [esp + 4], edi
mov edi, dword [esp]
dec dword [esp + 0x14]
jne 0x730e50
jmp 0x730eff
mov eax, dword [esp + 4]
mov dword [esp + 8], eax
mov esi, edx
mov eax, dword [esp + 0xc]
mov dword [esp + 0x10], eax
mov ecx, dword [esp]
mov edi, ebx
mov ebx, ebp
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 8]
mov dword [esp + 4], ebx
xor eax, ebx
xor eax, ebp
mov edx, dword [esp + 0x18]
mov ebx, edx
xor eax, edx
mov edx, dword [esp + 0x3c]
mov dword [edx], eax
mov dword [esp], edi
mov eax, edi
mov edi, dword [esp + 0x10]
xor eax, edi
xor eax, esi
xor eax, ecx
mov dword [edx + 4], eax
mov edx, dword [esp + 0x38]
cmp dword [edx + 0x2c], 8
je 0x73101b
mov eax, edi
xor ebp, 0xdd
mov edx, dword [edx + 0x34]
test edx, edx
je 0x730fea
mov dword [esp + 0x10], eax
mov eax, dword [esp + 8]
mov dword [esp + 0x14], edx
nop dword [eax + eax]
add eax, ebp
mov edx, dword [esp]
adc edx, esi
mov dword [esp], edx
mov edi, ebp
shld edi, esi, 0xd
shld esi, ebp, 0xd
xor esi, edx
xor edi, eax
mov ebp, dword [esp + 4]
add ebp, ebx
adc dword [esp + 0x10], ecx
mov edx, ebx
shld edx, ecx, 0x10
shld ecx, ebx, 0x10
xor ecx, dword [esp + 0x10]
xor edx, ebp
mov ebx, dword [esp]
add ebx, edx
mov dword [esp + 0xc], ebx
adc eax, ecx
mov ebx, edx
shld ebx, ecx, 0x15
shrd edx, ecx, 0xb
mov dword [esp], eax
xor edx, eax
xor ebx, dword [esp + 0xc]
mov ecx, ebp
add ecx, edi
mov eax, dword [esp + 0x10]
adc eax, esi
mov ebp, edi
shld ebp, esi, 0x11
shrd edi, esi, 0xf
mov dword [esp + 4], eax
xor edi, eax
mov eax, ecx
xor ebp, ecx
mov ecx, edx
mov dword [esp + 8], eax
mov dword [esp + 0x10], eax
mov esi, edi
mov eax, dword [esp + 0xc]
dec dword [esp + 0x14]
jne 0x730f60
jmp 0x730ffa
mov edx, dword [esp + 8]
mov dword [esp + 0xc], edx
mov edi, esi
mov dword [esp + 8], eax
mov edx, ecx
mov ecx, dword [esp]
xor ecx, dword [esp + 8]
xor ecx, edi
xor ecx, edx
mov edx, dword [esp + 0xc]
xor edx, dword [esp + 4]
xor edx, ebp
xor edx, ebx
mov eax, dword [esp + 0x3c]
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov eax, 1
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp + 0x14], edx
xor ecx, ecx
jmp 0x730d3f