Function at 0x734900
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x45c
push ebx
push esi
mov esi, 4
mov dword [ebp - 0x24], ecx
cmp dword [ecx + 0x18], esi
lea eax, [edx + 8]
push edi
cmovl esi, dword [ecx + 0x18]
xor ecx, ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 8], ecx
nop dword [eax]
cmp dword [eax - 8], 0
jne 0x734968
cmp dword [eax - 4], 0
jne 0x734964
cmp dword [eax], 0
jne 0x73495f
cmp dword [eax + 4], 0
jne 0x73495a
add ecx, 4
add eax, 0x10
mov dword [ebp - 8], ecx
cmp ecx, 0xff
jle 0x734930
jmp 0x734968
add ecx, 3
jmp 0x734965
add ecx, 2
jmp 0x734965
inc ecx
mov dword [ebp - 8], ecx
mov eax, 0xff
mov dword [ebp - 0x10], eax
cmp ecx, eax
jge 0x734982
cmp dword [edx + eax*4], 0
jne 0x73497f
dec eax
cmp eax, ecx
jg 0x734974
mov dword [ebp - 0x10], eax
mov ebx, eax
xor edi, edi
sub ebx, ecx
test esi, esi
jle 0x7349ac
lea eax, [esi + esi]
mov dword [ebp - 0xc], eax
lea eax, [ebx + ebx]
mov dword [ebp - 4], eax
mov eax, ebx
add ebx, dword [ebp - 4]
cdq
idiv dword [ebp - 0xc]
add eax, ecx
mov dword [ebp + edi*4 - 0x34], eax
inc edi
cmp edi, esi
jl 0x734998
mov dword [ebp - 0xc], 0
test esi, esi
jle 0x7349d7
lea edx, [esi*4]
xor eax, eax
mov ecx, edx
lea edi, [ebp - 0x44]
shr ecx, 2
rep stosd dword es:[edi], eax
shr edx, 2
lea edi, [ebp - 0x54]
mov ecx, edx
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
xor edi, edi
mov ebx, ecx
cmp ecx, eax
jg 0x734a3d
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + ebx*4]
mov dword [ebp - 4], edx
test edx, edx
je 0x734a38
lea ecx, [edi + 1]
cmp ecx, esi
jge 0x734a1e
mov eax, ebx
sub eax, dword [ebp + edi*4 - 0x30]
cdq
mov esi, eax
mov eax, ebx
sub eax, dword [ebp + edi*4 - 0x34]
xor esi, edx
sub esi, edx
cdq
xor eax, edx
sub eax, edx
cmp esi, eax
mov esi, dword [ebp - 0x1c]
jge 0x734a1b
inc ecx
inc edi
cmp ecx, esi
jl 0x7349f6
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x20]
mov eax, edx
imul eax, ebx
mov dword [ebp + ebx*4 - 0x458], edi
add dword [ebp + edi*4 - 0x54], eax
add dword [ebp + edi*4 - 0x44], edx
mov eax, dword [ebp - 0x10]
inc ebx
cmp ebx, eax
jle 0x7349e5
xor ebx, ebx
xor ecx, ecx
xor edi, edi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], ecx
test esi, esi
jle 0x734a96
mov ebx, dword [ebp + edi*4 - 0x44]
test ebx, ebx
je 0x734a8e
mov eax, ebx
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [ebp + edi*4 - 0x54]
sar ecx, 1
add eax, ecx
cdq
idiv ebx
mov ecx, eax
mov eax, dword [ebp + edi*4 - 0x34]
sub eax, ecx
mov dword [ebp + edi*4 - 0x34], ecx
cdq
xor eax, edx
sub eax, edx
add dword [ebp - 0x14], eax
mov eax, ebx
imul eax, ecx
mov ecx, dword [ebp - 4]
add dword [ebp - 0x18], eax
add ecx, ebx
mov dword [ebp - 4], ecx
inc edi
cmp edi, esi
jl 0x734a50
mov ebx, dword [ebp - 0x14]
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0x18]
cdq
idiv ecx
mov dword [ebp - 4], eax
cmp ebx, 5
jl 0x734abe
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
inc eax
mov dword [ebp - 0xc], eax
cmp eax, 6
jl 0x7349b3
mov ebx, dword [ebp - 0x24]
xor edi, edi
mov eax, dword [ebx + 0x2c]
imul eax, dword [ebx + 0x28]
test eax, eax
jle 0x734b03
nop
mov eax, dword [ebx + 0x588c]
lea edx, [eax + edi*8]
inc edi
movzx eax, byte [edx + 4]
mov ecx, dword [ebp + eax*4 - 0x458]
mov eax, ecx
shl eax, 5
xor eax, dword [edx]
and eax, 0x60
xor dword [edx], eax
mov al, byte [ebp + ecx*4 - 0x34]
mov byte [edx + 4], al
mov eax, dword [ebx + 0x2c]
imul eax, dword [ebx + 0x28]
cmp edi, eax
jl 0x734ad0
cmp esi, 1
jle 0x734b17
mov eax, dword [ebx]
test byte [eax + 0x44], 1
je 0x734b17
mov ecx, ebx
call fcn.00734570
push dword [ebp - 4]
lea edx, [ebp - 0x34]
mov ecx, ebx
call fcn.00734780
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret