Function at 0x43f820
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
call fcn.0045c930
sub eax, dword [0x4a0db0]
mov dword [esp + 0x14], eax
jns 0x43f842
mov dword [esp + 0x14], 1
jmp 0x43f84c
cmp eax, 1
jle 0x43f84c
dec eax
mov dword [esp + 0x14], eax
call fcn.0045c930
mov dword [0x4a0db0], eax
mov eax, dword [0x4a0da0]
cmp eax, 1
jne 0x43f9f1
mov eax, dword [0x4a0da4]
xor esi, esi
cmp eax, esi
jne 0x44057f
call fcn.0045c8d0
mov dword [0x4a0da4], eax
xor eax, eax
mov dword [esp + 0x14], eax
imul eax, eax
mov ecx, dword [0x4a0d94]
mov dword [esp + 0x10], esi
cdq
and edx, 0xff
add eax, edx
mov edx, dword [0x4a0694]
sar eax, 8
cmp ecx, esi
mov dword [0x4a0d90], edx
jle 0x440559
lea ecx, [eax + 0x100]
and ecx, 0x3ff
and eax, 0x3ff
lea edx, [ecx*4 + 0x573b20]
lea eax, [eax*4 + 0x573b20]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
mov ebx, dword [0x58bb9c]
mov ecx, dword [0x4a0d90]
mov eax, ebx
shl eax, 6
cdq
sub eax, edx
mov edx, eax
mov eax, dword [ecx + 4]
sar edx, 1
sub eax, edx
cdq
and edx, 0x3f
add eax, edx
mov esi, eax
mov eax, dword [0x58bb98]
shl eax, 6
cdq
sub eax, edx
mov edx, eax
mov eax, dword [ecx + 8]
sar edx, 1
sub eax, edx
mov ecx, dword [esp + 0x14]
cdq
and edx, 0x3f
add eax, edx
mov edx, dword [esp + 0x18]
mov edi, eax
mov eax, ecx
imul eax, dword [edx]
cdq
and edx, 0x3ff
add eax, edx
mov ebp, eax
mov eax, ecx
mov ecx, dword [esp + 0x1c]
sar ebp, 0xa
imul eax, dword [ecx]
cdq
and edx, 0x3ff
add eax, edx
mov ecx, eax
mov eax, ebp
sar ecx, 0xa
sar esi, 6
sar edi, 6
imul eax, esi
mov edx, ecx
imul ecx, esi
imul edx, edi
add eax, edx
shl ebx, 0xf
add eax, ebx
cdq
and edx, 0xffff
add eax, edx
mov ebx, eax
mov eax, ebp
imul eax, edi
sub eax, ecx
mov ecx, dword [0x58bb98]
shl ecx, 0xf
add eax, ecx
mov ecx, dword [0x4a0d90]
cdq
mov ecx, dword [ecx + 0xc]
and edx, 0xffff
add eax, edx
sar ebx, 0x10
sar eax, 0x10
test ecx, ecx
je 0x43f9b3
mov edx, dword [0x4a0d90]
push ecx
push eax
push ebx
mov eax, dword [edx]
push eax
call fcn.00457012
add esp, 0x10
jmp 0x43f9c6
mov ecx, dword [0x4a0d90]
push eax
push ebx
mov edx, dword [ecx]
push edx
call fcn.00455a02
add esp, 0xc
mov esi, dword [0x4a0d90]
mov eax, dword [esp + 0x10]
mov ecx, dword [0x4a0d94]
add esi, 0x20
inc eax
mov dword [0x4a0d90], esi
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x43f8d7
jmp 0x440559
test eax, eax
je 0x43fcd5
cmp eax, 2
je 0x43fcd5
cmp eax, 3
je 0x43fcd5
cmp eax, 4
je 0x43fcd5
cmp eax, 5
je 0x43fcd5
mov eax, dword [0x4a0da4]
mov edx, dword [0x4a0a4c]
test eax, eax
jle 0x43fa35
cmp edx, 0x20
jge 0x4403fd
mov ecx, dword [0x4a0d94]
mov eax, dword [0x4a0da4]
test eax, eax
jne 0x43fb22
mov eax, dword [0x58bb9c]
mov edi, dword [0x4a0694]
shl eax, 0xc
cdq
sub eax, edx
xor ebx, ebx
mov ebp, eax
mov dword [0x4a0d90], edi
sar ebp, 1
test ecx, ecx
jle 0x43fb0b
mov eax, dword [0x58bbb0]
mov ecx, edi
mov dl, al
sub al, 0x2c
add dl, 4
and eax, 0xff
and edx, 0xff
add edi, 8
mov eax, dword [eax + 0x58be00]
mov dword [0x58bbb0], edx
mov esi, dword [edx + 0x58be00]
xor esi, eax
and eax, 0xff
mov dword [edx + 0x58be00], esi
mov edx, dword [0x58bb98]
mov dword [ecx + 0x10], ebp
lea esi, [edx + eax*4]
mov eax, dword [edi]
shl eax, 6
mov dword [edi], eax
mov eax, dword [ecx + 4]
shl eax, 6
mov dword [ecx + 4], eax
sub eax, ebp
cdq
and edx, 0x1f
add eax, edx
sar eax, 5
mov dword [ecx + 0x18], eax
mov eax, dword [edi]
shl esi, 0xc
sub eax, esi
mov dword [ecx + 0x14], esi
sub eax, 0x300000
cdq
and edx, 0x1f
add eax, edx
sar eax, 5
mov dword [ecx + 0x1c], eax
mov edi, dword [0x4a0d90]
mov ecx, dword [0x4a0d94]
add edi, 0x20
inc ebx
mov dword [0x4a0d90], edi
cmp ebx, ecx
jl 0x43fa6d
xor edx, edx
mov dword [0x4a0da4], 1
mov dword [0x4a0a4c], edx
jmp 0x43fc30
inc edx
cmp edx, 0x20
mov dword [0x4a0a4c], edx
jne 0x43fbde
mov esi, dword [0x4a0694]
mov dword [esp + 0x10], 0
test ecx, ecx
mov dword [0x4a0d90], esi
jle 0x43fc25
mov eax, dword [esi + 4]
mov ecx, esi
add esi, 4
cdq
and edx, 0x3f
add eax, edx
sar eax, 6
mov dword [esi], eax
mov eax, dword [ecx + 8]
cdq
and edx, 0x3f
add eax, edx
mov edi, eax
mov eax, dword [ecx + 0x10]
cdq
and edx, 0x3f
add eax, edx
mov ebp, eax
mov eax, dword [ecx + 0x14]
cdq
and edx, 0x3f
add eax, edx
mov edx, dword [esi]
sar ebp, 6
mov ebx, eax
mov eax, ebp
sub eax, edx
mov dword [ecx + 0x10], ebp
cdq
and edx, 0x3f
add eax, edx
sar eax, 6
sar ebx, 6
mov dword [ecx + 0x18], eax
mov eax, ebx
sar edi, 6
sub eax, edi
mov dword [ecx + 8], edi
cdq
and edx, 0x3f
mov dword [ecx + 0x14], ebx
add eax, edx
sar eax, 6
mov dword [ecx + 0x1c], eax
mov esi, dword [0x4a0d90]
mov eax, dword [esp + 0x10]
mov ecx, dword [0x4a0d94]
add esi, 0x20
inc eax
cmp eax, ecx
mov dword [0x4a0d90], esi
mov dword [esp + 0x10], eax
jl 0x43fb4e
jmp 0x43fc25
mov eax, dword [0x4a0694]
xor edx, edx
test ecx, ecx
mov dword [0x4a0d90], eax
jle 0x43fc25
mov ecx, dword [eax + 0x18]
mov esi, dword [eax + 0x10]
mov ebp, dword [eax + 0x14]
add esi, ecx
mov ecx, dword [eax + 0x1c]
mov dword [eax + 0x10], esi
add ebp, ecx
add ecx, 0x1800
mov dword [eax + 0x14], ebp
mov dword [eax + 0x1c], ecx
mov eax, dword [0x4a0d90]
mov ecx, dword [0x4a0d94]
add eax, 0x20
inc edx
cmp edx, ecx
mov dword [0x4a0d90], eax
jl 0x43fbee
mov edx, dword [0x4a0a4c]
cmp edx, 0x20
jge 0x43fc41
mov eax, dword [esp + 0x14]
dec eax
test eax, eax
mov dword [esp + 0x14], eax
jg 0x43fa3b
mov esi, dword [0x4a0694]
xor edi, edi
test ecx, ecx
mov dword [0x4a0d90], esi
jle 0x440559
mov eax, dword [esi + 0xc]
test eax, eax
je 0x43fc8c
push eax
mov eax, dword [esi + 0x14]
cdq
and edx, 0xfff
add eax, edx
sar eax, 0xc
push eax
mov eax, dword [esi + 0x10]
cdq
and edx, 0xfff
add eax, edx
mov edx, dword [esi]
sar eax, 0xc
push eax
push edx
call fcn.00457012
add esp, 0x10
jmp 0x43fcb7
mov eax, dword [esi + 0x14]
cdq
and edx, 0xfff
add eax, edx
sar eax, 0xc
push eax
mov eax, dword [esi + 0x10]
cdq
and edx, 0xfff
add eax, edx
sar eax, 0xc
push eax
mov eax, dword [esi]
push eax
call fcn.00455a02
add esp, 0xc
mov esi, dword [0x4a0d90]
mov eax, dword [0x4a0d94]
add esi, 0x20
inc edi
cmp edi, eax
mov dword [0x4a0d90], esi
jl 0x43fc57
jmp 0x440559
mov ecx, dword [0x4a0da4]
test ecx, ecx
jne 0x440348
mov ecx, dword [0x4a0694]
test eax, eax
mov dword [0x4a0d90], ecx
jne 0x43fdcf
mov edx, dword [0x58bbb0]
mov al, dl
sub dl, 0x2c
add al, 4
and edx, 0xff
and eax, 0xff
mov edx, dword [edx + 0x58be00]
mov edi, dword [eax + 0x58be00]
xor edi, edx
test dl, 1
mov dword [eax + 0x58be00], edi
je 0x43fd2c
xor ebp, ebp
jmp 0x43fd35
mov ebp, dword [0x58bb98]
shl ebp, 6
mov dl, al
sub al, 0x2c
add dl, 4
and eax, 0xff
and edx, 0xff
mov eax, dword [eax + 0x58be00]
mov dword [0x58bbb0], edx
mov esi, dword [edx + 0x58be00]
xor esi, eax
test al, 1
mov dword [edx + 0x58be00], esi
je 0x43fd69
xor edi, edi
jmp 0x43fd72
mov edi, dword [0x58bb9c]
shl edi, 6
mov eax, dword [0x4a0d94]
xor ebx, ebx
xor esi, esi
cmp eax, ebx
jle 0x43fdc0
mov eax, dword [ecx + 4]
mov dword [ecx + 0x18], ebx
cdq
and edx, 3
mov dword [ecx + 0x1c], ebx
add eax, edx
sar eax, 2
add eax, edi
mov dword [ecx + 0x10], eax
mov eax, dword [ecx + 8]
cdq
and edx, 3
add eax, edx
sar eax, 2
add eax, ebp
mov dword [ecx + 0x14], eax
mov ecx, dword [0x4a0d90]
mov eax, dword [0x4a0d94]
add ecx, 0x20
inc esi
mov dword [0x4a0d90], ecx
cmp esi, eax
jl 0x43fd7f
call fcn.0045c8d0
mov dword [0x4a0da4], eax
jmp 0x4403fd
cmp eax, 2
jne 0x43fe3e
mov eax, dword [0x4a0d94]
xor edi, edi
test eax, eax
jle 0x43fdc0
mov eax, dword [0x58bb9c]
lea esi, [ecx + 0x10]
shl eax, 6
cdq
sub eax, edx
sar eax, 1
mov dword [esi], eax
mov eax, dword [0x58bb98]
shl eax, 6
cdq
mov ebp, dword [esi]
sub eax, edx
mov edx, dword [ecx + 8]
sar eax, 1
mov dword [ecx + 0x14], eax
mov eax, dword [ecx + 4]
mov ebx, dword [ecx + 0x14]
sub eax, ebp
sub edx, ebx
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], edx
mov ecx, dword [0x4a0d90]
mov eax, dword [0x4a0d94]
add ecx, 0x20
inc edi
mov dword [0x4a0d90], ecx
cmp edi, eax
jl 0x43fddf
call fcn.0045c8d0
mov dword [0x4a0da4], eax
jmp 0x4403fd
cmp eax, 3
jne 0x43ff3b
mov eax, dword [0x58bbb0]
mov dl, al
add al, 4
sub dl, 0x2c
and eax, 0xff
and edx, 0xff
mov esi, dword [edx + 0x58be00]
mov edx, dword [eax + 0x58be00]
xor edx, esi
mov dword [eax + 0x58be00], edx
mov edx, esi
and dl, 0xf
cmp dl, 7
sbb edx, edx
and edx, 3
dec edx
mov dword [esp + 0x1c], edx
mov dl, al
add dl, 4
sub al, 0x2c
and edx, 0xff
and eax, 0xff
mov dword [0x58bbb0], edx
mov eax, dword [eax + 0x58be00]
mov ebp, dword [edx + 0x58be00]
xor ebp, eax
and al, 0xf
cmp al, 7
mov dword [edx + 0x58be00], ebp
sbb eax, eax
xor ebp, ebp
and eax, 3
dec eax
mov dword [esp + 0x18], eax
mov eax, dword [0x4a0d94]
test eax, eax
jle 0x43fdc0
mov edx, dword [esp + 0x1c]
lea eax, [ecx + 4]
lea ebx, [ecx + 0x10]
mov esi, dword [ecx + 8]
imul edx, dword [eax]
mov dword [ebx], edx
mov edx, dword [eax]
mov eax, dword [ebx]
mov edi, dword [esp + 0x18]
sub edx, eax
mov eax, 0x55555556
imul edx
imul edi, esi
mov eax, edx
sub esi, edi
shr eax, 0x1f
add edx, eax
mov eax, 0x55555556
mov dword [ecx + 0x18], edx
imul esi
mov eax, edx
mov dword [ecx + 0x14], edi
shr eax, 0x1f
add edx, eax
mov dword [ecx + 0x1c], edx
mov ecx, dword [0x4a0d90]
mov eax, dword [0x4a0d94]
add ecx, 0x20
inc ebp
mov dword [0x4a0d90], ecx
cmp ebp, eax
jl 0x43fecd
call fcn.0045c8d0
mov dword [0x4a0da4], eax
jmp 0x4403fd
cmp eax, 4
jne 0x440087
mov eax, dword [0x4a0d94]
xor ebp, ebp
test eax, eax
jle 0x43fdc0
mov eax, dword [0x58bbb0]
mov esi, ecx
mov dl, al
add al, 4
sub dl, 0x2c
and eax, 0xff
and edx, 0xff
mov edi, edx
mov edx, eax
mov dword [0x58bbb0], edx
mov eax, dword [edi + 0x58be00]
mov edi, dword [edx + 0x58be00]
xor edi, eax
and eax, 0x3f
imul eax, dword [0x58bb9c]
mov dword [edx + 0x58be00], edi
mov dword [ecx + 0x10], eax
mov eax, dword [0x58bbb0]
mov cl, al
add al, 4
sub cl, 0x2c
and eax, 0xff
and ecx, 0xff
mov edx, ecx
mov ecx, eax
mov dword [0x58bbb0], ecx
mov eax, dword [edx + 0x58be00]
mov edx, dword [ecx + 0x58be00]
xor edx, eax
and eax, 0x3f
imul eax, dword [0x58bb98]
mov dword [ecx + 0x58be00], edx
mov dword [esi + 0x14], eax
mov eax, dword [0x58bbb0]
mov dl, al
add al, 4
sub dl, 0x2c
and eax, 0xff
and edx, 0xff
mov ecx, eax
mov dword [0x58bbb0], ecx
mov eax, dword [edx + 0x58be00]
mov edx, dword [ecx + 0x58be00]
xor edx, eax
and eax, 0x7ff
sub eax, 0x3ff
mov dword [ecx + 0x58be00], edx
mov dword [esi + 0x18], eax
mov eax, dword [0x58bbb0]
mov cl, al
add al, 4
sub cl, 0x2c
and eax, 0xff
and ecx, 0xff
mov edx, ecx
mov ecx, eax
mov dword [0x58bbb0], ecx
mov eax, dword [edx + 0x58be00]
mov edx, dword [ecx + 0x58be00]
xor edx, eax
and eax, 0x7ff
sub eax, 0x3ff
mov dword [ecx + 0x58be00], edx
mov dword [esi + 0x1c], eax
mov ecx, dword [0x4a0d90]
mov eax, dword [0x4a0d94]
add ecx, 0x20
inc ebp
mov dword [0x4a0d90], ecx
cmp ebp, eax
jl 0x43ff53
call fcn.0045c8d0
mov dword [0x4a0da4], eax
jmp 0x4403fd
cmp eax, 5
jne 0x43fdc0
mov edi, dword [0x4a0d94]
xor esi, esi
test edi, edi
mov dword [0x4a0d90], ecx
jle 0x44015a
mov edx, dword [ecx + 4]
mov eax, dword [ecx + 8]
mov dword [ecx + 0x10], edx
mov dword [ecx + 0x14], eax
mov eax, dword [0x58bbb0]
mov dl, al
add al, 4
sub dl, 0x2c
and eax, 0xff
and edx, 0xff
mov edi, edx
mov edx, eax
mov dword [0x58bbb0], edx
mov eax, dword [edi + 0x58be00]
mov edi, dword [edx + 0x58be00]
xor edi, eax
and eax, 0x7ff
sub eax, 0x3ff
mov dword [edx + 0x58be00], edi
mov dword [ecx + 0x18], eax
mov eax, dword [0x58bbb0]
mov dl, al
add al, 4
sub dl, 0x2c
and eax, 0xff
and edx, 0xff
mov edi, edx
mov edx, eax
mov dword [0x58bbb0], edx
mov eax, dword [edi + 0x58be00]
mov edi, dword [edx + 0x58be00]
xor edi, eax
and eax, 0x7ff
sub eax, 0x3ff
mov dword [edx + 0x58be00], edi
mov dword [ecx + 0x1c], eax
mov ecx, dword [0x4a0d90]
mov edi, dword [0x4a0d94]
add ecx, 0x20
inc esi
mov dword [0x4a0d90], ecx
cmp esi, edi
jl 0x4400a6
mov ecx, dword [0x4a0694]
mov esi, ecx
mov dword [esp + 0x10], 0
test edi, edi
mov dword [0x4a0d90], esi
jle 0x44033c
mov eax, dword [0x58bbb0]
mov dl, al
add al, 4
sub dl, 0x2c
and eax, 0xff
and edx, 0xff
mov dword [0x58bbb0], eax
mov ebp, dword [edx + 0x58be00]
mov edx, dword [eax + 0x58be00]
xor edx, ebp
mov dword [eax + 0x58be00], edx
mov edx, ebp
and edx, 7
cmp dl, 7
jne 0x440322
mov dl, al
sub al, 0x2c
add dl, 4
and eax, 0xff
and edx, 0xff
mov eax, dword [eax + 0x58be00]
mov dword [0x58bbb0], edx
mov ebx, dword [edx + 0x58be00]
xor ebx, eax
and eax, 0x7fff
mov dword [edx + 0x58be00], ebx
dec edi
xor edx, edx
div edi
mov eax, dword [esi + 0x10]
shl edx, 5
add edx, ecx
mov ecx, dword [edx + 0x10]
mov dword [esi + 0x10], ecx
mov dword [edx + 0x10], eax
mov ecx, dword [edx + 0x14]
mov eax, dword [esi + 0x14]
mov dword [esi + 0x14], ecx
mov dword [edx + 0x14], eax
mov eax, dword [0x58bbb0]
mov cl, al
add al, 4
sub cl, 0x2c
and eax, 0xff
and ecx, 0xff
mov edi, ecx
mov ecx, eax
mov dword [0x58bbb0], ecx
mov eax, dword [edi + 0x58be00]
mov edi, dword [ecx + 0x58be00]
xor edi, eax
and eax, 0x1fff
sub eax, 0xfff
mov dword [ecx + 0x58be00], edi
mov dword [esi + 0x18], eax
mov eax, dword [0x58bbb0]
mov cl, al
add al, 4
sub cl, 0x2c
and eax, 0xff
and ecx, 0xff
mov edi, ecx
mov ecx, eax
mov dword [0x58bbb0], ecx
mov eax, dword [edi + 0x58be00]
mov ebp, dword [ecx + 0x58be00]
xor ebp, eax
and eax, 0x1fff
sub eax, 0xfff
mov dword [ecx + 0x58be00], ebp
mov dword [esi + 0x1c], eax
mov eax, dword [0x58bbb0]
mov cl, al
add al, 4
sub cl, 0x2c
and eax, 0xff
and ecx, 0xff
mov esi, ecx
mov ecx, eax
mov dword [0x58bbb0], ecx
mov eax, dword [esi + 0x58be00]
mov esi, dword [ecx + 0x58be00]
xor esi, eax
and eax, 0x1fff
sub eax, 0xfff
mov dword [ecx + 0x58be00], esi
mov dword [edx + 0x18], eax
mov eax, dword [0x58bbb0]
mov cl, al
add al, 4
sub cl, 0x2c
and ecx, 0xff
and eax, 0xff
mov esi, ecx
mov ecx, eax
mov eax, dword [esi + 0x58be00]
mov edi, dword [ecx + 0x58be00]
mov dword [0x58bbb0], ecx
xor edi, eax
and eax, 0x1fff
sub eax, 0xfff
mov dword [ecx + 0x58be00], edi
mov dword [edx + 0x1c], eax
mov esi, dword [0x4a0d90]
mov ecx, dword [0x4a0694]
mov edi, dword [0x4a0d94]
mov eax, dword [0x58bbb0]
mov edx, dword [esp + 0x10]
add esi, 0x20
inc edx
mov dword [0x4a0d90], esi
cmp edx, edi
mov dword [esp + 0x10], edx
jl 0x440177
call fcn.0045c8d0
mov dword [0x4a0da4], eax
jmp 0x440370
call fcn.0045c8d0
mov esi, dword [0x4a0da4]
mov ecx, dword [0x4a0da0]
sub eax, esi
shr eax, 4
cmp ecx, 5
jne 0x4403fd
cmp eax, 0x30
jge 0x4403fd
mov eax, dword [0x4a0d94]
mov ecx, dword [0x4a0694]
xor esi, esi
mov dword [0x4a0d90], ecx
test eax, eax
jle 0x440559
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x4403ba
push eax
mov eax, dword [ecx + 0x14]
cdq
and edx, 0x3f
add eax, edx
sar eax, 6
push eax
mov eax, dword [ecx + 0x10]
cdq
and edx, 0x3f
add eax, edx
mov edx, dword [ecx]
sar eax, 6
push eax
push edx
call fcn.00457012
add esp, 0x10
jmp 0x4403df
mov eax, dword [ecx + 0x14]
cdq
and edx, 0x3f
add eax, edx
sar eax, 6
push eax
mov eax, dword [ecx + 0x10]
cdq
and edx, 0x3f
add eax, edx
sar eax, 6
push eax
mov eax, dword [ecx]
push eax
call fcn.00455a02
add esp, 0xc
mov ecx, dword [0x4a0d90]
mov eax, dword [0x4a0d94]
add ecx, 0x20
inc esi
cmp esi, eax
mov dword [0x4a0d90], ecx
jl 0x44038b
jmp 0x440559
mov edx, dword [0x4a0d94]
mov eax, dword [0x4a0694]
mov dword [esp + 0x10], 0
test edx, edx
mov dword [0x4a0d90], eax
jle 0x4404c9
mov edx, dword [eax + 4]
mov esi, dword [eax + 0x10]
lea ebx, [eax + 0x10]
sub edx, esi
cmp edx, 0x400
mov ebp, eax
jle 0x440439
mov edx, 0x400
jmp 0x440446
cmp edx, 0xfffffc00
jge 0x440446
mov edx, 0xfffffc00
mov esi, dword [eax + 8]
mov ecx, dword [eax + 0x14]
lea edi, [eax + 0x14]
sub esi, ecx
cmp esi, 0x400
jle 0x440460
mov esi, 0x400
jmp 0x44046d
cmp esi, 0xfffffc00
jge 0x44046d
mov esi, 0xfffffc00
lea ecx, [eax + 0x18]
mov eax, dword [eax + 0x18]
lea edx, [edx + eax*2]
add eax, edx
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [ecx], eax
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ecx]
lea edx, [esi + eax*2]
add eax, edx
cdq
and edx, 3
add eax, edx
mov edx, dword [ebx]
sar eax, 2
mov dword [ebp + 0x1c], eax
mov ebp, dword [edi]
add edx, ecx
mov ecx, dword [esp + 0x10]
add ebp, eax
mov dword [ebx], edx
mov dword [edi], ebp
mov eax, dword [0x4a0d90]
mov edx, dword [0x4a0d94]
add eax, 0x20
inc ecx
mov dword [0x4a0d90], eax
cmp ecx, edx
mov dword [esp + 0x10], ecx
jl 0x44041d
mov eax, dword [esp + 0x14]
dec eax
test eax, eax
mov dword [esp + 0x14], eax
jg 0x440403
mov ecx, dword [0x4a0694]
xor esi, esi
test edx, edx
mov dword [0x4a0d90], ecx
jle 0x440559
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x44051b
push eax
mov eax, dword [ecx + 0x14]
cdq
and edx, 0x3f
add eax, edx
sar eax, 6
push eax
mov eax, dword [ecx + 0x10]
cdq
and edx, 0x3f
add eax, edx
mov edx, dword [ecx]
sar eax, 6
push eax
push edx
call fcn.00457012
add esp, 0x10
jmp 0x440540
mov eax, dword [ecx + 0x14]
cdq
and edx, 0x3f
add eax, edx
sar eax, 6
push eax
mov eax, dword [ecx + 0x10]
cdq
and edx, 0x3f
add eax, edx
sar eax, 6
push eax
mov eax, dword [ecx]
push eax
call fcn.00455a02
add esp, 0xc
mov ecx, dword [0x4a0d90]
mov eax, dword [0x4a0d94]
add ecx, 0x20
inc esi
cmp esi, eax
mov dword [0x4a0d90], ecx
jl 0x4404ec
pop edi
pop esi
pop ebp
mov dword [0x57e754], 0x455a02
mov dword [0x56fae0], 0x457012
mov dword [0x4a0d94], 0
pop ebx
add esp, 0x10
ret
call fcn.0045c8d0
sub eax, dword [0x4a0da4]
cmp eax, 0x400
mov dword [esp + 0x14], eax
jle 0x43f883
mov eax, dword [0x4a0d94]
mov ecx, dword [0x4a0694]
cmp eax, esi
mov dword [0x4a0d90], ecx
jle 0x440559
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x4405dd
push eax
mov eax, dword [ecx + 8]
cdq
and edx, 0x3f
add eax, edx
sar eax, 6
push eax
mov eax, dword [ecx + 4]
cdq
and edx, 0x3f
add eax, edx
sar eax, 6
push eax
mov eax, dword [ecx]
push eax
call fcn.00457012
add esp, 0x10
jmp 0x440602
mov eax, dword [ecx + 8]
cdq
and edx, 0x3f
add eax, edx
sar eax, 6
push eax
mov eax, dword [ecx + 4]
cdq
mov ecx, dword [ecx]
and edx, 0x3f
add eax, edx
sar eax, 6
push eax
push ecx
call fcn.00455a02
add esp, 0xc
mov ecx, dword [0x4a0d90]
mov eax, dword [0x4a0d94]
add ecx, 0x20
inc esi
cmp esi, eax
mov dword [0x4a0d90], ecx
jl 0x4405ae
jmp 0x440559