Function at 0x4a4c92
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x34
mov ebx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x48]
cmp byte [ebp + 0xa91], 0
jne 0x4a45ed
mov eax, dword [ebx + 0x14]
cmp eax, dword [ebx + 0x1c]
jne 0x4a4473
cmp dword [ebx + 0x50], 0
jne 0x4a45e6
jmp 0x4a4f16
push 1
push ebx
call dword [ebx + 0x2c]
add esp, 8
mov dword [ebx + 0x18], 0
lea eax, [ebp + 0x6aa0]
mov ecx, dword [ebp + 0x20]
mov dword [ebp + ecx*4 + 0x28], 0
mov edx, dword [ebp + 0x20]
mov dword [ebp + edx*4 + 0xfc], eax
lea eax, [edx + 1]
mov dword [ebp + 0x20], eax
mov eax, dword [ebx]
movzx eax, byte [eax]
mov ecx, eax
shr ecx, 7
lea esi, [ebp + 0xaa2]
mov dword [ebp + edx*4 + 0x2c], ecx
mov edx, dword [ebp + 0x20]
mov dword [ebp + edx*4 + 0xfc], esi
lea esi, [edx + 1]
mov dword [ebp + 0x20], esi
mov esi, eax
shr esi, 6
and esi, 1
lea edi, [ecx*2 + 0xaa4]
add edi, ebp
mov dword [ebp + edx*4 + 0x2c], esi
mov edx, dword [ebp + 0x20]
mov dword [ebp + edx*4 + 0xfc], edi
lea edi, [edx + 1]
mov dword [ebp + 0x20], edi
lea ecx, [esi + ecx*2]
add ecx, 4
mov esi, eax
shr esi, 5
and esi, 1
lea edi, [ecx*2 + 0xaa0]
add edi, ebp
mov dword [ebp + edx*4 + 0x2c], esi
mov edx, dword [ebp + 0x20]
mov dword [ebp + edx*4 + 0xfc], edi
lea edi, [edx + 1]
mov dword [ebp + 0x20], edi
lea ecx, [esi + ecx*2]
mov esi, eax
shr esi, 4
and esi, 1
lea edi, [ecx*2 + 0xaa0]
add edi, ebp
mov dword [ebp + edx*4 + 0x2c], esi
mov edx, dword [ebp + 0x20]
mov dword [ebp + edx*4 + 0xfc], edi
lea edi, [edx + 1]
mov dword [ebp + 0x20], edi
lea ecx, [esi + ecx*2]
mov esi, eax
shr esi, 3
and esi, 1
lea edi, [ecx*2 + 0xaa0]
add edi, ebp
mov dword [ebp + edx*4 + 0x2c], esi
mov edx, dword [ebp + 0x20]
mov dword [ebp + edx*4 + 0xfc], edi
lea edi, [edx + 1]
mov dword [ebp + 0x20], edi
lea ecx, [esi + ecx*2]
mov esi, eax
shr esi, 2
and esi, 1
lea edi, [ecx*2 + 0xaa0]
add edi, ebp
mov dword [ebp + edx*4 + 0x2c], esi
mov edx, dword [ebp + 0x20]
mov dword [ebp + edx*4 + 0xfc], edi
lea edi, [edx + 1]
mov dword [ebp + 0x20], edi
lea ecx, [esi + ecx*2]
mov esi, eax
shr esi, 1
and esi, 1
lea edi, [ecx*2 + 0xaa0]
add edi, ebp
mov dword [ebp + edx*4 + 0x2c], esi
mov edx, dword [ebp + 0x20]
mov dword [ebp + edx*4 + 0xfc], edi
lea edi, [edx + 1]
mov dword [ebp + 0x20], edi
lea ecx, [esi + ecx*2]
and eax, 1
lea ecx, [ecx*2 + 0xaa0]
add ecx, ebp
mov dword [ebp + edx*4 + 0x2c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp + eax*4 + 0xfc], ecx
inc eax
mov dword [ebp + 0x20], eax
add dword [ebp + 0x1d0], 1
adc dword [ebp + 0x1d4], 0
mov byte [ebp + 0xa91], 1
mov edi, dword [esp + 0x58]
mov esi, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
mov ecx, ebp
push edi
push esi
call fcn.004a4f20
add esp, 8
mov ecx, eax
xor eax, eax
test cl, cl
jne 0x4a4f18
mov eax, 1
cmp byte [ebp + 0xa92], 0
jne 0x4a4f18
lea eax, [ebp + 0xb94c]
mov dword [esp + 0x2c], eax
jmp 0x4a4685
mov edx, dword [esp + 0x10]
sub edx, dword [esp + 4]
mov eax, dword [esp + 0x14]
sbb eax, esi
cmp ecx, edx
sbb ebx, eax
jae 0x4a4e01
mov ebp, dword [esp + 0x48]
mov eax, dword [esp + 0xc]
add dword [ebp + 0x1d0], eax
adc dword [ebp + 0x1d4], 0
mov ecx, ebp
mov edx, dword [esp + 0x50]
mov edi, dword [esp + 0x58]
push edi
mov esi, dword [esp + 0x58]
push esi
call fcn.004a4f20
add esp, 8
mov ecx, eax
xor eax, eax
test cl, cl
mov ebx, dword [esp + 0x4c]
jne 0x4a4f18
mov eax, dword [ebx + 0x14]
cmp dword [esp + 0x5c], 0xffffffff
je 0x4a46cb
mov ecx, eax
sub ecx, dword [ebx + 0x18]
cmp ecx, dword [esp + 0x5c]
jae 0x4a4e14
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
add ecx, dword [esi]
adc edx, 0
add ecx, 4
adc edx, 0
mov esi, edi
mov edi, 0xeffe
cmp edi, ecx
mov edi, esi
mov esi, dword [esp + 0x54]
mov ecx, 0
sbb ecx, edx
jb 0x4a4e14
cmp eax, dword [ebx + 0x1c]
jb 0x4a46e4
cmp dword [ebx + 0x50], 0
je 0x4a4f16
cmp dword [ebx + 0x18], 0
je 0x4a4e14
cmp byte [ebp + 0xa90], 0
je 0x4a4710
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x28]
push eax
push ebx
push ebp
call fcn.00613f50
add esp, 0x10
jmp 0x4a472a
push dword [ebp + 0x1d0]
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x2c]
push eax
push ebx
push ebp
call fcn.006146f0
add esp, 0x14
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov dword [esp + 0xc], eax
mov ecx, dword [ebp + 0x20]
mov ebx, dword [ebp + 0x1d0]
mov eax, dword [ebp + 0xa94]
and eax, ebx
mov edx, dword [ebp + 0x1e4]
shl edx, 5
add edx, ebp
lea edx, [edx + eax*2]
add edx, 0x6aa0
cmp edi, 0xffffffff
je 0x4a4820
mov dword [ebp + ecx*4 + 0x28], 1
mov ecx, dword [ebp + 0x20]
mov dword [ebp + ecx*4 + 0xfc], edx
lea edx, [ecx + 1]
mov dword [ebp + 0x20], edx
mov edx, dword [ebp + 0x1e4]
lea ebx, [edx*2 + 0x6c20]
add ebx, ebp
cmp edi, 3
ja 0x4a49a0
mov dword [ebp + ecx*4 + 0x2c], 1
mov edx, dword [ebp + 0x20]
mov dword [ebp + edx*4 + 0xfc], ebx
lea ecx, [edx + 1]
mov dword [ebp + 0x20], ecx
test edi, edi
je 0x4a4a65
mov ecx, dword [ebp + edi*4 + 0x1e8]
mov esi, dword [ebp + 0x1e4]
lea esi, [esi*2 + 0x6c38]
add esi, ebp
mov dword [ebp + edx*4 + 0x2c], 1
mov edx, dword [ebp + 0x20]
mov dword [ebp + edx*4 + 0xfc], esi
lea esi, [edx + 1]
mov dword [ebp + 0x20], esi
mov esi, dword [ebp + 0x1e4]
lea ebx, [esi*2 + 0x6c50]
add ebx, ebp
cmp edi, 1
jne 0x4a4ad7
mov dword [ebp + edx*4 + 0x2c], 0
mov edx, dword [ebp + 0x20]
mov dword [ebp + edx*4 + 0xfc], ebx
inc edx
mov dword [ebp + 0x20], edx
jmp 0x4a4b2e
mov dword [ebp + ecx*4 + 0x28], 0
mov eax, dword [ebp + 0x20]
mov dword [ebp + eax*4 + 0xfc], edx
mov dword [esp + 0x1c], eax
lea edx, [eax + 1]
mov esi, dword [esp + 0x4c]
mov edi, dword [esi + 0x14]
sub edi, dword [esi + 0x18]
mov dword [ebp + 0x20], edx
and ebx, dword [ebp + 0xa9c]
mov ah, byte [ebp + 0xa98]
mov cl, ah
shl ebx, cl
mov ecx, dword [esi]
mov dword [esp + 8], ecx
mov al, 8
sub al, ah
movzx esi, byte [ecx + edi - 1]
mov ecx, eax
shr esi, cl
add esi, ebx
mov ebx, dword [esp + 8]
movzx eax, byte [ebx + edi]
lea ecx, [esi + esi*2]
shl ecx, 9
add ecx, ebp
add ecx, 0xaa0
cmp dword [ebp + 0x1e4], 6
ja 0x4a49d4
mov edx, eax
shr edx, 7
lea esi, [ecx + 2]
mov edi, dword [esp + 0x1c]
mov dword [ebp + edi*4 + 0x2c], edx
mov edi, dword [ebp + 0x20]
mov dword [ebp + edi*4 + 0xfc], esi
lea esi, [edi + 1]
mov dword [ebp + 0x20], esi
mov esi, eax
shr esi, 6
and esi, 1
lea ebx, [ecx + edx*2]
add ebx, 4
mov dword [ebp + edi*4 + 0x2c], esi
mov edi, dword [ebp + 0x20]
mov dword [ebp + edi*4 + 0xfc], ebx
lea ebx, [edi + 1]
mov dword [ebp + 0x20], ebx
lea edx, [esi + edx*2]
add edx, 4
mov esi, eax
shr esi, 5
and esi, 1
lea ebx, [ecx + edx*2]
mov dword [ebp + edi*4 + 0x2c], esi
mov edi, dword [ebp + 0x20]
mov dword [ebp + edi*4 + 0xfc], ebx
lea ebx, [edi + 1]
mov dword [ebp + 0x20], ebx
lea edx, [esi + edx*2]
mov esi, eax
shr esi, 4
and esi, 1
lea ebx, [ecx + edx*2]
mov dword [ebp + edi*4 + 0x2c], esi
mov edi, dword [ebp + 0x20]
mov dword [ebp + edi*4 + 0xfc], ebx
lea ebx, [edi + 1]
mov dword [ebp + 0x20], ebx
lea edx, [esi + edx*2]
mov esi, eax
shr esi, 3
and esi, 1
lea ebx, [ecx + edx*2]
mov dword [ebp + edi*4 + 0x2c], esi
mov edi, dword [ebp + 0x20]
mov dword [ebp + edi*4 + 0xfc], ebx
lea ebx, [edi + 1]
mov dword [ebp + 0x20], ebx
lea edx, [esi + edx*2]
mov esi, eax
shr esi, 2
and esi, 1
lea ebx, [ecx + edx*2]
mov dword [ebp + edi*4 + 0x2c], esi
mov edi, dword [ebp + 0x20]
mov dword [ebp + edi*4 + 0xfc], ebx
lea ebx, [edi + 1]
mov dword [ebp + 0x20], ebx
lea edx, [esi + edx*2]
mov esi, eax
shr esi, 1
and esi, 1
lea ebx, [ecx + edx*2]
mov dword [ebp + edi*4 + 0x2c], esi
mov edi, dword [ebp + 0x20]
mov dword [ebp + edi*4 + 0xfc], ebx
lea ebx, [edi + 1]
mov dword [ebp + 0x20], ebx
lea edx, [esi + edx*2]
and eax, 1
lea ecx, [ecx + edx*2]
mov dword [ebp + edi*4 + 0x2c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp + eax*4 + 0xfc], ecx
inc eax
mov dword [ebp + 0x20], eax
jmp 0x4a4a3b
mov dword [ebp + ecx*4 + 0x2c], 0
mov ecx, dword [ebp + 0x20]
mov dword [ebp + ecx*4 + 0xfc], ebx
inc ecx
mov dword [ebp + 0x20], ecx
add edi, 0xfffffffc
mov ecx, ebp
mov edx, eax
mov ebx, dword [esp + 0xc]
push ebx
push edi
call fcn.004a61c0
add esp, 8
mov edi, dword [esp + 0x4c]
jmp 0x4a4b8b
mov esi, dword [ebp + 0x1e8]
not esi
add edi, esi
movzx edi, byte [ebx + edi]
or eax, 0x100
mov ebx, 0x100
mov dword [esp], ecx
nop
add edi, edi
mov esi, edi
and esi, ebx
mov ebp, eax
shr ebp, 8
add ebp, ebx
add ebp, esi
mov esi, eax
shr esi, 7
and esi, 1
lea ebp, [ecx + ebp*2]
mov ecx, dword [esp + 0x48]
mov dword [ecx + edx*4 + 0x28], esi
mov edx, dword [ecx + 0x20]
mov dword [ecx + edx*4 + 0xfc], ebp
mov ecx, dword [esp]
lea esi, [eax + eax]
mov ebp, esi
xor ebp, edi
not ebp
and ebx, ebp
mov ebp, dword [esp + 0x48]
inc edx
mov dword [ebp + 0x20], edx
cmp eax, 0x8000
mov eax, esi
jb 0x4a49f0
mov eax, dword [ebp + 0x1e4]
xor ecx, ecx
cmp eax, 4
mov edi, dword [esp + 0x4c]
mov ebx, dword [esp + 0xc]
jb 0x4a4b85
cmp eax, 9
ja 0x4a4b80
add eax, 0xfffffffd
jmp 0x4a4b83
mov ecx, dword [ebp + 0x1e4]
lea esi, [ecx*2 + 0x6c38]
add esi, ebp
mov dword [ebp + edx*4 + 0x2c], 0
mov ecx, dword [ebp + 0x20]
mov dword [ebp + ecx*4 + 0xfc], esi
lea edx, [ecx + 1]
mov dword [ebp + 0x20], edx
mov edx, dword [ebp + 0x1e4]
shl edx, 5
add edx, ebp
lea edx, [edx + eax*2]
add edx, 0x6c80
xor ebx, ebx
mov esi, dword [esp + 0xc]
cmp esi, 1
setne bl
mov dword [ebp + ecx*4 + 0x2c], ebx
mov ebx, esi
mov ecx, dword [ebp + 0x20]
mov dword [ebp + ecx*4 + 0xfc], edx
inc ecx
mov dword [ebp + 0x20], ecx
mov edi, dword [esp + 0x4c]
mov ecx, 9
cmp ebx, 1
jne 0x4a4b52
jmp 0x4a4b6f
mov dword [ebp + edx*4 + 0x2c], 1
mov edx, dword [ebp + 0x20]
mov dword [ebp + edx*4 + 0xfc], ebx
lea esi, [edx + 1]
mov dword [ebp + 0x20], esi
mov esi, dword [ebp + 0x1e4]
lea esi, [ebp + esi*2 + 0x6c68]
lea ebx, [edi - 2]
mov dword [ebp + edx*4 + 0x2c], ebx
mov edx, dword [ebp + 0x20]
mov dword [ebp + edx*4 + 0xfc], esi
inc edx
mov dword [ebp + 0x20], edx
cmp edi, 3
jne 0x4a4b22
mov edx, dword [ebp + 0x1f0]
mov dword [ebp + 0x1f4], edx
mov edx, dword [ebp + 0x1ec]
mov dword [ebp + 0x1f0], edx
mov edi, dword [esp + 0x4c]
mov ebx, dword [esp + 0xc]
mov edx, dword [ebp + 0x1e8]
mov dword [ebp + 0x1ec], edx
mov dword [ebp + 0x1e8], ecx
mov ecx, 9
cmp ebx, 1
je 0x4a4b6f
movzx esi, byte [ebp + 0xa90]
mov ecx, ebp
mov edx, dword [esp + 0x2c]
push esi
push ebx
push eax
call fcn.004a65a0
add esp, 0xc
mov ecx, 8
cmp dword [ebp + 0x1e4], 7
mov eax, 0xb
cmovae ecx, eax
jmp 0x4a4b85
add eax, 0xfffffffa
mov ecx, eax
mov dword [ebp + 0x1e4], ecx
sub dword [edi + 0x18], ebx
mov eax, dword [ebp + 0x1d8]
mov ecx, dword [ebp + 0x1dc]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
or eax, ecx
je 0x4a4648
mov ebp, dword [esp + 0x48]
mov edx, dword [ebp]
mov ebx, dword [ebp + 4]
mov eax, dword [ebp + 8]
mov dword [esp], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], eax
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x24]
jmp 0x4a4bdf
shr ecx, 1
add edx, ecx
adc ebx, 0
inc eax
cmp ecx, 0xffffff
ja 0x4a4c79
mov dword [esp + 0x30], eax
mov dword [esp + 0x1c], ecx
mov esi, edx
and esi, 0xff000000
mov edi, 0xff000000
xor esi, edi
or esi, ebx
jne 0x4a4c10
mov ecx, dword [esp]
mov esi, dword [esp + 8]
jmp 0x4a4c5c
mov dword [esp + 0x18], edx
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 4]
sub ecx, edx
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
sbb ebx, eax
mov ebp, dword [esp]
add ebp, 0xffffffff
mov esi, dword [esp + 8]
mov edi, esi
adc edi, 0xffffffff
cmp ebp, ecx
sbb edi, ebx
mov ecx, dword [esp]
jae 0x4a4e01
add edx, ecx
mov dword [esp + 4], edx
adc eax, esi
mov dword [esp + 0x20], eax
xor ecx, ecx
xor esi, esi
mov ebp, dword [esp + 0x48]
mov edx, dword [esp + 0x18]
add ecx, 1
mov dword [esp], ecx
adc esi, 0
mov dword [esp + 8], esi
shl edx, 8
xor ebx, ebx
mov ecx, dword [esp + 0x1c]
shl ecx, 8
mov eax, dword [esp + 0x30]
cmp eax, dword [ebp + 0x20]
je 0x4a4cd0
mov esi, dword [ebp + eax*4 + 0x28]
cmp esi, 3
ja case.default.0x4a4c8b
jmp dword [esi*4 + 0x6b8170]
mov esi, dword [ebp + eax*4 + 0xfc]
movzx esi, word [esi]
shr ecx, 0xb
imul ecx, esi
inc eax
jmp 0x4a4bdf
mov esi, dword [ebp + eax*4 + 0xfc]
movzx esi, word [esi]
mov edi, ecx
shr edi, 0xb
imul edi, esi
add edx, edi
adc ebx, 0
sub ecx, edi
inc eax
jmp 0x4a4bdf
shr ecx, 1
inc eax
jmp 0x4a4bdf
mov dword [esp + 0x18], edx
mov ecx, edx
and ecx, 0xff000000
mov edx, 0xff000000
xor ecx, edx
or ecx, ebx
jne 0x4a4cf8
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
mov esi, dword [esp]
mov edi, dword [esp + 8]
jmp 0x4a4d3f
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 4]
sub ecx, eax
mov dword [esp + 0x1c], ecx
mov edx, dword [esp + 0x14]
mov ebp, dword [esp + 0x20]
sbb edx, ebp
mov ebx, dword [esp]
mov esi, ebx
add esi, 0xffffffff
mov ecx, dword [esp + 8]
mov edi, ecx
adc edi, 0xffffffff
cmp esi, dword [esp + 0x1c]
sbb edi, edx
jae 0x4a4e01
add eax, ebx
mov dword [esp + 4], eax
adc ebp, ecx
xor esi, esi
xor edi, edi
mov eax, ebp
mov edx, dword [esp + 0x18]
mov ecx, esi
add ecx, 1
mov ebx, edi
adc ebx, 0
not edx
test edx, 0xff0000
jne 0x4a4d57
mov esi, eax
jmp 0x4a4d89
mov ebp, edi
mov dword [esp], esi
mov esi, dword [esp + 0x10]
sub esi, dword [esp + 4]
mov edi, dword [esp + 0x14]
sbb edi, eax
cmp dword [esp], esi
sbb ebp, edi
mov ebp, eax
mov eax, dword [esp + 4]
jae 0x4a4e01
add eax, ecx
mov dword [esp + 4], eax
adc ebp, ebx
mov esi, ebp
xor ecx, ecx
xor ebx, ebx
mov ebp, ecx
add ebp, 1
mov edi, ebx
adc edi, 0
test edx, 0xff00
je 0x4a4dc1
mov eax, dword [esp + 4]
mov edx, dword [esp + 0x10]
sub edx, eax
mov dword [esp], edx
mov edx, dword [esp + 0x14]
sbb edx, esi
cmp ecx, dword [esp]
sbb ebx, edx
jae 0x4a4e01
add eax, ebp
mov dword [esp + 4], eax
adc esi, edi
xor ebp, ebp
xor edi, edi
mov ecx, ebp
add ecx, 1
mov ebx, edi
adc ebx, 0
cmp byte [esp + 0x18], 0xff
je 0x4a4630
mov eax, dword [esp + 4]
mov edx, dword [esp + 0x10]
sub edx, eax
mov dword [esp], edx
mov edx, dword [esp + 0x14]
sbb edx, esi
cmp ebp, dword [esp]
sbb edi, edx
jae 0x4a4e01
add eax, ecx
mov dword [esp + 4], eax
adc esi, ebx
xor ecx, ecx
xor ebx, ebx
jmp 0x4a4630
mov ebp, dword [esp + 0x48]
mov dword [ebp + 0x20], 0
mov esi, dword [esp + 0x54]
mov edi, dword [esp + 0x58]
mov eax, dword [ebp + 0x1e0]
test eax, eax
je 0x4a4e2a
movsd xmm0, qword [ebp + 0x1d0]
movsd qword [eax], xmm0
cmp byte [ebp + 0xa93], 0
mov eax, dword [ebp + 0x20]
je 0x4a4ea2
mov edx, dword [ebp + 0xa94]
and edx, dword [ebp + 0x1d0]
mov ecx, dword [ebp + 0x1e4]
shl ecx, 5
add ecx, ebp
lea ecx, [ecx + edx*2]
add ecx, 0x6aa0
mov dword [ebp + eax*4 + 0x28], 1
mov eax, dword [ebp + 0x20]
mov dword [ebp + eax*4 + 0xfc], ecx
lea ecx, [eax + 1]
mov dword [ebp + 0x20], ecx
mov ecx, dword [ebp + 0x1e4]
lea ecx, [ebp + ecx*2 + 0x6c20]
mov dword [ebp + eax*4 + 0x2c], 0
mov eax, dword [ebp + 0x20]
mov dword [ebp + eax*4 + 0xfc], ecx
inc eax
mov dword [ebp + 0x20], eax
mov ecx, ebp
push 2
push 0xffffffffffffffff
call fcn.004a61c0
add esp, 8
mov eax, dword [ebp + 0x20]
lea ecx, [eax + 1]
mov dword [ebp + 0x20], ecx
mov dword [ebp + eax*4 + 0x28], 4
mov eax, dword [ebp + 0x20]
lea ecx, [eax + 1]
mov dword [ebp + 0x20], ecx
mov dword [ebp + eax*4 + 0x28], 4
mov eax, dword [ebp + 0x20]
lea ecx, [eax + 1]
mov dword [ebp + 0x20], ecx
mov dword [ebp + eax*4 + 0x28], 4
mov eax, dword [ebp + 0x20]
lea ecx, [eax + 1]
mov dword [ebp + 0x20], ecx
mov dword [ebp + eax*4 + 0x28], 4
mov eax, dword [ebp + 0x20]
lea ecx, [eax + 1]
mov dword [ebp + 0x20], ecx
mov dword [ebp + eax*4 + 0x28], 4
mov ecx, ebp
mov edx, dword [esp + 0x50]
push edi
push esi
call fcn.004a4f20
add esp, 8
mov ecx, eax
mov eax, 1
test cl, cl
je 0x4a4f18
mov byte [ebp + 0xa92], 1
xor eax, eax
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret